Граф коммитов

3253 Коммитов

Автор SHA1 Сообщение Дата
CSIGS@microsoft.com 985de9772b
Localization - Translated Strings (#3753)
Co-authored-by: Garrett Campbell <86264750+gcampbell-msft@users.noreply.github.com>
2024-06-03 11:38:34 -04:00
Andreea Isac 531c8d3bf0
Fixed string parameters and added clarification to the log message (#3787) 2024-05-30 11:21:03 -07:00
Joan Marcè i Igual 4d6d05d6d5
Sort CMakeLists.txt by depth (#3789)
* Sort CMakeLists.txt by depth

* Add changes to CHANGELOG.md

---------

Co-authored-by: Garrett Campbell <86264750+gcampbell-msft@users.noreply.github.com>
2024-05-29 16:15:16 +00:00
Garrett Campbell a2642d399a
colorization support in pre-release (#3794)
* colorization support in pre-release

* update changelog
2024-05-29 10:40:08 -04:00
Andreea Isac 9c7e64388f
Update kits-variants doc with unsupported commands that are specific for presets (#3784)
Co-authored-by: Garrett Campbell <86264750+gcampbell-msft@users.noreply.github.com>
2024-05-28 07:24:37 -04:00
Garrett Campbell 439105fa1e
Better validations that validate before running. (#3774)
* initial commit

* add better values

* check notice and changelog before release version
2024-05-28 07:22:32 -04:00
Andreea Isac cb43dbad1f
Fix GitHub 3602, mention --build-config even for default test preset (#3779) 2024-05-20 19:35:02 -07:00
Andreea Isac 03fffd1a6b
Warning when VS installation instance not found (#3775)
* 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>
2024-05-20 19:06:10 -07:00
Andreea Isac 6897e5899b
Handle "~" in binaryDir path (#3764)
* 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>
2024-05-20 18:14:57 -07:00
Andreea Isac 2fb3c60384
Let cmake.configureArgs overwrite the default cmake args (#3762)
Co-authored-by: snehara99 <113148726+snehara99@users.noreply.github.com>
2024-05-20 16:02:43 -07:00
Andreea Isac 682f759748
Run clean-configure when workflow has different configure preset than project (#3768) 2024-05-20 15:25:47 -07:00
Andreea Isac 497b3cfd92
Skip full configure on variant change for multi-config generators (#3763)
* 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.'
2024-05-20 14:36:12 -07:00
Andreea Isac 6f6f76a622
Fix UI for settings override of package presets (#3770)
* Fix UI for settings override of package presets

* Fix linter errors
2024-05-20 13:44:35 -07:00
Andreea Isac 3fd67f693c
Remove unnecessary logging about string expansion (#3761)
* Remove unnecessary logging about string expansion

* Fix typo in var name

---------

Co-authored-by: snehara99 <113148726+snehara99@users.noreply.github.com>
2024-05-20 13:14:19 -07:00
Andreea Isac 02a91b0546
Fix doubling of cpack args passed by package preset (#3766) 2024-05-20 12:19:15 -07:00
Andreea Isac 0d32b20e83
Add chesscc to the allow-list of compilers. (#3777)
Co-authored-by: snehara99 <113148726+snehara99@users.noreply.github.com>
2024-05-20 11:44:38 -07:00
Andreea Isac 69c968095d
Add clarity in the build log when builds are out of source (#3778) 2024-05-20 14:04:15 -04:00
snehara99 3472ca7c9a
reversed order of creating workspace browse configurations (#3758)
* reversed order of creating workspace browse configurations

* updated tests

* minimized change by only reversing fileGroups, and reverted tests
2024-05-16 09:51:53 -04:00
Garrett Campbell e0f9f61e7b update thirdpartynotices.txt 2024-05-10 15:40:11 -04:00
Garrett Campbell 18386efff2
Remove colorization until we get quick info done. (#3751)
* remove colorization for now

* update keywords
2024-05-10 15:30:25 -04:00
Garrett Campbell 8f3db4eb48
add error statement if script fails (#3747)
* add error statement if script fails

* updates
2024-05-10 19:24:05 +00:00
CSIGS@microsoft.com be11b65b83
Localization - Translated Strings (#3745) 2024-05-10 09:16:29 -04:00
Garrett Campbell 1c4a7f511b
fix cmake.cacheInit absolute path expansion (#3749) 2024-05-10 09:15:20 -04:00
Garrett Campbell a5b3992e19
Dev/gcampbell/add load compile commands docs (#3746)
* Style: Clean-up

* Remove redundant whitespace characters and exports

* update docs

---------

Co-authored-by: Orkun Tokdemir <orkun.tokdemir@qt.io>
2024-05-10 09:13:41 -04:00
Garrett Campbell 3bc2567d2d
update docs (#3748) 2024-05-10 09:12:49 -04:00
Orkun Tokdemir 22880b373f
Style: Clean-up (#3744)
* Remove redundant whitespace characters and exports

Co-authored-by: Garrett Campbell <86264750+gcampbell-msft@users.noreply.github.com>
2024-05-10 09:11:19 -04:00
Garrett Campbell 6124d26a89
Update CMake Tools Initial experience [exp] (#3732)
* 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
2024-05-09 21:04:59 +00:00
Garrett Campbell ec99ecb69e
update policheck, ignore i18n (#3741)
* update policheck, ignore i18n

* remove template cg

* update template
2024-05-09 16:13:26 -04:00
CSIGS@microsoft.com 727b13bee2
Localization - Translated Strings (#3743) 2024-05-07 15:20:34 -04:00
snehara99 a354afa6d8
filtered out generated fileGroups (#3733)
* filtered out generated fileGroups

* added check to see if there are non-generated file groups
2024-05-06 17:28:23 +00:00
Garrett Campbell 7d56b02c18
Update cmake-presets.md (#3740) 2024-05-06 09:44:01 -04:00
Garrett Campbell ec809bc647
Update cmake-presets.md (#3739) 2024-05-06 09:43:49 -04:00
CSIGS@microsoft.com e47f860daf
Localization - Translated Strings (#3639) 2024-05-06 09:24:37 -04:00
Fatima Qarni 4c4305ee79
CMake Quickstart (#3717)
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>
2024-05-03 17:11:07 +00:00
Garrett Campbell 13b2092416
add don't show again option (#3735) 2024-05-01 19:47:00 +00:00
Garrett Campbell e0232f10bc
update test issue (#3731) 2024-05-01 14:45:25 -04:00
lucy 011335b51c
support vscode variable in debugConfig environment (#3712)
* 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>
2024-05-01 13:58:05 -04:00
moyo1997 3eb6373c00
Dev/mookerem/debug install (#3728)
* change file api

* Support v1 debug install target

* change display of install target
2024-05-01 10:47:31 -07:00
Sergio Martins 4dc6100e34
Bump dev container Dockerfile to node 16, from 14 (#3724)
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"
"""
2024-04-30 12:30:18 -04:00
Garrett Campbell b0dd816ec0
Enable policheck and TSA (#3722)
* try adding policheck

* add tsa tasks, need to update variables

* tsaVersion

* update

* update

* update iterationPath
2024-04-26 13:54:53 -07:00
Garrett Campbell 7793728890
fix cmake-tools-schema (#3720)
* fix cmake-tools-schema

* fix schema version reference

* fix yaml validation

* update changelog
2024-04-24 16:09:21 -04:00
Garrett Campbell 6eb0121930 fix cmake.cmakePath update 2024-04-23 15:19:40 -04:00
Orkun Tokdemir 1ed22b7b09
Add `onSelectedConfigurationChanged` api (#3671)
* 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>
2024-04-19 14:14:54 +00:00
Garrett Campbell 25698e0d30
Phase 1 Partial - Colorization + share (#3679)
* 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
2024-04-18 19:57:11 +00:00
hippo91 31de14db4f
Add parallel launch in test explorer (#3577)
* 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>
2024-04-18 11:03:26 -04:00
Garrett Campbell 6b6c07bb90
Project Outline update (#3695)
* 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
2024-04-17 08:59:17 -04:00
Bob Brown 548be9ae0b
Sort pre-releases lower than releases (#3704)
Co-authored-by: Garrett Campbell <86264750+gcampbell-msft@users.noreply.github.com>
2024-04-16 11:24:15 -04:00
Garrett Campbell 2bf045dc6e add codeql.language to prerelease and official release 2024-04-15 14:34:08 -04:00
Garrett Campbell 1503f31397
fix typo (#3700) 2024-04-12 11:53:46 -04:00
moyo1997 a1608d0a9d
pin some task commands by default (#3690)
* pin some task commands by default

* changelog and typo update

---------

Co-authored-by: Garrett Campbell <86264750+gcampbell-msft@users.noreply.github.com>
2024-04-10 10:30:05 -07:00