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

171 Коммитов

Автор SHA1 Сообщение Дата
Sandro Pedrett 9327d3c9ef
Add support to configure default ActiveProject (#3730)
* Implemented defaultActiveProject configuration to select default project during initialization (#1078)

* Updated docu

* Removed unused comment

* Fixed lint issues

* Fixed review findings

* Improved description of new defaultActiveFolder configuration

* Updated changelog

---------

Co-authored-by: Garrett Campbell <86264750+gcampbell-msft@users.noreply.github.com>
2024-10-10 19:58:14 +00:00
Lin Hsu ed37b19f51
Add command substitutions `launchTargetName` and `getLaunchTargetName` (#3979)
Co-authored-by: Garrett Campbell <86264750+gcampbell-msft@users.noreply.github.com>
2024-10-07 08:01:40 -04:00
Sinem Akinci d8a6010d0f
Update cmake-presets.md (#3992)
Fixing broken links
2024-08-16 05:27:46 -04:00
Garrett Campbell 140a429245
better match keybindings to what vscode has (#3928)
* better match keybindings to what vscode has

* update changelog
2024-07-24 13:09:09 -04:00
Andrew Shark a2de3ee7da
doc: cmake.environment is not applied to launch/debug (#3926) 2024-07-23 10:24:29 -04:00
Andrew Shark b2fd1880cb
Fix typo in configure.md (#3900)
als -> also

Co-authored-by: Garrett Campbell <86264750+gcampbell-msft@users.noreply.github.com>
2024-07-17 10:04:20 -04:00
Andrew Shark e43f28f1ec
Fix link in configure.md (#3899)
The section is called "General options", not "Generic options".
2024-07-17 10:04:01 -04:00
snehara99 c892b185e9
Add "Unspecified" Build Type and Use by Default (Kits Only) (#3879)
* add unspecified build type and remove CMAKE_BUILD_TYPE prop when it's used

* reverted commenting out debugger

* let debugger stop on error again

* updated changelog

* updated the docs with the new option

* updated default kit build type

* fix failing tests

---------

Co-authored-by: Garrett Campbell <86264750+gcampbell-msft@users.noreply.github.com>
2024-07-11 19:05:59 +00:00
Cy 'kkm' Katsnelson 79fcf3b686
Use relative intralinks; Point 'issues' to main GH repo (#3858)
* Replace intra-repo absolute URLs with relative ones.
* Replace remaining pointers to `vector-of-bool` with `microsoft`
  in the URLs than must remain absolute.

Co-authored-by: Garrett Campbell <86264750+gcampbell-msft@users.noreply.github.com>
2024-07-08 11:04:08 -04:00
Garrett Campbell 2ea06810a7
remove from pre-release (#3861) 2024-07-02 15:26:52 -04: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 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 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 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
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
cctv130 8975c78ef0
Update debug-launch.md (#3647)
Co-authored-by: Garrett Campbell <86264750+gcampbell-msft@users.noreply.github.com>
2024-03-19 20:33:43 +00:00
Sinem Akinci 4240059213
Update cmake-options-configuration.md (#3562)
updated to include workflow and package presets
2024-02-01 14:19:37 -08:00
snehara99 a8ba2f8fff
added inherit option and inheritDefault setting (#3547)
* added inherit option and inheritDefault setting

* fixed docs wording
2024-01-23 12:31:59 -05:00
Garrett Campbell 0e48ef9867
Allow overriding of CMakePresets cache variables and arguments (#3537)
* Update the already available settings to use in presets.

Turns out, we already have configure, build, buildTool, and test
args/envs that can override. I modified the code to use these in
presets. Also, I added a small sentence to the settings descriptions to
notify users that when using CMake Presets, they are designed for
overrides, not general configuration.

* pending further discussion, use general environment for all

* add temporary override string for presets to environment setting description

* don't remove configureSettings

* add text to specify that configureSettings isn't for presets scenario

* Add tentative treeview UI and output message for configure

Still need to do build/test/etc, and likely improve the strings
themselves.

* add output lines, improvement on the string to come, testing for location

* don't output message when we're using cache

* add handlers that update the nodes when a test or build setting is modified

* slight refactor and add * to status bar

* add button that only appears when overrides present that allows opening those settings

* share some code

* fix localize calls

* update tsconfig.json

* update eslint

* slightly reword the settings

* fix buildTool args

* avoid duplication

* ensure we only return -3 when testPreset isn't defined

* fix imports

* changelog and docs

* refactor to avoid circular dependency

* missed one

* fix imports
2024-01-19 20:52:13 +00:00
Sinem Akinci 45be63aaac
Other fixes for docs referencing old status bar (#3419)
* Add files via upload

* Add files via upload

* Update build.md

* Update build.md

* Update build.md

removing references to old status bar

* Update cmake-presets.md

* Add files via upload

* Update cmake-presets.md

* Add files via upload

* Update debug-launch.md

* Add files via upload

* Update debug-launch.md

* Add files via upload

* Delete docs/images/debug-target.png

* Add files via upload

* Delete docs/images/debug-target.png

* Add files via upload

* Update debug-launch.md

* Update debug-launch.md

* Update docs/build.md

Co-authored-by: snehara99 <113148726+snehara99@users.noreply.github.com>

* Update docs/cmake-presets.md

Co-authored-by: snehara99 <113148726+snehara99@users.noreply.github.com>

* Update docs/cmake-presets.md

Co-authored-by: snehara99 <113148726+snehara99@users.noreply.github.com>

* Update docs/cmake-presets.md

Co-authored-by: snehara99 <113148726+snehara99@users.noreply.github.com>

* Update docs/cmake-presets.md

Co-authored-by: snehara99 <113148726+snehara99@users.noreply.github.com>

* Update docs/debug-launch.md

Co-authored-by: snehara99 <113148726+snehara99@users.noreply.github.com>

* Update docs/build.md

Co-authored-by: snehara99 <113148726+snehara99@users.noreply.github.com>

* Update docs/debug-launch.md

Co-authored-by: snehara99 <113148726+snehara99@users.noreply.github.com>

* Update docs/debug-launch.md

Co-authored-by: snehara99 <113148726+snehara99@users.noreply.github.com>

* Update docs/cmake-presets.md

Co-authored-by: snehara99 <113148726+snehara99@users.noreply.github.com>

* Update docs/cmake-presets.md

Co-authored-by: snehara99 <113148726+snehara99@users.noreply.github.com>

* fixing some stuff

---------

Co-authored-by: snehara99 <113148726+snehara99@users.noreply.github.com>
2023-11-15 19:19:30 +00:00
Sinem Akinci 5dba1c78fb
Sinemakinci/c make project view docs (#3414)
* Create cmake-project-view.md

* Update cmake-project-view.md

* Update cmake-project-view.md

* Update cmake-project-view.md

Added default settings

* Update cmake-project-view.md

* Update cmake-project-view.md

* Update cmake-project-view.md

* Update cmake-project-view.md

* Update cmake-project-view.md

* Update cmake-project-view.md

* Update cmake-project-view.md

* Update cmake-project-view.md

* Update cmake-project-view.md

* Update cmake-project-view.md

* Update cmake-project-view.md

* Update cmake-project-view.md

* Update cmake-project-view.md

* Update cmake-project-view.md

* Update cmake-project-view.md

* Update cmake-project-view.md

* Update cmake-project-view.md

* Update cmake-project-view.md

adding more info

* Update cmake-project-view.md

* Update cmake-project-view.md

* adding cmake status bar setting

* Update cmake-project-view.md

* Update cmake-project-view.md

* Update cmake-project-view.md

* Update cmake-project-view.md

* Update cmake-project-view.md

* Update cmake-project-view.md

* Update cmake-project-view.md

* Update cmake-project-view.md

* Update cmake-project-view.md

* Add files via upload

* addressing comments

* addressing more comments

* addressing more comments and updating images

* Update cmake-project-view.md

* Update cmake-project-view.md

* fixing comments

* Update docs/cmake-project-view.md

Co-authored-by: snehara99 <113148726+snehara99@users.noreply.github.com>

* Update docs/cmake-project-view.md

Co-authored-by: Garrett Campbell <86264750+gcampbell-msft@users.noreply.github.com>

* Update docs/cmake-project-view.md

Co-authored-by: Garrett Campbell <86264750+gcampbell-msft@users.noreply.github.com>

* fixing some stuff and adding sidebar image

* Update docs/cmake-project-view.md

Co-authored-by: snehara99 <113148726+snehara99@users.noreply.github.com>

* Update docs/cmake-project-view.md

Co-authored-by: snehara99 <113148726+snehara99@users.noreply.github.com>

* Update docs/cmake-project-view.md

Co-authored-by: snehara99 <113148726+snehara99@users.noreply.github.com>

* Update docs/cmake-project-view.md

Co-authored-by: snehara99 <113148726+snehara99@users.noreply.github.com>

* Update docs/cmake-project-view.md

Co-authored-by: snehara99 <113148726+snehara99@users.noreply.github.com>

* Update docs/cmake-project-view.md

Co-authored-by: snehara99 <113148726+snehara99@users.noreply.github.com>

* Update docs/cmake-project-view.md

Co-authored-by: snehara99 <113148726+snehara99@users.noreply.github.com>

* Rename cmake-project-view.md to cmake-options-configuration.md

---------

Co-authored-by: snehara99 <113148726+snehara99@users.noreply.github.com>
Co-authored-by: Garrett Campbell <86264750+gcampbell-msft@users.noreply.github.com>
2023-11-03 00:35:31 +00:00
Sinem Akinci 6c484394d6
Sinemakinci/fix c make debug (#3371)
* Update debug-launch.md

Fixing debugging to not be quick debugging references

* Add files via upload

New images for launching debugger

* Update debug-launch.md

fixing run without debugging section

* Add files via upload

* Add files via upload

* Add files via upload

* Update debug-launch.md

fixing images

* Add files via upload

* Delete docs/images/debug_target.png

* Add files via upload

* Delete docs/images/debug_target.png

* Add files via upload

* Update cmake-settings.md

adding debug config

* Update cmake-settings.md
2023-10-10 17:08:24 +00:00
Garrett Campbell 661e9ed3e3
Add script mode and ability to connect to externally launched CMake process. (#3277)
* storing initial thoughts

* rough version of trying to work on new options for debugger configurations

* made progress enabling script debugging from launch.json

* add some output messaging regarding the debugger and script

* add TODO's in case I don't get to it today

* log statements, ensure package.json allows the right args in right situation, set up env for script debugging

* push worst case copying the description and settings of the debugger options

* I think I've covered all launch config cases

* better package.json schema, though still not perfect, matches other debug types, and stub validation in code

* localize error messages

* add 'The'

* switch to double quotes

* add docs page for debugging

* slight modifications

* didn't handle case where scriptEnv was undefined

* add configurationSnippets

* add stub for debugconfigurationprovider

* add ability to 'run and debug' without launch.json on *.cmake files

* modify when we sanity check

* make adjustments based on feedback and add automatic configuration

* ensure that configure with debugger works with the right format

* update changelog
2023-09-20 13:20:31 -04:00
Werner Robitza b4bd31490b
add lldb to debug-launch.md (#3332)
* add lldb to debug-launch.md

This adds the lldb configuration needed for macOS

* Update CHANGELOG.md

---------

Co-authored-by: Ben McMorran <bemcmorr@microsoft.com>
2023-09-15 11:10:54 -07:00
salo-dea df0f09e581
Add ability to get a test's WORKING_DIRECTORY in launch.json (#3336)
* Resolve ${cmake.testWorkingDirectory} to the WORKING_DIRECTORY property of a test in launch.json

To be used in "cwd" field for tests to have the same context when debugging as when running normally

* Add example usage of cmake.testWorkingDirectory in docs

* Add changelog entry
2023-09-13 15:51:35 -07:00
Bailey Lissington 6e7f319295
Update kits.md (#3272)
Fix a spelling mistake
2023-08-01 09:36:45 -07:00
Garrett Campbell d47c6b0ad8
add clarifying docs #3128 (#3180)
Co-authored-by: Ben McMorran <bemcmorr@microsoft.com>
2023-05-17 11:55:11 +00:00
Garrett Campbell 6825d8a9cf
add documentation for SkipConfigureIfCachePresent (#3135)
* add documentation for SkipConfigureIfCachePresent

* add default

---------

Co-authored-by: Ben McMorran <bemcmorr@microsoft.com>
2023-04-26 08:21:16 -04:00
Patrick Keil 579d0d3cad
Without outer bracket [] the kit will not be detected (#3099)
* Without outer bracket [] the kit will not be detected

Tested on windows. Without the outer main brackets, the cmake-kit will not be detected.
2023-04-19 17:32:42 +00:00
philippewarren 39c7266562
Add default compiler search paths for msys2 default installation paths, fix mingw bugs (#3056)
* Add default compiler search paths for msys2 default installation paths, fix mingw bugs, fixes #2880, fixes #1064, might fix #460

* Fix linting errors

* Fix PR comments (keep config for backward compatibility, typo, changelog)

* Fix linting bug
2023-03-18 07:41:51 +00:00
Elaheh Rashedi 85cbaffb1e
update docs on cmake.mingwSearchDirs (#2998) 2023-02-13 14:01:34 -08:00
TisziV 3236cc864b
Add an optional description field to cmake-kits.json file (#2944) 2023-01-19 10:35:46 -08:00
Bob Brown ec4c7d8e33
Warn the user if the build directory is not unique for multi-project (#2913) 2023-01-10 06:40:41 -08:00
Elaheh Rashedi b257143b18
update docs on cmake.configureOnEdit (#2928) 2023-01-09 08:47:24 -08:00
Elaheh Rashedi 896f499b99
CMake Multi Root and Multi Project support (#2835) 2022-12-27 08:46:15 -08:00
Ernst Sjöstrand 6e8756fa9f
Add kit docs for environmentSetupScript (#2789) 2022-10-13 22:07:25 +00:00
Bob Brown 903aad3876
Update cmake-presets.md 2022-10-06 12:47:37 -07:00
Josh Deaton eeb0ac513a
Update kits documentation (#2772) 2022-10-06 09:34:46 -07:00
Josh Deaton 70abf5070e
fixed small typo in variant docs example code (#2760) 2022-10-04 00:29:35 +00:00
Elaheh Rashedi 39262b1333
update Docs on Clean and Install task (#2717) 2022-08-30 19:29:28 +00:00
Elaheh Rashedi 9a9b1a51c5
Update documents for tasks (#2704) 2022-08-24 18:33:17 +00:00
David Fong 9e55a05adb
docs/faq.md: fix cmake docs link + link to "Professional Cmake" (#2679) 2022-08-09 08:33:12 -07:00
Elaheh Rashedi 011d91aeb9
Documents for CMake Tasks (Check In after PR #2636) (#2648) 2022-07-22 13:07:59 -07:00
Bob Brown e5ea0cf964
Revert language server bundle (#2599) 2022-06-14 10:44:22 -07:00
josetr 2f5cc9823a
Update CMake Language Support (#2267) 2022-06-13 18:54:07 +00:00
Thi af258847f1
Added an example for msvc (#2560)
For copycats on windows
2022-05-25 09:44:17 -07:00
kouhe3 f693e8e7cb
launch.json 'externalConsole' is deprecated. (#2525) 2022-04-26 10:21:39 -07:00
Michelle Matias 59a3339195
Convert issue form to yaml (#2488) 2022-04-08 17:17:30 -07:00