aboutsummaryrefslogtreecommitdiffstats
path: root/QtVsTools.Core/VisualStudio
Commit message (Collapse)AuthorAgeFilesLines
* Correct style errors in CoreAli Can Demiralp2025-07-142-2/+2
| | | | | Change-Id: I17570e5eab6c0902691c521af408e30aa7dd1a7f Reviewed-by: Karsten Heimrich <[email protected]>
* Remove unused includes and correct include order in CoreAli Can Demiralp2025-06-242-3/+2
| | | | | Change-Id: If8d6f6d39679474756e9ec31feae3e19bbbaac19 Reviewed-by: Karsten Heimrich <[email protected]>
* Do not freeze the status barAli Can Demiralp2025-06-241-2/+4
| | | | | | Fixes: QTVSADDINBUG-1319 Change-Id: I63760dc1793824ec22ffb8d9948c7bef87567130 Reviewed-by: Karsten Heimrich <[email protected]>
* Introduce means to react to project configuration changesKarsten Heimrich2025-04-101-0/+64
| | | | | | | | | | | | - Introduce class ProjectConfigurationEventArgs to be sent as an argument for the ProjectConfigurationChanged event. - Introduce class UpdateSolutionEvents to monitor MSBuild project configuration changes. - Introduce CMakeProject.BuildConfiguration to host the implementation responsible for fetching the active CMake build configuration. Change-Id: Ie11aaebcd4418fddb72643f21c0caa1d89e4889a Reviewed-by: Joerg Bornemann <[email protected]>
* Untangle IVsDebuggerEvents and properly unadvise events on disposalKarsten Heimrich2025-04-101-0/+37
| | | | | Change-Id: I9d3c36df8f510ca119eacb0ccc4ce1d6dddcd220 Reviewed-by: Joerg Bornemann <[email protected]>
* Update copyright comments to 2025Ali Demiralp2025-03-187-28/+14
| | | | | Change-Id: I9ab1f8919a3d28cb546cd71bfdc8da1f6ae9e123 Reviewed-by: Karsten Heimrich <[email protected]>
* Fix compile errors and broken auto-testsKarsten Heimrich2025-02-201-6/+7
| | | | | | | | | | | Instead of trying to resolve the assembly ourselves, let the build process generate the binding redirects. This should address the sporadic 'System.Memory' issue we've encountered before, which now affects every test depending on this DLL. Change-Id: I215887abfe5132faf788ffae09a371c3346c27d2 Reviewed-by: Karsten Heimrich <[email protected]> Reviewed-by: Christian Stenger <[email protected]>
* Fix release buildKarsten Heimrich2025-02-171-2/+4
| | | | | Change-Id: I82ef87817f9bd5a18b977be2ddf8f68987752bcf Reviewed-by: Karsten Heimrich <[email protected]>
* Refactor StatusBar to support asynchronous operationsKarsten Heimrich2025-02-141-20/+46
| | | | | Change-Id: I4d7b5f726e06097706ecf393d388049569ce969f Reviewed-by: Joerg Bornemann <[email protected]>
* Introduce idle task manager to run task while VS on idleKarsten Heimrich2025-02-141-0/+270
| | | | | | | | | Implements some test and simulate VS idle events and task processing. Uses Microsoft.VisualStudio.Sdk.TestFramework and Moq to mock VS services not available in mstest framework. Change-Id: Iad1bb73af6a913cc0d71d3fd87e3efc78f760518 Reviewed-by: Joerg Bornemann <[email protected]>
* Fix VSSDK007: Avoid ThreadHelper for fire and forget tasksKarsten Heimrich2024-12-101-1/+1
| | | | | Change-Id: I5d1da01227663d30d9059aed2d9910a3ff0d614f Reviewed-by: Miguel Costa <[email protected]>
* Use VS embedded info bar to show the detach option of editorsAli Can Demiralp2024-03-211-3/+13
| | | | | | Fixes: QTVSADDINBUG-959 Change-Id: I933819e192c60bf52d304ee418bd7f953f0e8883 Reviewed-by: Karsten Heimrich <[email protected]>
* Change source license to LicenseRef-Qt-Commercial or GPL-3.0-onlyAli Can Demiralp2024-02-286-6/+6
| | | | | | | | ... WITH Qt-GPL-exception. Fixes: QTVSADDINBUG-1179 Change-Id: I74fe451eec352af13436548cfd9a28f832fc0757 Reviewed-by: Karsten Heimrich <[email protected]>
* Update license year from 2023 to 2024Ali Can Demiralp2024-01-096-6/+6
| | | | | Change-Id: I38700243f7ef55239b247945324e4e0a978b097f Reviewed-by: Miguel Costa <[email protected]>
* Add access to VS editor servicesMiguel Costa2023-08-161-0/+45
| | | | | | | | | The VsEditor class allows opening any files inside VS using registered editors, including the possibility to compare two versions of the same file using the built-in 'diff' editor. Change-Id: Icfd5a2b26286de6e8c023bb47cbcd05aef3ebc7d Reviewed-by: Karsten Heimrich <[email protected]>
* Return VCProject instead of EnvDTE.Project for selected projectsKarsten Heimrich2023-06-291-3/+4
| | | | | | | | | This change allows us to get rid of the QtProject.GetOrAdd(Project) overload taking EnvDTE.Project, prepares for a unified implementation of QtProject-QtProjectTracker Change-Id: If643f37b1d6fc97bfdd854619319f1438d00a10d Reviewed-by: Miguel Costa <[email protected]>
* Remove unused interface IProjectTracker and related codeKarsten Heimrich2023-06-201-12/+0
| | | | | Change-Id: I2bc218d5bbdda949f220c77940e0e22e59c817b2 Reviewed-by: Miguel Costa <[email protected]>
* Add generic user notificationMiguel Costa2023-05-101-3/+3
| | | | | | | | Added the NotifyMessage class, based on the InfoBarMessage class, which can be used to display generic messages on the VS info bar. Change-Id: Ib848acc9de95c069a5be761562d50f28c6354445 Reviewed-by: Karsten Heimrich <[email protected]>
* Finalize package init in background taskMiguel Costa2023-05-101-0/+8
| | | | | | | | | | | | | In order to streamline the VSIX package initialization, some processing was moved to a background task. This was already the case with the loading of Qt versions information. The following has now also been moved to the background initialization task: * Printing the banner with the Qt VS Tools version and init times. * HTTP request to check availability of a new development version. * Initialization of DTE event handlers. Change-Id: I7d80cbc3cdfac74d79b4cc32a4aac7100fb4a2b7 Reviewed-by: Karsten Heimrich <[email protected]>
* Access the VS status barMiguel Costa2023-05-101-0/+85
| | | | | | | | Added the StatusBar class that provides access to the VS status bar, to display status messages and show progress of background tasks. Change-Id: Ie6a54a0bb8ada4d0ce7329df09abfe95e5007529 Reviewed-by: Karsten Heimrich <[email protected]>
* Remove redundant codeKarsten Heimrich2023-04-203-7/+7
| | | | | Change-Id: I94cc72280815ed31809747b93032dd8768fd75ca Reviewed-by: Miguel Costa <[email protected]>
* Remove redundant type specificationKarsten Heimrich2023-04-202-4/+3
| | | | | Change-Id: I2fd01ab44923e301f4a9ae87445e8aaa9485cc83 Reviewed-by: Miguel Costa <[email protected]>
* Convert lambda into method groupKarsten Heimrich2023-04-201-2/+1
| | | | | Change-Id: I6152612eedacaf37699fdba33d3543f6d81e22ad Reviewed-by: Miguel Costa <[email protected]>
* Make changes to notification messagesMiguel Costa2023-03-281-1/+1
| | | | | | | | * Overriding 'Hyperlinks' is now optional * Replace "\u2014" with 'Utils.EmDash' constant Change-Id: Icd0f091d6115deec6027a6c95a7a9eacc7ad62fe Reviewed-by: Karsten Heimrich <[email protected]>
* Access IVsFolderWorkspaceServiceKarsten Heimrich2023-03-272-0/+26
| | | | | Change-Id: I63e3becb950d918b2ad231d1fd95709ba960d59b Reviewed-by: Karsten Heimrich <[email protected]>
* Replace license headerMiguel Costa2023-02-235-135/+20
| | | | | Change-Id: I6e7667d0f6f1245b5b225e74120d289bf595423d Reviewed-by: Karsten Heimrich <[email protected]>
* Modernization: Replace casts with pattern variableKarsten Heimrich2022-10-041-6/+5
| | | | | | | | * Use pattern matching if applicable. * Some replacements are done using a switch statement. Change-Id: Iefffdb3815c34ae9d3ddd6d2c7735a43e6c15f2b Reviewed-by: Miguel Costa <[email protected]>
* Show notification when a project with old format is loadedKarsten Heimrich2022-09-051-2/+2
| | | | | | | | | * Fix OnClicked crash VS if no action is set. * Extend GetFormatVersion() to return also the lowest possible version. Change-Id: I0e8336bcc43ceeb8f67367a590c1b67241a07047 Reviewed-by: Miguel Costa <[email protected]>
* Refactor InfoBar moduleMiguel Costa2022-08-112-0/+273
| | | | | | | | * Moved VsShell and InforBar code to the Core assembly * Abstract class InfoBarMessage is now extendable through inheritance Change-Id: I0b226516ee0b02886c576ae37cf0b7aa2962c6a6 Reviewed-by: Karsten Heimrich <[email protected]>
* Rework help link chooser and translation page searchKarsten Heimrich2022-04-051-0/+146
| | | | | | | | | * Introduce new classes to use VS provided search facility and update implementations using these new classes. * Minor using statement cleanup Change-Id: Idc299665c3712cd0b7a1b1b7e5e1bc270831b9df Reviewed-by: Miguel Costa <[email protected]>
* Inline variable declarationKarsten Heimrich2022-02-101-4/+2
| | | | | Change-Id: I19a55a53173da4e6e5aeea5f40790b1dea6346ec Reviewed-by: Miguel Costa <[email protected]>
* Mark members readonlyKarsten Heimrich2022-02-091-1/+1
| | | | | Change-Id: I63f4a890400a37319eec064ec0fbd7bf6d6fb4e4 Reviewed-by: Miguel Costa <[email protected]>
* Fix using directive is not requiredKarsten Heimrich2022-01-281-1/+0
| | | | | Change-Id: I8c0766b66b49206339d048f28d02caf9c10f7fb0 Reviewed-by: Miguel Costa <[email protected]>
* Remove some more traces of VS2013 and VS2015Karsten Heimrich2021-11-171-4/+0
| | | | | Change-Id: I81f1bd3df48c8696d04f1619df6b8cf0067ecd24 Reviewed-by: Miguel Costa <[email protected]>
* refactoring: Reorganize project filesMiguel Costa2021-11-162-0/+134
- Moved project files from the 'src' folder into the root 'vstools'. - Renamed some projects: * QtVsTools -> QtVsTools.Package * qtwizard -> QtVsTools.Wizards * Project template projects -> QtTemplate.Project.* * Item template projects -> QtTemplate.Item.* - Moved QtVsTools.Package source files to a sub-folder named 'Package'. NOTE: this change breaks the build; it should only be applied together with subsequent refactoring changes. Change-Id: Ib7b70c350d8e9f068a023b0250d6b490b17d1687 Reviewed-by: Karsten Heimrich <[email protected]>