* Add warning about not found VS installation instance and suggestion to re-scan kits, at the request of developers in the community.
* Fix linter errors
---------
Co-authored-by: snehara99 <113148726+snehara99@users.noreply.github.com>
* File system APIs don't recognize ~ in paths and because of this the extension cannot properly interpret cmake file-api jsons to list targets.
* Fix path typo
---------
Co-authored-by: snehara99 <113148726+snehara99@users.noreply.github.com>
* Don't fully configure after variant change for multi-config generators. Only change parameter for build and refresh IntelliSense.
* Added missing return on 'if else'
* Removed unnecessary log. No previous configure message was printed before it.'
* Remove unnecessary logging about string expansion
* Fix typo in var name
---------
Co-authored-by: snehara99 <113148726+snehara99@users.noreply.github.com>
* save progress
* add glob for cmakelists.txt
* keep some changes from 3703
* add changelog and some minor fixes
* put glob in right location
* leave globbing for cmakelists for other PR
* update based on learnings
* fix indentation of comments
* add back glob method
* fix formatting
* rm
This improves the CMake QuickStart experience by allowing the user to dynamically create a CMakePresets.json file.
---------
Co-authored-by: Garrett Campbell <gcampbell@microsoft.com>
* Add support for variable expansion in `debugConfig.environment`
* update CHANGELOG.md
---------
Co-authored-by: Jie Liu <liujie01@kylinos.cn>
Co-authored-by: Garrett Campbell <86264750+gcampbell-msft@users.noreply.github.com>
This extension doesn't build with node 14 anymore:
"""
error @vscode/test-electron@2.3.8: The engine "node" is
incompatible with this module. Expected version ">=16". Got "14.21.3"
"""
* Add onSelectedKitChanged api
* needs package.json changes once api is shipped
* update the package.json
* Fix `notifyOnSelectedConfigurationChanged()` order
When `notifyOnSelectedConfigurationChanged()` is executed before
`setFolderActiveKit()`, `cmake.buildKit` returns the previous selected
kit. That's why `notifyOnSelectedConfigurationChanged()` should run
after `setFolderActiveKit()`.
---------
Co-authored-by: Garrett Campbell <gcampbell@microsoft.com>
Co-authored-by: Garrett Campbell <86264750+gcampbell-msft@users.noreply.github.com>
* add syntax files, add languages, grammars, to package.json
copy over stuff to play with later
got the grammars working with the other stuff commented out
cleaned up, not tested
remove stuff
I don't think we really need to have a unique ID, we should tell people to only install our extension
remove unnecessary method
update our syntaxes from what we do in VS
test pipeline
update cgmanifest
temporarly force cg
test different version
use .3 version
update notice, it includes textmate reference
manually add kitware/cmake reference to NOTICE
fix trigger
fix pipeline name
get repo
make sure we checkout the repos
powershell
inline
reference variables correctly
testing for differences, CHANGE LATER
updating textmate
see if we're getting the right git diff
test with explicit path
update dates
write output
try to properly access variables
use embeddedbot
put emails and username in variables
switch when I update config
orgurl
add logging
update auth
update docs
testing out PR tool
remove 'description' option
add console.log statements for testing
map system token
run index.ts for both grammars and quickinfo, put paths into variables, condition based on parameters
fix trigger
access variables correctly
access variables correctly
only run job if one of the share steps is enabled
fix job name
test without prefix
remove difference
remove snippets keyword until we actually add this
remove stray miscopy
remove powershell
* small update
* ignore tools directory when packaging
* don't build the tools directory when building and testing the extension
* exclude tools for webpack?
* revert webpack
* try webpack fix again
* try another fix
* revert
* we need to remote the NOTICE for testing earlier so yarn doesn't fail
* rename notices.txt to get around yarn issue
* update changelog
* Fix formatting
* Do not pass testName as an argument to runCTestImpl
testName is passed only to complete the ctestArgs which is also in argument.
Modifying the ctestArgs in the caller will allow concatenation of different testNames in the caller to launch ctest on a collection of tests.
* First naive implementation of ctest parallel launch in the TestExplorer
* Avoid a loop to build the sets
* Fix missing return assignation to concat call
* Fix regex error.
Letting a '|' at the end of the regex implies selecting all tests
* The process number to pass to ctest is taken from the configuration
* Do not launch ctest in parallel if it is not allowed by the config
* Fix formatting
* Uniformizes code of testResults analysis between sequential and parallel launches
* Factorizes code in testResultAnalysis method
* Moves the job cancellation management in the loop dealing with test start/stop
* Adds comments
* Adds entry in the CHANGELOG
* FIx eslint errors
* Fix formatting
* Do not pass testName as an argument to runCTestImpl
testName is passed only to complete the ctestArgs which is also in argument.
Modifying the ctestArgs in the caller will allow concatenation of different testNames in the caller to launch ctest on a collection of tests.
* First naive implementation of ctest parallel launch in the TestExplorer
* Avoid a loop to build the sets
* Fix missing return assignation to concat call
* Fix regex error.
Letting a '|' at the end of the regex implies selecting all tests
* The process number to pass to ctest is taken from the configuration
* Do not launch ctest in parallel if it is not allowed by the config
* Fix formatting
* Uniformizes code of testResults analysis between sequential and parallel launches
* Factorizes code in testResultAnalysis method
* Moves the job cancellation management in the loop dealing with test start/stop
* Adds comments
* Adds entry in the CHANGELOG
* FIx eslint errors
* some slight improvements, remove allowParallelJobs
* fix build errors
* try to not use -R and instead rely on cmake running all of the tests
* keep allowParalleljobs and clean up testing
* remove incorrect comment
* fix formatting for typeof
* conditionally add -j
* keep tests
---------
Co-authored-by: Guillaume Peillex <guillaume.peillex@cea.fr>
Co-authored-by: Garrett Campbell <gcampbell@microsoft.com>
Co-authored-by: Garrett Campbell <86264750+gcampbell-msft@users.noreply.github.com>
* move code, switch to flat targets list, lots still TODO
* more efficient update
* update to match VS more, still need to do references
* fix getTreeItem for ReferenceNode
* fix id
* loc
* fix collapse/expand, and no backtrace
* avoid adding isGeneratorProvided targets
* update changelog
* remove unused