Compare commits

...
166 Commits
Author SHA1 Message Date
Sean McManus 43aad3f65c Merge pull request #11528 from microsoft/main
Update changelog (2nd time) (#11527)
2023-10-12 17:21:18 -07:00
Sean McManus 62a03c2b21 Update changelog (2nd time) (#11527)
* Update changelog (2nd time).
2023-10-12 17:12:41 -07:00
Sean McManus bedcacb0a1 Merge pull request #11526 from microsoft/main
Merge for 1.18.0
2023-10-12 14:58:49 -07:00
Sean McManus 7273d6112b Update changelog for 1.18.0 (#11521) 2023-10-12 14:37:41 -07:00
Michelle Matias 74bddb82e5 Reuse workflow for CI builds (#11503) 2023-10-11 18:40:01 -07:00
Sean McManus 4af6ca9db0 Extract to function (#11467)
* Extract to function.
2023-10-11 17:27:36 -07:00
Michelle Matias 7e4ee25c48 remove CreateDeclDefnCommandArguments (#11517) 2023-10-10 12:31:23 -07:00
Sean McManus 6da9a49652 Updates for clang-tidy 17.0.1 (#11491) 2023-10-10 12:09:32 -07:00
Michelle Matias 51d88dbb24 Increase timeout for E2E tests (#11516) 2023-10-09 16:12:47 -07:00
Michelle Matias cd8ecf9060 Handle undefined environment variable (#11480) 2023-10-06 11:50:26 -07:00
Sean McManus 847ea0b73c Fix prepublish. (#11469) 2023-09-29 17:41:31 -07:00
Michelle Matias 68c7be9d9e Fix loading UI (#11486) 2023-09-29 13:06:38 -07:00
Michelle Matias 1bde544458 Add Include Header setting for refactoring actions (#11449) 2023-09-27 10:51:53 -07:00
Sean McManus f62cad6a2f Fix Initializing in the status bar instead of Indexing. (#11471) 2023-09-26 16:37:57 -07:00
Garrett Serack eec372a186 force module to node16 for ts-node (#11468) 2023-09-26 11:40:51 -07:00
Michelle Matias b98bb40a89 Update language server loc strings (#11445) 2023-09-25 17:29:54 -07:00
Colen Garoutte-Carson 4d1a2a0e90 Change how logging level is passed to native process (#11438) 2023-09-18 13:57:25 -07:00
Michelle Matias dec50598bc Remove obsolete experimental configuration code (#11427) 2023-09-14 17:12:03 -07:00
browntarik c5c64ad831 Update localized intellisense crash string (#11356)
* update localized intellisense crash string

* resolve string

* update hint

* resolve loc string

* resolve string locs

* resolve spelling error
2023-09-13 14:45:35 -07:00
Bob Brown 27153190e2 Compiler acquisition (#11286) 2023-09-13 11:54:29 -07:00
Sean McManus 2cc55ea6eb Add keyboard support for Inline Macro. (#11261)
* Add keyboard support for Inline Macro.
* Enable inline macro without hover.
* Standardize localize string naming.
* Fix spelling errors involving strings types.
2023-09-11 09:56:16 -07:00
Garrett Serack 121a657acb make translations export work correctly in CI (#11415) 2023-09-08 07:53:49 -07:00
dependabot[bot] 6a54986b3f Bump mongodb from 4.8.1 to 4.17.0 in /.github/actions (#11413)
Bumps [mongodb](https://github.com/mongodb/node-mongodb-native) from 4.8.1 to 4.17.0.
- [Release notes](https://github.com/mongodb/node-mongodb-native/releases)
- [Changelog](https://github.com/mongodb/node-mongodb-native/blob/v4.17.0/HISTORY.md)
- [Commits](https://github.com/mongodb/node-mongodb-native/compare/v4.8.1...v4.17.0)

---
updated-dependencies:
- dependency-name: mongodb
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-07 09:52:11 -07:00
Garrett Serack b4a70dfc0a Make yarn tasks imply yarn install where appropriate (#11394)
* made sure that yarn install gets called before compile

* Add some nice messages

* better detection

* cleaned up more

* more tweaks

* remove old checks

* let unit tests run without binaries

* turn off scenario tests until binaries can be installed

* add another rule
2023-09-06 07:47:36 -07:00
browntarik efa5c2244b Rework Database Storage Path Logic (#11309)
* Fix typo (#11275)

* rework database logic

* resolve PR

* fix lint issues

* resolve PR

* resolve PR

* resolve PR

* resolve PR

* update names

* resolve PR

* resolve PR

* fix lint error

* resolve PR

* resolve PR
2023-09-05 13:35:11 -07:00
Sean McManus 4199155228 Update TPN. (#11393) 2023-08-31 12:56:15 -07:00
Garrett Serack d949d93924 Apply strict eslint rule (#11389) 2023-08-31 09:26:55 -07:00
Marcin Strzyz 44e2a0ec4c added enforcement of no array constructor. (#11385) 2023-08-30 13:12:41 -07:00
Marcin Strzyz 0cd369c603 Incremental. (#11383) 2023-08-30 13:04:01 -07:00
Marcin Strzyz 76fce67276 Added typing guards. (#11382) 2023-08-29 18:05:33 -07:00
Marcin Strzyz f3e0f0bb05 Added enforcement. (#11381) 2023-08-29 16:54:14 -07:00
Garrett Serack 628301be37 Test restructuring and cleanup (#11262)
* updated files

* queue and ready are now separate

* checkpoint

* found it! fixed missing call

* cleaned up and refactored a bit

* cleanup

* whoops. make sure linter runs!

* Make the queue itself static

* addressed formatting issues, added more rules to eslint

* more formatting, made ready Promise/void

* checkpoint

* checkpoint

* checkpoint

* checkpoint (linting)

* checkpoint

* checkpoint

* checkpoint

* checkpoint

* renamed path to filepath.

* checkpoint

* checkpoint

* so close...

* checkpoint again

* before making doc

* checkpoint

* checkpoint

* Checkpoint

* renamed awaiters

* eslint

* fix format on generated native strings

* add dummy pretest task back in for the moment

* change unit test runing

* posix calc test failure

* make signal dispose better

* add 	est regen script

* missed file

* checkpoint

* Improve scripts a bit

* remove hooks for now

* remove unused script

* remove unused script

* filter out files

* ensure that eslint works for scripts too

* fix build oses to specific version

* cleanups and tweaking

* adjusted for cosmetic feedback

* more

* add eslint rule to fix space before/after semicolon

* remove tba/tbd

* cleanup

* Added space-infix-ops rule

* cleanup

* resolve comments

* resolve comments

* add simple debug task

* spelling fixes

* cleanup more

* More changes. yay

* remove the extra whitespace from before comments

* add eslint rule to ensure that there are never extra spaces

* adding another eslint rule to ensure that there isn't spacing around unary operators, which we all know is dangerous. Or weird. I forget which

* added a space between vs and code because a space is the desired format

* removed all mentions of transpiler which was removed

* removed an extra comma

* removed a trailing slash

* removed useless lines

* missed as file

* reconfigure no-extra-parens rule

* added note about yarn install

* whatever

* more fun

* FIx it so that it webpacks correctly

* remove refernces to attic

* restore line to correct check

* fix whitespace

* added blank yarn install

* removed
2023-08-29 16:08:07 -07:00
browntarik 6efaafef60 place markdownInComments setting under code doc (#11380) 2023-08-29 14:53:18 -07:00
Michelle Matias f387815749 Fix tag parse language status item UI (#11354) 2023-08-25 15:50:03 -07:00
Michelle Matias c873aa18bd 1.17.5 changelog (#11363) 2023-08-25 13:50:14 -07:00
Colen Garoutte-Carson 78a8ff3bb3 Disable AutoPCH early on platforms that don't support it (#11362) 2023-08-24 18:29:52 -07:00
Michelle Matias 3033657a19 Reset FAR UI if no results returned (#11359) 2023-08-23 18:03:44 -07:00
Sean McManus ac118f453b Fix formatting for IntelliSense loc strings. (#11348)
* Fix formatting for loc strings.
2023-08-22 15:04:23 -07:00
Sean McManus 9e10a71ffb Update changelog and version for 1.17.4 (#11340)
* Update changelog and version for 1.17.4
* Add a missed entry.
2023-08-21 11:08:15 -07:00
Sean McManus 4525bd0ed5 Fix crash called by missing IntelliSense loc strings. (#11339) 2023-08-21 10:40:35 -07:00
Garrett Serack 89d0a7a01f Enqueue the call to sendDidOpen (#11337)
* enqueue the call to sendDidOpen
2023-08-21 10:32:47 -07:00
Colen Garoutte-Carson 27cd52a1b9 Replace use of yauzl with node-stream-zip (#11304) 2023-08-17 18:42:56 -07:00
Colen Garoutte-Carson e020a75bb7 Merge branch 'release' into main 2023-08-16 17:55:19 -07:00
Colen Garoutte-Carson c8a7776222 Update version and changelog for 1.17.3 (#11330) 2023-08-16 17:50:39 -07:00
Bob Brown 3934ef89ea Fix bug introduced by #11175 (#11329) 2023-08-16 16:46:17 -07:00
Michelle Matias d60499f793 Merge pull request #11319 from microsoft/mimatias/r-17
1.17.2 release merge
2023-08-14 12:54:16 -07:00
Michelle Matias 9b359ff73b Merge branch 'main' into mimatias/r-17 2023-08-14 12:45:28 -07:00
Michelle Matias fc9c45c34f 1.17.2 changelog (#11317) 2023-08-14 12:23:09 -07:00
Bob Brown 212fff2828 log machine id mappings for VS to VS Code (#11308)
* log machine id mappings for VS to VS Code

* update comment

* in case execChildProcess throws
2023-08-11 16:13:33 -07:00
Sean McManus a5f8f84b43 Merge pull request #11303 from microsoft/main
Merge for 1.17.1
2023-08-08 17:51:04 -07:00
browntarik 44e3bbe773 Update Changelog (#11302) 2023-08-08 17:35:02 -07:00
Bob Brown 90f922d651 default to c++14 on mac for build and run active file (#11300) 2023-08-08 14:52:42 -07:00
Colen Garoutte-Carson 408051429d Fix issue with currently selected compiler being listed last in task list (#11299) 2023-08-07 16:28:58 -07:00
Bob Brown ae904ec330 Fix the build getting stuck when /link /out: is used to specify the program name (#11281)
* Also make sure the mkdir command works
2023-08-03 13:13:03 -07:00
[email protected] 3bde088a06 [Auto] Localization - Translated Strings (#11118) 2023-08-03 12:08:50 -07:00
browntarik 9d28ba1e06 Prevent vcpkg code action from appearing in all unrelated code action menus (#11280)
* prevent vcpkg code action from appearing

* resolve PR

* resolve PR
2023-08-02 14:11:42 -07:00
melody 514e60863d Fix typo (#11275) 2023-08-01 15:05:50 -07:00
Michelle Matias 98af6a4888 Show relative path for call hierarchy item if available (#11265) 2023-07-31 18:00:59 -07:00
Michelle Matias b740f603ec Use selectionRange for call hierarchy request input (#11264) 2023-07-31 17:12:19 -07:00
Sean McManus 6b2099471d Clean up the command palette. (#11259)
* Clean up the command palette.
2023-07-28 14:45:31 -07:00
Sean McManus c76105e28e Add vscode.d.ts to .eslintignore. (#11258)
* Add vscode.d.ts to .eslintignore.
2023-07-28 09:03:18 -07:00
Michelle Matias 70ff2a296a Update compilerPath if c_cpp_properties.json exists (#11257) 2023-07-27 12:51:31 -07:00
Michelle Matias c3e3bd306f "Select IntelliSense Configuration" updates compilerPath in c_cpp_properties.json (#11255) 2023-07-27 11:40:04 -07:00
Sean McManus e53b190380 Merge pull request #11253 from microsoft/main
Merge (again) for 1.17.0
2023-07-26 16:56:43 -07:00
Sean McManus 4f805c4263 Update changelog (again) for 1.17.0 (#11251)
* Update changelog.
2023-07-26 16:26:40 -07:00
Michał Mąka a7870fc1b2 Added support for Toybox to remote process picker (#11175)
* Added separate remote process command for ToyBox
2023-07-26 16:08:07 -07:00
Michelle Matias 1846fd4001 Merge pull request #11250 from microsoft/main 2023-07-26 14:15:17 -07:00
Michelle Matias d48fd4343b fix merge (#11249) 2023-07-26 14:11:18 -07:00
Colen Garoutte-Carson 62e09945e3 Merge pull request #11241 from microsoft/main 2023-07-24 17:32:28 -07:00
Michelle Matias 9ce7b5a87c update change log (#11240) 2023-07-24 16:35:29 -07:00
Michelle Matias 460aee5971 'Create Declaration / Definition' command via 'Quick Fix...' hover (#11239) 2023-07-24 15:49:19 -07:00
Sean McManus 0e309a7e7f Fix config provider ordering. (#11237) 2023-07-24 11:48:18 -07:00
Sean McManus 27f9fafc73 Fix console logging. (#11233) 2023-07-24 10:38:26 -07:00
Michelle Matias c9b0db02fd Merge pull request #11230 from microsoft/main
Merge 1.17.0
2023-07-21 14:08:21 -07:00
Sean McManus 72ea4d5eb9 Update ThirdPartyNotices.txt. (#11232) 2023-07-21 13:52:52 -07:00
Michelle Matias 3c63457e38 changelog 17 (#11227) 2023-07-21 13:19:32 -07:00
Garrett Serack 477eb06f2b Fix out-of-order message handling (#11212) 2023-07-21 12:44:14 -07:00
dependabot[bot] 62b27eadce Bump word-wrap from 1.2.3 to 1.2.4 in /.github/actions (#11213) 2023-07-18 15:25:09 -07:00
browntarik 668499169e Add Setting to Enable Markdown Comment Formatting (#11177)
* resolve PR

* resolve PR

* resolve PR

* resolve PR

* resolve PR

* resolve PR
2023-07-18 14:34:25 -07:00
Bob Brown 2133b871be Remove walkthrough experiment and update the Help links to point to it (#11191) 2023-07-18 15:46:52 +00:00
Bob Brown d6370f3dcf compliance: update dependencies to remove usage of fsevents 1.2.7 (#11206) 2023-07-17 12:54:43 -07:00
Sean McManus 4589c6a731 Update IntelliSense loc strings. (#11193) 2023-07-14 15:50:57 -07:00
Sean McManus c4ea718dd5 Update ThirdPartyNotices.txt again. (#11184) 2023-07-11 17:58:15 -07:00
dependabot[bot] f26308c09f Bump semver from 5.7.1 to 5.7.2 in /.github/actions (#11183) 2023-07-11 16:44:36 -07:00
Sean McManus 420b479896 Update package.json/yarn.lock (#11181)
* Update yarn.lock.
* Clean up old/unneeded resolutions.
2023-07-11 16:34:49 -07:00
Colen Garoutte-Carson 2dfbeb16b2 Add license for SoftFloat to ThirdPartyNotices.txt (#11168) 2023-07-07 11:24:36 -07:00
Sean McManus f293e59478 Update IntelliSense loc strings. (#11166) 2023-07-06 18:55:15 -07:00
browntarik b747b98cde resolve paths with /, /*, /** and \\** (#11136)
* resolve paths with '/', '/*', '/**' and '\\**'

* resolve multiple path parsing

* create generalized approach for wildcard support

* Add windows conditional for backslashes

* resolve PR

* resolve PR

* resolve PR

* resolve PR

* resolve PR

* resolve variables for globs

* resolve PR

* resolve PR

* resolve PR

* resolve PR

* resolve PR

* resolve PR

* resolve PR

* resolve PR

* resolve PR
2023-07-06 16:25:22 -07:00
Sean McManus 094596961a Update ThirdPartyNotices.txt (#11144) 2023-06-30 11:38:36 -07:00
Garrett Serack 503f95b085 Modernize packages, code patterns (#11085)
Modernize packages, code patterns
2023-06-29 13:18:48 -07:00
3612c02d07 Add wildcard support for includeDir (#10388)
For example, using the following tree:

  rootUri
  - sources
    - main
      - main.c
    - vendor
      - khash.h
  - headers
    - C001
      - a.h
    - C002
      - b.h

The following directory paths works:

- `sources/**`  for plain old recursive path
- `headers/C*/` dynamic path
- `missing/`    reported as "not found"
- `missing/*`   expanded as empty result (silent fail)

Note: bakslash paths need to be slash-converted to avoid be considered as "Dynamic"

Co-authored-by: Sean McManus <[email protected]>
Co-authored-by: browntarik <[email protected]>
2023-06-27 09:53:35 -07:00
Michelle Matias 93cc277311 Merge pull request #11126 from microsoft/mimatias/patch
1.16.3 changelog (#11125)
2023-06-23 17:07:38 -07:00
Michelle Matias 9d84cad54b 1.16.3 changelog (#11125) 2023-06-23 17:03:09 -07:00
Michelle Matias ddbc92a990 1.16.3 changelog (#11125) 2023-06-23 16:55:56 -07:00
Colen Garoutte-Carson ce587c6f06 Fix possible race condition that could lead to multiple didOpen's (#11120) 2023-06-22 19:26:13 -07:00
Michelle Matias 82671ea293 Merge pull request #11114 from microsoft/mimatias/1_16 2023-06-21 15:21:22 -07:00
Michelle Matias 605015c8af Merge branch 'main' into mimatias/1_16 2023-06-21 15:07:50 -07:00
Michelle Matias baa93534f0 update log (#11115) 2023-06-21 15:05:31 -07:00
Michelle Matias e5f74bc638 Merge branch 'main' into mimatias/1_16 2023-06-21 13:31:08 -07:00
[email protected] 68777f9873 [Auto] Localization - Translated Strings (#10992) 2023-06-21 13:28:59 -07:00
browntarik 4037db9783 remove extra adjustments to textEdit for CDD (#11110)
* remove extra adjustments to textEdit

* combine conditionals
2023-06-21 12:23:02 -07:00
Michelle Matias 67565fe0a7 Merge branch 'main' into mimatias/1_16 2023-06-21 11:02:35 -07:00
Michelle Matias a67c6610a7 1.16.2 changelog (#11111) 2023-06-21 10:57:55 -07:00
browntarik 4f5ec73173 Add configuration telemetry (#11093) 2023-06-19 16:44:44 -07:00
Bob Brown 79f4e8ded0 Update LICENSE.md (#11102) 2023-06-16 12:05:56 -07:00
Michelle Matias 51da619eec Merge pull request #11099 from microsoft/main
1.16.1 pre-release
2023-06-15 21:19:13 -07:00
Michelle Matias 7544de0b47 1.16.1 changelog (#11094) 2023-06-15 17:34:45 -07:00
Michelle Matias 491456e8de Fix references cancellation and preview (#11056) 2023-06-15 17:02:46 -07:00
Caio Hamamura 5b51db1999 configurationProvider.ts: default cppvsdbg integratedTerminal (#11035) 2023-06-15 16:41:32 -07:00
Chang-Yen Tseng 46eaddc411 include miDebuggerArgs in attach option (#11066) 2023-06-15 16:35:31 -07:00
Michelle Matias 71c6cb6c6c add file path to call hierarchy details (#11095) 2023-06-15 15:04:44 -07:00
Colen Garoutte-Carson 0452f0aad9 Remove line preventing Don't Show Again (#11076) 2023-06-12 14:54:29 -07:00
Sean McManus 478ccb6abd Update vscode/dts (#11047)
* Update vscode/dts
2023-06-05 15:40:29 -07:00
browntarik 7504532e58 Removed LanguageStatus experiment code and merged ui.ts and ui_new.ts (#11030)
* merge ui and ui_new, finsih status experiment

* resolve PR

* resolve PR

* resolve PR

* resolve PR

* resolve PR
2023-06-02 05:56:18 -07:00
Sean McManus 9621430533 Make sure empty non-enum string settings are equivalent to undefined. (#11031)
* Make sure empty non-enum string settings are equivalent to undefined.
* Check for null. Remove null default for "string" setting.
2023-05-31 17:42:33 -07:00
Sean McManus 3ef10f294e Stop using vcFormat for non-formatting editorconfig settings. (#11015) 2023-05-31 13:57:31 -07:00
Sean McManus e394edb630 Fix Other References not getting cleared for Call Hierarchy. (#10989) 2023-05-22 17:53:00 -07:00
Michelle Matias 3eb50568e9 Merge pull request #10986 from microsoft/main
[Auto] Localization - Translated Strings (#10889)
2023-05-22 13:53:52 -07:00
Alex Hsu e65e602bab [Auto] Localization - Translated Strings (#10889) 2023-05-22 12:59:30 -07:00
Michelle Matias 866b145645 Merge pull request #10975 from microsoft/main
1.16.0 pre-release
2023-05-19 15:52:02 -07:00
Michelle Matias 65ec5abb72 Changelog 1.16.0 (#10973) 2023-05-19 15:25:36 -07:00
Sean McManus fc909f88ba Fix incorrect workspace parsing status. (#10974) 2023-05-19 15:03:01 -07:00
Sean McManus c22d13af30 Fix addTrustedCompiler. (#10961)
* Fix addTrustedCompiler.
* Fix build tasks not updating after a compilerPath change.
2023-05-19 11:46:54 -07:00
Michelle Matias 290a53e934 call hierarchy telemetry (#10971) 2023-05-19 09:40:05 -07:00
Colen Garoutte-Carson 4b20f32c39 Support server-side cancellation/error in CDD (#10966) 2023-05-18 12:43:12 -07:00
Michelle Matias 5ce976f322 Call hierarchy incoming calls fix return (#10962) 2023-05-17 12:40:54 -07:00
Sean McManus 352e0bf2ff Update IntelliSense strings loc (#10950)
* Update IntelliSense loc strings.
* Update msvc versions.
2023-05-15 14:24:53 -07:00
browntarik 684404f29c Add copy to clipboard support for CDD (#10835)
* Add copy to clipboard support for CDD

* Fix lint issues

* latest changes

* refactor PR

* add localization

* rename variables

* remove copy CDD from package.json

* resolve PR

* resolve PR

* resolve PR

* resolve json

* resolve PR

* resolve PR

* refactor error handling

* resolve PR

* resolve PR

* resolve PR

* remove awaits

* remove more awaits

* resolve PR
2023-05-12 14:42:53 -07:00
Michelle Matias 478fb3c245 Call Hierarchy Callers Of - add progress and cancellation (#10936) 2023-05-12 14:27:34 -07:00
Colen Garoutte-Carson c3cfd55762 Add server-originated notification to cancel reference (#10929) 2023-05-09 14:27:31 -07:00
Colen Garoutte-Carson b2d989f85f Always add workspaceFolder to browse.path if unset (#10916)
* Fix skipped tag parse with empty compiler path
* Always add workspaceFolder to browse path if unset
2023-05-04 15:46:49 -07:00
Sean McManus bb3d290d6b Fix C/C++ Configurations loc. (#10908) 2023-05-04 13:57:46 -07:00
Sean McManus 33bdb7f425 Fix code analysis command strings. (#10906) 2023-05-01 14:35:38 -07:00
Sean McManus 0c9d89787c Remove a fix. (#10903) 2023-04-28 18:20:34 -07:00
Sean McManus 94c12812e0 Fix some spelling errors and formatting. (#10901)
* Fix some spelling errors and formatting.
* Fix loc comments.
2023-04-28 14:07:52 -07:00
Michelle Matias 3144d82fb4 Call hierarchy feature (#10697) 2023-04-27 19:34:54 -07:00
Sean McManus dc7651af75 Merge pull request #10898 from microsoft/seanmcm/1_15_4_release
Merge for 1.15.4
2023-04-27 15:27:40 -07:00
Sean McManus 9215fbe9b0 Merge branch 'main' into seanmcm/1_15_4_release 2023-04-27 14:29:27 -07:00
Sean McManus 5a56dfc749 Update changelog for 1.15.4. (#10896)
* Update changelog for 1.15.4.
2023-04-27 14:25:07 -07:00
Sean McManus bddb1ba342 Fix the configurationselection telemetry for the prompt sender. (#10895)
* Fix the configurationselection telemetry for the prompt sender.
2023-04-27 11:45:59 -07:00
Sean McManus cafce7c050 Prevent the status bar from flickering when switching docs. (#10888)
* Prevent the status bar from flickering when switching docs.
2023-04-26 09:48:40 -07:00
Sean McManus 324cd1bd59 Fix status bar UI for user settings.json. (#10887) 2023-04-25 17:46:04 -07:00
Sean McManus ad5fe867c5 Fix custom browse config not getting cleared. (#10886) 2023-04-25 17:24:37 -07:00
Sean McManus cc862b039e Fix status UI state after pause/cancel of code analysis. (#10885) 2023-04-25 14:22:39 -07:00
Michelle Matias 446eb16e7a Fix localization IDs (#10873) 2023-04-25 14:04:02 -07:00
Alex Hsu e09702e5dc [Auto] Localization - Translated Strings (#10767) 2023-04-25 13:38:34 -07:00
Sean McManus 48000bdbda Fix status bar buttons missing for settings.json in C++ projects (#10876)
* Fix status bar for C++ settings.json.
2023-04-25 11:57:13 -07:00
Sean McManus f8b8e094f9 Fix initial code analysis status loc. (#10883) 2023-04-25 11:35:36 -07:00
Sean McManus 9762fe5397 Merge pull request #10862 from microsoft/main
Merge for 1.15.3 (2nd time)
2023-04-21 19:00:16 -07:00
Sean McManus 5780e18487 Fix a couple Configure IntelliSense bugs with config providers (#10861)
* Fix a couple more Configure IntelliSense bugs.
2023-04-21 18:58:10 -07:00
Michelle Matias 3c6f603aea remove old loc (#10857) 2023-04-21 17:15:33 -07:00
Sean McManus 35ab3eb26d Add Configure IntelliSense tooltip (#10858)
* Add Configure IntelliSense tooltip.
2023-04-21 16:51:00 -07:00
Sean McManus 302f4226cf Fix configuration status not appearing. (#10852)
* Fix configuration status not appearing.
* Update changelog date.
2023-04-21 14:13:44 -07:00
Sean McManus 377896c30a Merge pull request #10846 from microsoft/main
Merge for 1.15.3
2023-04-20 18:55:05 -07:00
Sean McManus 13893fbfb2 Update the package.json version. (#10845) 2023-04-20 18:31:47 -07:00
Sean McManus d603786a13 Set user scope compiler path if no trusted compiler is set. (#10844)
* Set user scope compiler path if no trusted compiler is set.
* Fix missing await.
* Add "@typescript-eslint/no-misused-promises" linter rule.
2023-04-20 18:29:20 -07:00
Sean McManus 407342f482 Add collapsing to an icon. Fix a major bug. (#10838)
* Add collapsing to an icon. Fix a major bug.
2023-04-18 19:02:21 -07:00
Sean McManus 5c8b812075 Various fixes related to my previous PRs. (#10836)
* Various fixes related to my previous PRs.
2023-04-18 14:33:18 -07:00
Sean McManus 2a2d928075 Fix configure IntelliSense UI bugs with non-C/C++ files (and other small fixes) (#10829)
* Fix configure IntelliSense UI bugs with non-C/C++ files.
* Fix "Configure IntelliSense" not going away until reload window.
* Move location to the left of the config.
* Refactor isCpp
2023-04-17 17:28:18 -07:00
Sean McManus e160229500 Fix bug with Configure IntelliSense appearing when it shouldn't. (#10826) 2023-04-14 16:53:16 -07:00
Sean McManus 60cfb9998d Fix undefined reference of trustedCompilerFound. (#10824) 2023-04-13 17:15:40 -07:00
Sean McManus 6ec8c14a98 Revert previous incorrect changes. Remove pevents. (#10823) 2023-04-13 13:44:51 -07:00
Sean McManus a395b8492a Merge pull request #10821 from microsoft/seanmcm/1_15_3_preliminary
Preliminary merge for 1.15.3
2023-04-13 11:21:55 -07:00
Sean McManus 17e337c874 Merge branch 'main' into seanmcm/1_15_3_preliminary 2023-04-13 10:35:11 -07:00
Michelle Matias 6f4403cf05 1.14.5 patch (#10724) 2023-03-22 02:51:27 -07:00
Sean McManus ec47886d72 Merge pull request #10609 from microsoft/main
Merge for 1.14.4 (2nd time)
2023-02-27 17:51:11 -08:00
472 changed files with 80024 additions and 61393 deletions
+3287 -125
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -32,7 +32,7 @@
"eslint-plugin-prettier": "^4.2.1",
"husky": "^8.0.1",
"mocha": "^10.0.0",
"mongodb": "^4.8.1",
"mongodb": "^4.17.0",
"nock": "^13.2.9",
"prettier": "2.7.1",
"ts-node": "^10.9.1",
+14 -47
View File
@@ -1,47 +1,14 @@
name: CI (Linux)
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js 16
uses: actions/setup-node@v3
with:
node-version: 16
- name: Install Dependencies
run: yarn install
working-directory: Extension
- name: Compile Sources
run: yarn run compile
working-directory: Extension
- name: Run Linter
run: yarn run lint
working-directory: Extension
- name: Compile Test Sources
run: yarn run pretest
working-directory: Extension
- name: Run unit tests
uses: GabrielBB/[email protected]
with:
run: yarn run unitTests
working-directory: Extension
# - name: Run languageServer integration tests
# uses: GabrielBB/[email protected]
# with:
# run: yarn run integrationTests
# working-directory: Extension
name: CI (Linux)
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
job:
uses: ./.github/workflows/job-compile-and-test.yml
with:
runner-env: ubuntu-22.04
platform: linux
+15 -47
View File
@@ -1,47 +1,15 @@
name: CI (Mac)
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js 16
uses: actions/setup-node@v3
with:
node-version: 16
- name: Install Dependencies
run: yarn install --network-timeout 100000
working-directory: Extension
- name: Compile Sources
run: yarn run compile
working-directory: Extension
- name: Run Linter
run: yarn run lint
working-directory: Extension
- name: Compile Test Sources
run: yarn run pretest
working-directory: Extension
- name: Run unit tests
uses: GabrielBB/[email protected]
with:
run: yarn run unitTests
working-directory: Extension
# - name: Run languageServer integration tests
# uses: GabrielBB/[email protected]
# with:
# run: yarn run integrationTests
# working-directory: Extension
name: CI (Mac)
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
job:
uses: ./.github/workflows/job-compile-and-test.yml
with:
runner-env: macos-12
platform: mac
yarn-args: --network-timeout 100000
+14 -43
View File
@@ -1,43 +1,14 @@
name: CI (Windows)
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js 16
uses: actions/setup-node@v3
with:
node-version: 16
- name: Install Dependencies
run: yarn install
working-directory: Extension
- name: Compile Sources
run: yarn run compile
working-directory: Extension
- name: Run Linter
run: yarn run lint
working-directory: Extension
- name: Compile Test Sources
run: yarn run pretest
working-directory: Extension
- name: Run unit tests
run: yarn run unitTests
working-directory: Extension
# - name: Run languageServer integration tests
# run: yarn run integrationTests
# working-directory: Extension
name: CI (Windows)
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
job:
uses: ./.github/workflows/job-compile-and-test.yml
with:
runner-env: windows-2022
platform: windows
@@ -0,0 +1,73 @@
# Reuable workflow for compiling and testing extension.
name: Compile and test extension
on:
workflow_call:
inputs:
runner-env:
required: true
type: string
platform:
# Expects 'mac', 'linux', or 'windows'
required: true
type: string
yarn-args:
type: string
jobs:
build:
runs-on: ${{ inputs.runner-env }}
steps:
- uses: actions/checkout@v3
- name: Use Node.js 16
uses: actions/setup-node@v3
with:
node-version: 16
- name: Install Dependencies
run: yarn install ${{ inputs.yarn-args }}
working-directory: Extension
- name: Compile Sources
run: yarn run compile
working-directory: Extension
- name: Run Linter
run: yarn run lint
working-directory: Extension
- name: Run unit tests
run: yarn test
working-directory: Extension
# NOTE : We can't run the test that require the native binary files
# yet -- there will be an update soon that allows the tester to
# acquire them on-the-fly
# - name: Run languageServer integration tests
# if: ${{ inputs.platform == 'windows' }}
# run: yarn test --scenario=SingleRootProject
# working-directory: Extension
# - name: Run E2E IntelliSense features tests
# if: ${{ inputs.platform == 'windows' }}
# run: yarn test --scenario=MultirootDeadlockTest
# working-directory: Extension
# NOTE: For mac/linux run the tests with xvfb-action for UI support.
# Another way to start xvfb https://github.com/microsoft/vscode-test/blob/master/sample/azure-pipelines.yml
# - name: Run languageServer integration tests (xvfb)
# if: ${{ inputs.platform == 'mac' || inputs.platform == 'linux' }}
# uses: coactions/setup-xvfb@v1
# with:
# run: yarn test --scenario=SingleRootProject
# working-directory: Extension
# - name: Run E2E IntelliSense features tests (xvfb)
# if: ${{ inputs.platform == 'mac' || inputs.platform == 'linux' }}
# uses: coactions/setup-xvfb@v1
# with:
# run: yarn test --scenario=MultirootDeadlockTest
# working-directory: Extension
+3 -3
View File
@@ -1,4 +1,4 @@
*.js
test/**/index.ts
test/**/runTest.ts
tools/prepublish.js
dist/
vscode*.d.ts
+62 -51
View File
@@ -1,4 +1,9 @@
module.exports = {
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/strict",
],
"env": {
"browser": true,
"es6": true,
@@ -6,19 +11,33 @@ module.exports = {
},
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": "tsconfig.json",
"sourceType": "module"
"project": ["tsconfig.json", ".scripts/tsconfig.json"],
"ecmaVersion": 2022,
"sourceType": "module",
"warnOnUnsupportedTypeScriptVersion": false,
},
"plugins": [
"@typescript-eslint",
"@typescript-eslint/tslint",
"eslint-plugin-jsdoc",
"@typescript-eslint/eslint-plugin-tslint",
"@typescript-eslint/eslint-plugin",
"eslint-plugin-import",
"eslint-plugin-header"
],
"rules": {
"indent": [
"warn",
4,
{
"SwitchCase": 1,
"ObjectExpression": "first"
}
],
"@typescript-eslint/indent": [
"error", 4
],
"@typescript-eslint/adjacent-overload-signatures": "error",
"@typescript-eslint/array-type": "error",
"@typescript-eslint/await-thenable": "error",
"camelcase": "off",
"@typescript-eslint/naming-convention": [
"error",
@@ -27,7 +46,6 @@ module.exports = {
"format": ["PascalCase"]
}
],
"@typescript-eslint/indent": "error",
"@typescript-eslint/member-delimiter-style": [
"error",
{
@@ -41,8 +59,20 @@ module.exports = {
}
}
],
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-extraneous-class": "off",
"no-case-declarations": "off",
"no-useless-escape": "off",
"no-floating-decimal": "error",
"keyword-spacing": ["error", { "before": true, "overrides": { "this": { "before": false } } }],
"arrow-spacing": ["error", { "before": true, "after": true }],
"semi-spacing": ["error", { "before": false, "after": true }],
"no-extra-parens": ["error", "all", { "nestedBinaryExpressions": false, "ternaryOperandBinaryExpressions": false }],
"@typescript-eslint/no-array-constructor": "error",
"@typescript-eslint/no-useless-constructor": "error",
"@typescript-eslint/no-for-in-array": "error",
"@typescript-eslint/no-misused-new": "error",
"@typescript-eslint/no-misused-promises": "error",
"@typescript-eslint/no-namespace": "error",
"@typescript-eslint/no-non-null-assertion": "error",
"@typescript-eslint/no-extra-non-null-assertion": "error",
@@ -56,8 +86,16 @@ module.exports = {
"@typescript-eslint/triple-slash-reference": "error",
"@typescript-eslint/type-annotation-spacing": "error",
"@typescript-eslint/unified-signatures": "error",
"@typescript-eslint/no-floating-promises": "error",
"@typescript-eslint/method-signature-style": ["error", "method"],
"@typescript-eslint/space-infix-ops": "error",
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": ["error", { "argsIgnorePattern": "^_" }],
"@typescript-eslint/no-unnecessary-boolean-literal-compare": "error",
"arrow-body-style": "error",
"comma-dangle": "error",
"comma-spacing": "off",
"@typescript-eslint/comma-spacing": "error",
"constructor-super": "error",
"curly": "error",
"eol-last": "error",
@@ -79,17 +117,19 @@ module.exports = {
"no-fallthrough": "error",
"no-invalid-this": "error",
"no-irregular-whitespace": "error",
"rest-spread-spacing": ["error", "never"],
"no-multiple-empty-lines": ["error", { "max": 1, "maxEOF": 1, "maxBOF": 0 }],
"no-new-wrappers": "error",
"no-redeclare": "error",
"no-return-await": "error",
"no-sequences": "error",
"no-sparse-arrays": "error",
"no-trailing-spaces": "error",
"no-multi-spaces": "error",
"no-undef-init": "error",
"no-unsafe-finally": "error",
"no-unused-expressions": "error",
"no-unused-labels": "error",
"space-before-blocks": "error",
"no-var": "error",
"one-var": [
"error",
@@ -102,54 +142,25 @@ module.exports = {
"never"
],
"spaced-comment": [
"error",
"always"
"off",
"always",
{ "line": { "exceptions": ["/"] } } // triple slash directives
],
"use-isnan": "error",
"valid-typeof": "error",
"yoda": "error",
"@typescript-eslint/tslint/config": [
"error",
{
"rules": {
"encoding": true,
"file-header": [
true,
".*"
],
"import-spacing": true,
"match-default-export-name": true,
"no-boolean-literal-compare": true,
"no-mergeable-namespace": true,
"no-reference-import": true,
"no-unnecessary-callback-wrapper": true,
"number-literal-format": true,
"one-line": [
true,
"check-catch",
"check-finally",
"check-else",
"check-open-brace",
"check-whitespace"
],
"prefer-method-signature": true,
"prefer-while": true,
"typedef": [
true,
"variable-declaration",
"call-signature",
"variable-declaration-ignore-function"
],
"whitespace": [
true,
"check-branch",
"check-operator",
"check-separator",
"check-preblock",
"check-type"
]
}
}
]
"space-infix-ops": "error",
"header/header": [
"warn",
"block",
[
" --------------------------------------------------------------------------------------------",
" * Copyright (c) Microsoft Corporation. All Rights Reserved.",
" * See 'LICENSE' in the project root for license information.",
" * ------------------------------------------------------------------------------------------ "
],
],
}
};
+1
View File
@@ -34,3 +34,4 @@ localized_string_ids.h
src/nativeStrings.ts
vscode*.d.ts
.scripts/_*
+64
View File
@@ -0,0 +1,64 @@
/* --------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All Rights Reserved.
* See 'LICENSE' in the project root for license information.
* ------------------------------------------------------------------------------------------ */
import { error } from 'node:console';
import { resolve, sep } from 'node:path';
import { filepath } from '../src/Utility/Filesystem/filepath';
import { verbose } from '../src/Utility/Text/streams';
import { $root, Git, brightGreen, cyan, getModifiedIgnoredFiles, rimraf } from './common';
// notes:
// list all gitignore'd files that are modified: `git clean -Xd -n`
// list all untracked and ignored files that are modified/created: `git clean -Xd -n`
export async function main() {
await rimraf(resolve($root, 'dist'));
}
export async function all() {
await rimraf(...(await getModifiedIgnoredFiles()).filter(each => !each.includes('node_modules')));
}
export async function reset() {
verbose(`Resetting all .gitignored files in extension`);
await rimraf(...await getModifiedIgnoredFiles());
}
async function details(files: string[]) {
let all = await Promise.all(files.filter(each => each).map(async (each) => {
// eslint-disable-next-line @typescript-eslint/no-unused-vars
const [filename, stats ] = await filepath.stats(each);
return {
filename: stats.isDirectory() ? cyan(`${each}${sep}**`) : brightGreen(`${each}`),
date: stats.mtime.toLocaleDateString().replace(/\b(\d)\//g, '0$1\/'),
time: stats.mtime.toLocaleTimeString().replace(/^(\d)\:/g, '0$1:'),
modified: stats.mtime
};
}));
all = all.sort((a, b) => a.modified.getTime() - b.modified.getTime());
// print a formatted table so the date and time are aligned
const max = all.reduce((max, each) => Math.max(max, each.filename.length), 0);
all.forEach(each => console.log(` ${each.filename.padEnd(max)} [${each.date} ${each.time}]`));
console.log('');
}
export async function show(opt?: string) {
switch (opt?.toLowerCase()) {
case 'new':
console.log(cyan('\n\nNew files:'));
const r = await Git('ls-files', '--others', '--exclude-standard', '-z');
return details(r.stdio.all().map(each => resolve(each.trim().replace(/\0/g, ''))));
case undefined:
case '':
case 'ignored':
case 'untracked':
console.log(cyan('\n\nUntracked+Ignored files:'));
return details(await getModifiedIgnoredFiles());
default:
return error(`Unknown option '${opt}'`);
}
}
+40
View File
@@ -0,0 +1,40 @@
/* --------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All Rights Reserved.
* See 'LICENSE' in the project root for license information.
* ------------------------------------------------------------------------------------------ */
import { spawnSync } from 'child_process';
import { verbose } from '../src/Utility/Text/streams';
import { $args, $root, $scenario, assertAnyFile, brightGreen, gray, green, pwd } from './common';
import { resolve } from 'path';
import { getTestInfo } from '../test/common/selectTests';
import { install, options } from "./vscode";
export { install, reset } from './vscode';
export async function main() {
let ti = await getTestInfo($scenario);
if (!ti) {
// try using the first arg as a scenario name or location
ti = await getTestInfo($args[0], $args[0] ? resolve(pwd, $args[0]) : undefined);
if (ti) {
$args[0] = ti.workspace;
}
} else {
// we found it
$args.unshift(ti.workspace);
}
await assertAnyFile('dist/src/main.js', `The extension entry point '${$root}/dist/src/main.js is missing. You should run ${brightGreen("yarn compile")}\n\n`);
const { cli, args } = await install();
// example of installing an extension into code
//verbose(`Installing release version of 'ms-vscode.cpptools'`);
//spawnSync(cli, [...args, '--install-extension', 'ms-vscode.cpptools'], { encoding: 'utf-8', stdio: 'ignore' })
verbose(green('Launch VSCode'));
const ARGS = [...args, ...options.launchArgs.filter(each => !each.startsWith('--extensions-dir=') && !each.startsWith('--user-data-dir=')), `--extensionDevelopmentPath=${$root}`, ...$args ];
verbose(gray(`${cli}\n ${ [...ARGS ].join('\n ')}`));
spawnSync(cli, ARGS, { encoding: 'utf-8', stdio: 'ignore', env: { ...process.env, DONT_PROMPT_WSL_INSTALL:"1" } });
}
+343
View File
@@ -0,0 +1,343 @@
/* --------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All Rights Reserved.
* See 'LICENSE' in the project root for license information.
* ------------------------------------------------------------------------------------------ */
import { Command, CommandFunction } from '../src/Utility/Process/program';
import { ok } from 'assert';
import { CommentJSONValue, parse, stringify } from 'comment-json';
import { mkdir as md, readFile, rm, writeFile } from 'fs/promises';
import { IOptions, glob as globSync } from 'glob';
import { dirname, resolve } from 'path';
import { chdir, cwd, env } from 'process';
import { setImmediate } from 'timers/promises';
import { promisify } from 'util';
import { filepath } from '../src/Utility/Filesystem/filepath';
import { is } from '../src/Utility/System/guards';
import { verbose } from '../src/Utility/Text/streams';
export const $root = resolve(`${__dirname}/..`);
export let $cmd = 'main';
export let $scenario = '';
// loop through the args and pick out --scenario=... and remove it from the $args and set $scenario
process.argv.slice(2).filter(each => !(each.startsWith('--scenario=') && ($scenario = each.substring('--scenario='.length))));
export const $args = process.argv.slice(2).filter(each => !each.startsWith('--'));
export const $switches = process.argv.slice(2).filter(each => each.startsWith('--'));
/** enqueue the call to the callback function to happen on the next available tick, and return a promise to the result */
export function then<T>(callback: () => Promise<T> | T): Promise<T> {
return setImmediate().then(callback);
}
export const pwd = env.INIT_CWD ?? cwd();
verbose(yellow(`pwd: ${pwd}`));
// ensure we're in the extension folder.
chdir($root);
// dump unhandled async errors to the console and exit.
process.on('unhandledRejection', (reason: any, _promise) => {
error(`${reason?.stack?.split(/\r?\n/).filter(l => !l.includes('node:internal') && !l.includes('node_modules')).join('\n')}`);
process.exit(1);
});
const git = new Command('git');
export const Git = async (...args: Parameters<Awaited<CommandFunction>>) => (await git)(...args);
export const GitClean = async (...args: Parameters<Awaited<CommandFunction>>) => (await new Command(await git, 'clean'))(...args);
export async function getModifiedIgnoredFiles() {
const {code, error, stdio } = await GitClean('-Xd', '-n');
if (code) {
throw new Error(`\n${error.all().join('\n')}`);
}
// return the full path of files that would be removed.
return Promise.all(stdio.filter("Would remove").map((s) => filepath.exists(s.replace(/^Would remove /, ''), $root)).filter(p => p));
}
export async function rimraf(...paths: string[]) {
const all = [];
for (const each of paths) {
if (!each) {
continue;
}
if (await filepath.isFolder(each)) {
verbose(`Removing folder ${red(each)}`);
all.push(rm(each, {recursive: true, force: true}));
continue;
}
verbose(`Removing file ${red(each)}`);
all.push(rm(each, {force: true}));
}
await Promise.all(all);
}
export async function mkdir(filePath: string) {
const [fullPath, info] = await filepath.stats(filePath, $root);
if (info) {
if (info.isDirectory()) {
return fullPath;
}
throw new Error(`Cannot create directory '${filePath}' because there is a file there.`);
}
await md(fullPath, { recursive: true });
return fullPath;
}
export const glob: (pattern: string, options?: IOptions) => Promise<string[]> = promisify(globSync);
export async function write(filePath: string, data: Buffer | string) {
await mkdir(dirname(filePath));
if (await filepath.isFile(filePath)) {
const content = await readFile(filePath);
if (is.string(data)) {
// if we're passed a text file, we should match the line endings of the existing file.
const textContent = content.toString();
// normalize the line endings to the same as the current file.
data = textContent.indexOf('\r\n') > -1 ? data.replace(/\r\n|\n/g, '\r\n') : data.replace(/\r\n|\n/g, '\n');
// if the text content is a match, we don't have to change anything
if (textContent === data) {
verbose(`Text file at '${filePath}' is up to date.`);
return;
}
} else {
// if the binary content is a match, we don't have to change anything
if (content.equals(data)) {
verbose(`File at '${filePath}' is up to date.`);
return;
}
}
}
verbose(`Writing file '${filePath}'`);
await writeFile(filePath, data);
}
export async function updateFiles(files: string[], dest: string | Promise<string>) {
const target = is.promise(dest) ? await dest : dest;
await Promise.all(files.map(async (each) => {
const sourceFile = await filepath.isFile(each, $root);
if (sourceFile) {
const targetFile = resolve(target, each);
await write(targetFile, await readFile(sourceFile));
}
}));
}
export async function go() {
if (require.main) {
// loop through the args and pick out the first non --arg and remove it from the $args and set $cmd
for (let i = 0; i < $args.length; i++) {
const each = $args[i];
if (!each.startsWith('--') && require.main.exports[each]) {
$cmd = each;
$args.splice(i, 1);
break;
}
}
verbose(`${yellow("Running task:")} ${green($cmd)} ${green($args.join(' '))}`);
require.main.exports[$cmd](...$args);
}
}
void then(go);
export async function read(filename: string) {
const content = await readFile(filename);
ok(content, `File '${filename}' has no content`);
return content.toString();
}
export async function readJson(filename: string, fallback = {}): Promise<CommentJSONValue> {
try {
return parse(await read(filename));
} catch {
return fallback as CommentJSONValue;
}
}
export async function writeJson(filename: string, object: CommentJSONValue) {
await write(filename, stringify(object, null, 4));
}
export function error(text: string) {
console.error(`\n${red('ERROR')}: ${text}`);
return true;
}
export function warn(text: string) {
console.error(`\n${yellow('WARNING')}: ${text}`);
return true;
}
export function note(text: string) {
console.error(`\n${cyan('NOTE')}: ${text}`);
}
export function underline(text: string) {
return `\u001b[4m${text}\u001b[0m`;
}
export function bold(text: string) {
return `\u001b[1m${text}\u001b[0m`;
}
export function dim(text: string) {
return `\u001b[2m${text}\u001b[0m`;
}
export function brightGreen(text: string) {
return `\u001b[38;2;19;161;14m${text}\u001b[0m`;
}
export function green(text: string) {
return `\u001b[38;2;78;154;6m${text}\u001b[0m`;
}
export function brightWhite(text: string) {
return `\u001b[38;2;238;238;236m${text}\u001b[0m`;
}
export function gray(text: string) {
return `\u001b[38;2;117;113;94m${text}\u001b[0m`;
}
export function yellow(text: string) {
return `\u001b[38;2;252;233;79m${text}\u001b[0m`;
}
export function red(text: string) {
return `\u001b[38;2;197;15;31m${text}\u001b[0m`;
}
export function cyan(text: string) {
return `\u001b[38;2;0;174;239m${text}\u001b[0m`;
}
export const hr = "===============================================================================";
export function heading(text: string, level = 1) {
switch (level) {
case 1:
return `${underline(bold(text))}`;
case 2:
return `${brightGreen(text)}`;
case 3:
return `${green(text)}`;
}
return `${bold(text)}\n`;
}
export function optional(text: string) {
return gray(text);
}
export function cmdSwitch(text: string) {
return optional(`--${text}`);
}
export function command(text: string) {
return brightWhite(bold(text));
}
export function hint(text: string) {
return green(dim(text));
}
export function count(num: number) {
return gray(`${num}`);
}
export function position(text: string) {
return gray(`${text}`);
}
export async function assertAnyFolder(oneOrMoreFolders: string | string[], errorMessage?: string): Promise<string> {
oneOrMoreFolders = is.array(oneOrMoreFolders) ? oneOrMoreFolders : [oneOrMoreFolders];
for (const each of oneOrMoreFolders) {
const result = await filepath.isFolder(each, $root);
if (result) {
verbose(`Folder ${brightGreen(each)} exists.`);
return result;
}
}
if (errorMessage) {
if (!$switches.includes('--quiet')) {
error(errorMessage);
}
process.exit(1);
}
}
export async function assertAnyFile(oneOrMoreFiles: string | string[], errorMessage?: string): Promise<string> {
oneOrMoreFiles = is.array(oneOrMoreFiles) ? oneOrMoreFiles : [oneOrMoreFiles];
for (const each of oneOrMoreFiles) {
const result = await filepath.isFile(each, $root);
if (result) {
verbose(`Folder ${brightGreen(each)} exists.`);
return result;
}
}
if (errorMessage) {
if (!$switches.includes('--quiet')) {
error(errorMessage);
}
process.exit(1);
}
}
const quiet = process.argv.includes('--quiet');
export async function checkPrep() {
let failing = false;
failing = !await assertAnyFolder('dist/test') && (quiet || warn(`The compiled test files are not in place.`)) || failing;
failing = !await assertAnyFolder('dist/walkthrough') && (quiet || warn(`The walkthrough files are not in place.`)) || failing;
failing = !await assertAnyFolder('dist/html') && (quiet || warn(`The html files are not in place.`)) || failing;
failing = !await assertAnyFolder('dist/schema') && (quiet || warn(`The schema files are not in place.`)) || failing;
failing = !await assertAnyFile('dist/nls.metadata.json') && (quiet || warn(`The extension translation file '${$root}/dist/nls.metadata.json is missing.`)) || failing;
failing = await checkDTS() || failing;
if (!failing) {
verbose('Prep files appear to be in place.');
}
return failing;
}
export async function checkCompiled() {
let failing = false;
failing = await checkDTS() || failing;
failing = !await assertAnyFile('dist/src/main.js') && (quiet || warn(`The extension entry point '${$root}/dist/src/main.js is missing.`)) || failing;
if (!failing) {
verbose('Compiled files appear to be in place.');
}
return failing;
}
export async function checkDTS() {
let failing = false;
failing = !await assertAnyFile('vscode.d.ts') && (quiet || warn(`The VSCode import file '${$root}/dist/src/vscode.d.ts is missing.`)) || failing;
failing = !await assertAnyFile('vscode.proposed.terminalDataWriteEvent.d.ts') && (quiet || warn(`The VSCode import file '${$root}/dist/src/vscode.proposed.terminalDataWriteEvent.d.ts is missing.`)) || failing;
if (!failing) {
verbose('VSCode d.ts files appear to be in place.');
}
return failing;
}
export async function checkBinaries() {
let failing = false;
failing = !await assertAnyFile(['bin/cpptools.exe', 'bin/cpptools']) && (quiet || warn(`The native binary files are not present. You should either build or install the native binaries\n\n.`)) || failing;
if (!failing) {
verbose('Native binary files appear to be in place.');
}
return failing;
}
+28
View File
@@ -0,0 +1,28 @@
/* --------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All Rights Reserved.
* See 'LICENSE' in the project root for license information.
* ------------------------------------------------------------------------------------------ */
import { watch as watchFiles } from 'fs/promises';
import { filepath } from '../src/Utility/Filesystem/filepath';
import { verbose } from '../src/Utility/Text/streams';
import { $root, glob, mkdir, updateFiles } from './common';
export async function main() {
verbose(`Copying walkthrough media to extension/dist folder`);
await updateFiles(await glob('walkthrough/images/**/*'), mkdir('dist'));
}
export async function watch() {
const source = await filepath.isFolder('walkthrough/images', $root);
if (source) {
verbose(`Watching ${source} folder for changes.`);
console.log('Press Ctrl+C to exit.');
// eslint-disable-next-line @typescript-eslint/no-unused-vars
for await (const event of watchFiles(source, {recursive: true })) {
await main();
}
}
}
+134
View File
@@ -0,0 +1,134 @@
/* --------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All Rights Reserved.
* See 'LICENSE' in the project root for license information.
* ------------------------------------------------------------------------------------------ */
import { parse } from 'comment-json';
import { resolve } from 'path';
import { read, write } from './common';
// ****************************
// Command: generate-native-strings
// The following is used to generate nativeStrings.ts and localized_string_ids.h from ./src/nativeStrings.json
// If adding localized strings to the native side, start by adding it to nativeStrings.json and use this to generate the others.
// ****************************
export async function main() {
const $root = resolve(`${__dirname}/..`);
const stringTable = parse(await read(`${$root}/src/nativeStrings.json`)) as any;
let nativeEnumContent = "";
let nativeStringTableContent = "";
let typeScriptSwitchContent = "";
let stringIndex = 1;
for (const property in stringTable) {
let stringValue = stringTable[property];
let hintValue;
if (typeof stringValue !== "string") {
hintValue = stringValue.hint;
stringValue = stringValue.text;
}
// Add to native enum
nativeEnumContent += ` ${property} = ${stringIndex},\n`;
// Add to native string table
nativeStringTableContent += ` ${JSON.stringify(stringValue)},\n`;
// Add to TypeScript switch
// Skip empty strings, which can be used to prevent enum/index reordering
if (stringValue !== "") {
// It's possible that a translation may skip "{#}" entries, so check for up to 50 of them.
let numArgs = 0;
for (let i = 0; i < 50; i++) {
if (stringValue.includes(`{${i}}`)) {
numArgs = i + 1;
}
}
typeScriptSwitchContent += ` case ${stringIndex}:\n`;
if (numArgs !== 0) {
typeScriptSwitchContent += ` if (stringArgs) {\n`;
if (hintValue) {
typeScriptSwitchContent += ` message = localize({ key: ${JSON.stringify(property)}, comment: [${JSON.stringify(hintValue)}] }, ${JSON.stringify(stringValue)}`;
} else {
typeScriptSwitchContent += ` message = localize(${JSON.stringify(property)}, ${JSON.stringify(stringValue)}`;
}
for (let i = 0; i < numArgs; i++) {
typeScriptSwitchContent += `, stringArgs[${i}]`;
}
typeScriptSwitchContent += `);\n break;\n }\n`;
}
if (hintValue) {
typeScriptSwitchContent += ` message = localize({ key: ${JSON.stringify(property)}, comment: [${JSON.stringify(hintValue)}] }, ${JSON.stringify(stringValue)}`;
} else {
typeScriptSwitchContent += ` message = localize(${JSON.stringify(property)}, ${JSON.stringify(stringValue)}`;
}
typeScriptSwitchContent += `);\n break;\n`;
}
++stringIndex;
}
// --------------------------------------------------------------------------------------------
// Generate the TypeScript file
// --------------------------------------------------------------------------------------------
const typeScriptContent = `/* --------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All Rights Reserved.
* See 'LICENSE' in the project root for license information.
* ------------------------------------------------------------------------------------------ */
// ****** This file is generated from nativeStrings.json. Do not edit this file directly. ******
'use strict';
import * as nls from 'vscode-nls';
nls.config({ messageFormat: nls.MessageFormat.bundle, bundleFormat: nls.BundleFormat.standalone })();
const localize: nls.LocalizeFunc = nls.loadMessageBundle();
export const localizedStringCount: number = ${stringIndex};
export function lookupString(stringId: number, stringArgs?: string[]): string {
let message: string = "";
switch (stringId) {
case 0:
// Special case for blank string
break;
${typeScriptSwitchContent}
default:
console.assert(\"Unrecognized string ID\");
break;
}
return message;
}
`;
// If the file isn't there, or the contents are different, write it out
await write(`${$root}/src/nativeStrings.ts`, typeScriptContent);
// --------------------------------------------------------------------------------------------
// Generate the native string header file
// --------------------------------------------------------------------------------------------
const nativeContents = `/* --------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All Rights Reserved.
* See 'LICENSE' in the project root for license information.
* ------------------------------------------------------------------------------------------ */
// ****** This file is generated from nativeStrings.json. Do not edit this file directly. ******
#pragma once
// NOLINTBEGIN(modernize-raw-string-literal)
enum class localized_string_id : unsigned int
{
blank = 0,
${nativeEnumContent}};
inline static const char *localizable_strings[] = {
"",
${nativeStringTableContent}};
// NOLINTEND(modernize-raw-string-literal)
`;
// If the file isn't there, or the contents are different, write it out
await write(`${$root}/localized_string_ids.h`, nativeContents);
}
@@ -1,10 +1,12 @@
/* --------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
* Copyright (c) Microsoft Corporation. All Rights Reserved.
* See 'LICENSE' in the project root for license information.
* ------------------------------------------------------------------------------------------ */
import * as fs from 'fs';
import * as os from 'os';
/* eslint-disable no-prototype-builtins */
import { resolve } from 'path';
import { $root, read, write } from './common';
function appendFieldsToObject(reference: any, obj: any): any {
// Make sure it is an object type
@@ -54,7 +56,7 @@ function updateDefaults(object: any, defaults: any): any {
function refReplace(definitions: any, ref: any): any {
// $ref is formatted as "#/definitions/ObjectName"
const referenceStringArray: string[] = ref['$ref'].split('/');
const referenceStringArray: string[] = ref.$ref.split('/');
// Getting "ObjectName"
const referenceName: string = referenceStringArray[referenceStringArray.length - 1];
@@ -69,7 +71,7 @@ function refReplace(definitions: any, ref: any): any {
ref = appendFieldsToObject(reference, ref);
// Remove $ref field
delete ref['$ref'];
delete ref.$ref;
return ref;
}
@@ -114,10 +116,10 @@ function mergeReferences(baseDefinitions: any, additionalDefinitions: any): void
}
}
function generateOptionsSchema(): void {
const packageJSON: any = JSON.parse(fs.readFileSync('package.json').toString());
const schemaJSON: any = JSON.parse(fs.readFileSync('tools/OptionsSchema.json').toString());
const symbolSettingsJSON: any = JSON.parse(fs.readFileSync('tools/VSSymbolSettings.json').toString());
export async function main() {
const packageJSON: any = JSON.parse(await read(resolve($root, 'package.json')));
const schemaJSON: any = JSON.parse(await read(resolve($root, 'tools/OptionsSchema.json')));
const symbolSettingsJSON: any = JSON.parse(await read(resolve($root, 'tools/VSSymbolSettings.json')));
mergeReferences(schemaJSON.definitions, symbolSettingsJSON.definitions);
@@ -132,16 +134,11 @@ function generateOptionsSchema(): void {
packageJSON.contributes.debuggers[1].configurationAttributes.launch = schemaJSON.definitions.CppvsdbgLaunchOptions;
packageJSON.contributes.debuggers[1].configurationAttributes.attach = schemaJSON.definitions.CppvsdbgAttachOptions;
let content: string = JSON.stringify(packageJSON, null, 2);
if (os.platform() === 'win32') {
content = content.replace(/\n/gm, "\r\n");
}
let content: string = JSON.stringify(packageJSON, null, 4);
// We use '\u200b' (unicode zero-length space character) to break VS Code's URL detection regex for URLs that are examples. This process will
// convert that from the readable espace sequence, to just an invisible character. Convert it back to the visible espace sequence.
content = content.replace(/\u200b/gm, "\\u200b");
content = content.replace(/\u200b/gm, "\\u200b") + "\n";
fs.writeFileSync('package.json', content);
await write('package.json', content);
}
generateOptionsSchema();
+95
View File
@@ -0,0 +1,95 @@
/* --------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All Rights Reserved.
* See 'LICENSE' in the project root for license information.
* ------------------------------------------------------------------------------------------ */
import * as fs from "fs";
import * as path from 'path';
import { parseString } from 'xml2js';
import { mkdir, write } from './common';
export async function main() {
const localizeRepoPath = process.argv[2];
const cpptoolsRepoPath = process.argv[3];
if (!localizeRepoPath || !cpptoolsRepoPath) {
console.error(`ERROR: Usage: ${path.parse(process.argv[0]).base} ${path.parse(process.argv[1]).base} <Localize repo path> <vscode-cpptools repo path>`);
return;
}
console.log("Importing EDGE strings from Localize repo: " + localizeRepoPath);
console.log("Writing to cpptools repo: " + cpptoolsRepoPath);
if (!fs.existsSync(path.join(localizeRepoPath, ".git"))) {
console.error("ERROR: Localize repo submodule is not initialized in Localize repo");
return;
}
const languages = [
{ id: "zh-tw", folderName: "cht", transifexId: "zh-hant" },
{ id: "zh-cn", folderName: "chs", transifexId: "zh-hans" },
{ id: "fr", folderName: "fra" },
{ id: "de", folderName: "deu" },
{ id: "it", folderName: "ita" },
{ id: "es", folderName: "esn" },
{ id: "ja", folderName: "jpn" },
{ id: "ko", folderName: "kor" },
{ id: "ru", folderName: "rus" },
{ id: "bg", folderName: "bul" }, // VS Code supports Bulgarian, but VS is not currently localized for those languages.
{ id: "hu", folderName: "hun" }, // VS Code supports Hungarian, but VS is not currently localized for those languages.
{ id: "pt-br", folderName: "ptb", transifexId: "pt-BR" },
{ id: "tr", folderName: "trk" },
{ id: "cs", folderName: "csy" },
{ id: "pl", folderName: "plk" }
];
const locFolderNames = fs.readdirSync(localizeRepoPath).filter(f => fs.lstatSync(path.join(localizeRepoPath, f)).isDirectory());
for (const locFolderName of locFolderNames) {
const lclPath = path.join(localizeRepoPath, locFolderName, "vc/vc/cpfeui.dll.lcl");
const languageInfo = languages.find(l => l.folderName === locFolderName);
if (!languageInfo) {
return;
}
const languageId = languageInfo.id;
const outputLanguageFolder = path.join(cpptoolsRepoPath, "Extension/bin/messages", languageId);
const outputPath = path.join(outputLanguageFolder, "messages.json");
const sourceContent = fs.readFileSync(lclPath, 'utf-8');
// Scan once, just to determine how many there are the size of the array we need
let highestValue = 0;
parseString(sourceContent, function (err, result) {
result.LCX.Item.forEach((item) => {
if (item.$.ItemId === ";String Table") {
item.Item.forEach((subItem) => {
const itemId = parseInt(subItem.$.ItemId, 10);
if (subItem.Str[0].Tgt) {
if (highestValue < itemId) {
highestValue = itemId;
}
}
});
}
});
});
const resultArray = new Array(highestValue);
parseString(sourceContent, function (err, result) {
result.LCX.Item.forEach((item) => {
if (item.$.ItemId === ";String Table") {
item.Item.forEach((subItem) => {
const itemId = parseInt(subItem.$.ItemId, 10);
if (subItem.Str[0].Tgt) {
resultArray[itemId] = subItem.Str[0].Tgt[0].Val[0].replace(/\]5D;/g, "]");
if (highestValue < itemId) {
highestValue = itemId;
}
}
});
}
});
});
await mkdir(outputLanguageFolder);
await write(outputPath, JSON.stringify(resultArray, null, 4) + "\n");
}
}
+17
View File
@@ -0,0 +1,17 @@
/* --------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All Rights Reserved.
* See 'LICENSE' in the project root for license information.
* ------------------------------------------------------------------------------------------ */
import { gray, green, readJson } from './common';
export async function main() {
const pkg = await readJson('package.json') as Record<string, any>;
if (pkg.scripts) {
console.log(green('\n\nAvailable script commands:\n'));
for (const key of Object.keys(pkg.scripts)) {
console.log(green(`yarn ${key} - ${gray(pkg.scripts[key])}`));
}
console.log('');
}
}
+236
View File
@@ -0,0 +1,236 @@
/* --------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All Rights Reserved.
* See 'LICENSE' in the project root for license information.
* ------------------------------------------------------------------------------------------ */
import { runTests } from '@vscode/test-electron';
import { spawnSync } from 'child_process';
import { CommentArray, CommentObject } from 'comment-json';
import { readdir } from 'fs/promises';
import { resolve } from 'path';
import { env } from 'process';
import { returns } from '../src/Utility/Async/returns';
import { filepath } from '../src/Utility/Filesystem/filepath';
import { is } from '../src/Utility/System/guards';
import { verbose } from '../src/Utility/Text/streams';
import { getTestInfo } from '../test/common/selectTests';
import { $args, $root, $scenario, assertAnyFile, assertAnyFolder, brightGreen, checkBinaries, cmdSwitch, cyan, error, gray, green, readJson, red, writeJson } from './common';
import { install, isolated, options } from './vscode';
export { install, reset } from './vscode';
const sowrite = process.stdout.write.bind(process.stdout) as (...args: unknown[]) => boolean;
const sewrite = process.stderr.write.bind(process.stderr) as (...args: unknown[]) => boolean;
const filters = [
/^\[(.*)\].*/,
/^Unexpected token A/,
/Cannot register 'cmake.cmakePath'/,
/\[DEP0005\] DeprecationWarning/,
/--trace-deprecation/,
/Iconv-lite warning/,
/^Extension '/,
/^Found existing install/
];
// remove unwanted messages from stdio
function filterStdio() {
process.stdout.write = function (...args: unknown[]) {
if (typeof args[0] === 'string') {
const text = args[0];
if (filters.some(each => text.match(each))) {
return true;
}
}
if (args[0] instanceof Buffer) {
const text = args[0].toString();
if (filters.some(each => text.match(each))) {
return true;
}
}
return sowrite(...args);
};
process.stderr.write = function (...args: unknown[]) {
if (typeof args[0] === 'string') {
const text = args[0];
if (filters.some(each => text.match(each))) {
return true;
}
}
if (args[0] instanceof Buffer) {
const text = args[0].toString();
if (filters.some(each => text.match(each))) {
return true;
}
}
return sewrite(...args);
};
}
filterStdio();
async function unitTests() {
await assertAnyFolder('dist/test/unit', `The folder '${$root}/dist/test/unit is missing. You should run ${brightGreen("yarn compile")}\n\n`);
const mocha = await assertAnyFile(["node_modules/.bin/mocha.cmd", "node_modules/.bin/mocha"], `Can't find the mocha testrunner. You might need to run ${brightGreen("yarn install")}\n\n`);
const result = spawnSync(mocha, [`${$root}/dist/test/unit/**/*.test.js`, '--timeout', '30000'], { stdio:'inherit'});
verbose(`\n${green("NOTE:")} If you want to run a scenario test (end-to-end) use ${cmdSwitch('scenario=<NAME>')} \n\n`);
return result.status;
}
async function scenarioTests(assets: string, name: string, workspace: string) {
if (await checkBinaries()) {
process.exit(1);
}
return runTests({
...options,
extensionDevelopmentPath: $root,
extensionTestsPath: resolve($root, 'dist/test/common/selectTests'),
launchArgs: workspace ? [...options.launchArgs, workspace] : options.launchArgs,
extensionTestsEnv: {
SCENARIO: assets
}
});
}
export async function main() {
await assertAnyFolder('dist/test/', `The folder '${$root}/dist/test is missing. You should run ${brightGreen("yarn compile")}\n\n`);
const arg = $args.find(each => !each.startsWith("--"));
const specifiedScenario = $scenario || env.SCENARIO || await getScenarioFolder(arg);
const testInfo = await getTestInfo(specifiedScenario);
if (!testInfo) {
if (arg) {
return error(`Could not find scenario ${arg}`);
}
// lets just run the unit tests
process.exit(await unitTests());
}
// at this point, we're going to run some vscode tests
if (!await filepath.isFolder(isolated)) {
await install();
}
process.exit(await scenarioTests(testInfo.assets, testInfo.name, testInfo.workspace));
}
export async function all() {
if (await checkBinaries()) {
process.exit(1);
}
const finished: string[] = [];
if (await unitTests() !== 0) {
console.log(`${cyan(" UNIT TESTS: ")}${red("failed")}`);
process.exit(1);
}
finished.push(`${cyan(" UNIT TESTS: ")}${green("success")}`);
// at this point, we're going to run some vscode tests
if (!await filepath.isFolder(isolated)) {
await install();
}
try {
const scenarios = await getScenarioNames();
for (const each of scenarios) {
if (await filepath.isFolder(`${$root}/test/scenarios/${each}/tests`)) {
const ti = await getTestInfo(each);
if (ti) {
console.log(`\n\nRunning scenario ${each}`);
const result = await scenarioTests(ti.assets, ti.name, ti.workspace);
if (result) {
console.log(finished.join('\n'));
console.log(` ${cyan(`${ti.name} Tests:`)}${red("failed")}`);
process.exit(result);
}
finished.push(` ${cyan(`${ti.name} Tests:`)}${green("success")}`);
}
}
}
} catch (e) {
error(e);
} finally {
console.log(finished.join('\n'));
}
}
interface Input {
id: string;
type: string;
description: string;
options: CommentArray<{label: string; value: string}>;
}
export async function getScenarioNames() {
return (await readdir(`${$root}/test/scenarios`).catch(returns.none)).filter(each => each !== 'Debugger');
}
export async function getScenarioFolder(scenarioName: string) {
return scenarioName ? resolve(`${$root}/test/scenarios/${(await getScenarioNames()).find(each => each.toLowerCase() === scenarioName.toLowerCase())}`) : undefined;
}
export async function list() {
console.log(`\n${cyan("Scenarios: ")}\n`);
const names = await getScenarioNames();
const max = names.reduce((max, each) => Math.max(max, each), 0);
for (const each of names) {
console.log(` ${green(each.padEnd(max))}: ${gray(await getScenarioFolder(each))}`);
}
}
export async function regen() {
// update the .vscode/launch.json file with the scenarios
const scenarios = await getScenarioNames();
const launch = await readJson(`${$root}/.vscode/launch.json`) as CommentObject;
if (!is.object(launch)) {
return error(`The file ${$root}/.vscode/launch.json is not valid json`);
}
if (!is.array(launch.inputs)) {
return error(`The file ${$root}/.vscode/launch.json is missing the 'inputs' array`);
}
const inputs = launch.inputs as unknown as CommentArray<Input>;
const pickScenario = inputs.find(each => each.id === 'pickScenario');
if (!pickScenario) {
return error(`The file ${$root}/.vscode/launch.json is missing the 'pickScenario' input`);
}
const pickWorkspace = inputs.find(each => each.id === 'pickWorkspace');
if (!pickWorkspace) {
return error(`The file ${$root}/.vscode/launch.json is missing the 'pickWorkspace' input`);
}
for (const scenarioFolder of scenarios) {
const prefix = $root.replace(/\\/g, '/');
if (await filepath.isFolder(`${$root}/test/scenarios/${scenarioFolder}/tests`)) {
const testInfo = await getTestInfo(scenarioFolder);
if (testInfo) {
const label = `${scenarioFolder} `;
const value = testInfo.workspace.replace(/\\/g, '/').replace(prefix, '${workspaceFolder}');
const scenario = pickScenario.options.find(s => s.label === label);
if (!scenario) {
console.log(`Adding scenario ${green(scenarioFolder)} to pickScenario`);
pickScenario.options.push({ label, value });
} else {
verbose(`Skipping scenario ${scenarioFolder} because it already exists`);
}
const wrkspace = pickWorkspace.options.find(s => s.label === label);
if (!wrkspace) {
console.log(`Adding workspace ${green(scenarioFolder)} to pickWorkspace`);
pickWorkspace.options.push({ label, value });
} else {
verbose(`Skipping workspace ${scenarioFolder} because it already exists`);
}
} else {
verbose(`Skipping scenario ${scenarioFolder} because it doesn't look like there are any tests. (maybe try and run ${brightGreen("yarn compile")})`);
}
}
}
await writeJson(`${$root}/.vscode/launch.json`, launch);
}
+12
View File
@@ -0,0 +1,12 @@
{
"compilerOptions": {
"target": "ES2022",
"module": "node16",
"moduleResolution": "node16",
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"allowSyntheticDefaultImports": true,
"sourceMap": true,
"esModuleInterop": true
}
}
+52
View File
@@ -0,0 +1,52 @@
/* --------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All Rights Reserved.
* See 'LICENSE' in the project root for license information.
* ------------------------------------------------------------------------------------------ */
import { checkBinaries, checkCompiled, checkDTS, checkPrep, error, green } from './common';
const quiet = process.argv.includes('--quiet');
export async function main() {
let failing = await checkPrep() && (quiet || error(`Files are not up to date. Run ${green('yarn prep')} to fix it.`));
failing = (await checkCompiled() && (quiet || error(`Compiled files are not present. Run ${green('yarn compile')} to fix it.`))) || failing;
failing = (await checkBinaries() && (quiet || error(`The native binary files are not present. You should either build or install the native binaries\n\n.`))) || failing;
if (failing) {
process.exit(1);
}
}
export async function compiled() {
let failing = false;
failing = (await checkCompiled() && (quiet || error(`Compiled files are not present. Run ${green('yarn compile')} to fix it.`))) || failing;
if (failing) {
process.exit(1);
}
}
export async function binaries() {
let failing = false;
failing = (await checkBinaries() && (quiet || error(`The native binary files are not present. You should either build or install the native binaries\n\n.`))) || failing;
if (failing) {
process.exit(1);
}
}
export async function prep() {
let failing = false;
failing = (await checkPrep() && (quiet || error(`Files are not up to date. Run ${green('yarn prep')} to fix it.`))) || failing;
if (failing) {
process.exit(1);
}
}
export async function dts() {
let failing = false;
failing = (await checkDTS() && (quiet || error(`VSCode import files are not present. Run ${green('yarn prep')} to fix it.`))) || failing;
if (failing) {
process.exit(1);
}
}
+61
View File
@@ -0,0 +1,61 @@
/* --------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All Rights Reserved.
* See 'LICENSE' in the project root for license information.
* ------------------------------------------------------------------------------------------ */
import { downloadAndUnzipVSCode, resolveCliArgsFromVSCodeExecutablePath } from '@vscode/test-electron';
import { createHash } from 'crypto';
import { tmpdir } from 'os';
import { resolve } from 'path';
import { verbose } from '../src/Utility/Text/streams';
import { mkdir, readJson, rimraf, write } from './common';
export const isolated = resolve(tmpdir(), '.vscode-test', createHash('sha256').update(__dirname).digest('hex').substring(0, 6));
export const extensionsDir = resolve(isolated, 'extensions');
export const userDir = resolve(isolated, 'user-data');
export const settings = resolve(userDir, "User", 'settings.json');
export const options = {
cachePath: `${isolated}/cache`,
launchArgs: ['--no-sandbox', '--disable-updates', '--skip-welcome', '--skip-release-notes', `--extensions-dir=${extensionsDir}`, `--user-data-dir=${userDir}`, '--disable-workspace-trust']
};
export async function install() {
try {
// Create a new isolated directory for VS Code instance in the test folder, and make it specific to the extension folder so we can avoid collisions.
// keeping this out of the Extension folder means we're not worried about VS Code getting weird with locking files and such.
verbose(`Isolated VSCode test folder: ${isolated}`);
await mkdir(isolated);
const vscodeExecutablePath = await downloadAndUnzipVSCode(options);
const [cli, ...args] = resolveCliArgsFromVSCodeExecutablePath(vscodeExecutablePath).filter(each => !each.startsWith('--extensions-dir=') && !each.startsWith('--user-data-dir='));
args.push(`--extensions-dir=${extensionsDir}`, `--user-data-dir=${userDir}`);
// install the appropriate extensions
// spawnSync(cli, [...args, '--install-extension', 'ms-vscode.cpptools'], { encoding: 'utf-8', stdio: 'ignore' });
// spawnSync(cli, [...args, '--install-extension', 'twxs.cmake'], { encoding: 'utf-8', stdio: 'ignore' });
// spawnSync(cli, [...args, '--install-extension', 'ms-vscode.cmake-tools'], { encoding: 'utf-8', stdio: 'ignore' });
const settingsJson = await readJson(settings, {});
if (!settingsJson["workbench.colorTheme"]) {
settingsJson["workbench.colorTheme"] = "Tomorrow Night Blue";
}
settingsJson["git.openRepositoryInParentFolders"] = "never";
await write(settings, JSON.stringify(settingsJson, null, 4));
return {
cli, args
};
} catch (err: unknown) {
console.log(err);
}
}
export async function reset() {
verbose(`Removing VSCode test folder: ${isolated}`);
await rimraf(isolated);
}
+141 -126
View File
@@ -1,128 +1,143 @@
// A launch configuration that compiles the extension and then opens it inside a new window
{
"version": "0.1.0",
"configurations": [
{
"name": "Launch Extension (development)",
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": [
"--extensionDevelopmentPath=${workspaceFolder}"
],
"sourceMaps": true,
"outFiles": [
"${workspaceFolder}/dist/**/*.js"
],
"preLaunchTask": "Compile Dev",
},
{
"name": "Launch Extension (production)",
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": [
"--extensionDevelopmentPath=${workspaceFolder}"
],
"sourceMaps": true,
"outFiles": [
"${workspaceFolder}/dist/**/*.js"
],
"preLaunchTask": "TypeScript Compile",
},
{
"name": "Launch Extension (do not build)",
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": [
"--extensionDevelopmentPath=${workspaceFolder}"
],
"sourceMaps": true,
"outFiles": [
"${workspaceFolder}/dist/**/*.js"
]
},
{
"name": "Launch Extension (watch, development)",
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": [
"--extensionDevelopmentPath=${workspaceFolder}"
],
"sourceMaps": true,
"outFiles": [
"${workspaceFolder}/dist/**/*.js"
],
"preLaunchTask": "Compile Dev Watch",
},
{
"name": "Launch Extension (watch, production)",
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": [
"--extensionDevelopmentPath=${workspaceFolder}"
],
"sourceMaps": true,
"outFiles": [
"${workspaceFolder}/dist/**/*.js"
],
"preLaunchTask": "TypeScript Compile Watch",
},
{
"name": "Launch Unit Tests",
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": [
"--extensionDevelopmentPath=${workspaceFolder}",
"--extensionTestsPath=${workspaceFolder}/out/test/unitTests/index"
],
"sourceMaps": true,
"outFiles": [
"${workspaceFolder}/out/test/**/*.js"
],
"preLaunchTask": "Pretest"
},
{
"name": "Launch Integration Tests",
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": [
"${workspaceFolder}/test/integrationTests/testAssets/SimpleCppProject/simpleCppProject.code-workspace",
"--extensionDevelopmentPath=${workspaceFolder}",
"--extensionTestsPath=${workspaceFolder}/out/test/integrationTests/languageServer/index"
],
"sourceMaps": true,
"outFiles": [
"${workspaceFolder}/out/test/**/*.js"
],
"preLaunchTask": "Pretest",
},
{
"name": "Launch E2E IntelliSense features tests",
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": [
"C:/git/Vcls-vscode-test/MultirootDeadlockTest/test.code-workspace",
"--extensionDevelopmentPath=${workspaceFolder}",
"--extensionTestsPath=${workspaceFolder}/out/test/integrationTests/IntelliSenseFeatures/index"
],
"sourceMaps": true,
"outFiles": [
"${workspaceFolder}/out/test/**/*.js"
],
"preLaunchTask": "Pretest"
},
{
"name": "Node Attach",
"type": "node",
"request": "attach",
"port": 5858
},
]
}
"version": "0.1.0",
"configurations": [
{
// debugs the extension
"name": "Run Extension",
"type": "extensionHost",
"request": "launch",
"args": [
"--no-sandbox",
"--disable-updates",
"--skip-welcome",
"--skip-release-notes",
"--disable-workspace-trust",
"--extensionDevelopmentPath=${workspaceFolder}",
],
"sourceMaps": true,
"outFiles": [
"${workspaceFolder}/dist/**"
],
// you can use a watch task as a prelaunch task and it works like you'd want it to.
"preLaunchTask": "watch"
},
{
// debugs the extension (selecting the workspace)
"name": "Run Extension-Select Workspace",
"type": "extensionHost",
"request": "launch",
"args": [
"--no-sandbox",
"--disable-updates",
"--skip-welcome",
"--skip-release-notes",
"--disable-workspace-trust",
"--extensionDevelopmentPath=${workspaceFolder}",
"${input:pickWorkspace}"
],
"sourceMaps": true,
"outFiles": [
"${workspaceFolder}/dist/**"
],
// you can use a watch task as a prelaunch task and it works like you'd want it to.
"preLaunchTask": "watch"
},
{
// debug scenario tests (selecting the workspace)
"name": "VSCode Tests",
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
"env": {
"SCENARIO": "${input:pickScenario}"
},
"args": [
"--no-sandbox",
"--disable-updates",
"--skip-welcome",
"--skip-release-notes",
"--disable-extensions",
"--extensionDevelopmentPath=${workspaceFolder}",
"--extensionTestsPath=${workspaceFolder}/dist/test/common/selectTests",
"--scenario=${input:pickScenario}",
"${input:pickScenario}"
],
"sourceMaps": true,
"outFiles": [
"${workspaceFolder}/dist/**"
],
// you can use a watch task as a prelaunch task and it works like you'd want it to.
"preLaunchTask": "watch"
},
{
// used for debugging unit tests
"name": "MochaTest",
"type": "node",
"request": "attach",
"port": 9229,
"continueOnAttach": true,
"autoAttachChildProcesses": false,
"skipFiles": [
"<node_internals>/**"
],
"outFiles": [
"${workspaceFolder}/dist/**",
"!**/node_modules/**"
]
}
],
"inputs": [
{
"type": "pickString",
"id": "pickScenario",
"description": "Select which scenario to debug VSCode tests.",
"options": [
{
"label": "MultirootDeadlockTest ",
"value": "${workspaceFolder}/test/scenarios/MultirootDeadlockTest/assets/test.code-workspace"
},
{
"label": "SimpleCppProject ",
"value": "${workspaceFolder}/test/scenarios/SimpleCppProject/assets/simpleCppProject.code-workspace"
},
{
"label": "SingleRootProject ",
"value": "${workspaceFolder}/test/scenarios/SingleRootProject/assets/"
},
{
"label": "CompilerDetection ",
"value": "${workspaceFolder}/test/scenarios/CompilerDetection/assets"
}
]
},
{
"type": "pickString",
"id": "pickWorkspace",
"description": "Select which workspace scenario to debug VSCode.",
"default": "-n",
"options": [
{
"label": "(Debug with new window) ",
"value": "-n"
},
{
"label": "MultirootDeadlockTest ",
"value": "${workspaceFolder}/test/scenarios/MultirootDeadlockTest/assets/test.code-workspace"
},
{
"label": "SimpleCppProject ",
"value": "${workspaceFolder}/test/scenarios/SimpleCppProject/assets/simpleCppProject.code-workspace"
},
{
"label": "SingleRootProject ",
"value": "${workspaceFolder}/test/scenarios/SingleRootProject/assets/"
},
{
"label": "CompilerDetection ",
"value": "${workspaceFolder}/test/scenarios/CompilerDetection/assets"
}
]
}
]
}
+65 -8
View File
@@ -1,10 +1,67 @@
// Place your settings in this file to overwrite default and user settings.
{
"files.exclude": {
"out": false // set this to true to hide the "out" folder with the compiled JS files
},
"search.exclude": {
"out": true // set this to false to include "out" folder in search results
},
"typescript.tsdk": "./node_modules/typescript/lib" // we want to use the TS server from our node_modules folder to control its version
}
"files.exclude": {
"out": false // set this to true to hide the "out" folder with the compiled JS files
},
"search.exclude": {
"out": true // set this to false to include "out" folder in search results
},
"typescript.tsdk": "./node_modules/typescript/lib", // we want to use the TS server from our node_modules folder to control its version
// if you install the mocha test explorer extension, you can run the unit tests from the test explorer UI
"testExplorer.useNativeTesting": true,
"mochaExplorer.files": "./**/unit/**/*.test.js",
"mochaExplorer.watch": "./**/unit/**/*.test.js",
"mochaExplorer.ignore": [
"**/*skip*",
"**/dist/test/**/*.d.ts",
"**/node_modules/**"
],
"mochaExplorer.debuggerConfig": "MochaTest",
"mochaExplorer.logpanel": true,
"mochaExplorer.timeout": 500000,
"mochaExplorer.require": [
"source-map-support/register"
],
"mochaExplorer.monkeyPatch": true,
"[json]": {
"editor.formatOnSave": true,
"editor.defaultFormatter": "vscode.json-language-features",
"editor.tabSize": 4,
"files.insertFinalNewline": true
},
"[jsonc]": {
"editor.formatOnSave": true,
"editor.defaultFormatter": "vscode.json-language-features",
"editor.tabSize": 4,
"files.insertFinalNewline": true
},
"[typescript]": {
"editor.tabSize": 4,
"editor.defaultFormatter": "dbaeumer.vscode-eslint",
"editor.formatOnSave": true,
"files.insertFinalNewline": true,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true,
"source.organizeImports": true
},
},
"eslint.format.enable": true,
"[javascript]": {
"editor.tabSize": 4,
},
"markdown.extension.list.indentationSize": "inherit",
"markdown.extension.toc.levels": "2..6",
"[markdown]": {
"editor.tabSize": 4,
},
"eslint.workingDirectories": [
{
"changeProcessCWD": true,
"directory": "./",
},
{
"changeProcessCWD": true,
"directory": "./.scripts",
}
],
}
+10 -153
View File
@@ -4,168 +4,25 @@
"version": "2.0.0",
"tasks": [
{
"label": "TypeScript Compile",
"label": "compile",
"type": "npm",
"script": "compile",
"problemMatcher": "$tsc",
"group": {
"kind": "build",
"isDefault": true
},
"isBackground": false,
"type": "shell",
"presentation": {
"echo": true,
"reveal": "silent",
"focus": false,
"panel": "shared"
},
"command": "yarn",
"args": [
"run",
"compile"
]
}
},
{
"label": "TypeScript Lint",
"group": "build",
"isBackground": false,
"type": "shell",
"command": "yarn",
"args": [
"run",
"lint"
],
"problemMatcher": {
"fileLocation": "absolute",
"source": "lint",
"pattern": [
{
"regexp": "(ERROR:) ([a-zA-Z/:\\-\\.]*)\\[(\\d+), (\\d+)\\]: (.*)",
"severity": 1,
"file": 2,
"line": 3,
"column": 4,
"message": 5
}
]
},
"dependsOn": [
"Compile Dev"
]
},
{
"label": "Compile Dev",
"group": "build",
"isBackground": false,
"type": "shell",
"command": "yarn",
"args": [
"run",
"compile-dev"
]
},
{
"label": "Pretest",
"group": "build",
"isBackground": false,
"type": "shell",
"command": "yarn",
"args": [
"run",
"pretest"
],
"dependsOn": [
"Compile Dev"
]
},
{
"label": "TypeScript Compile Watch",
"label": "watch",
"type": "npm",
"script": "watch",
"group": {
"kind": "build",
"isDefault": true
},
"isBackground": true,
"type": "shell",
"presentation": {
"echo": true,
"reveal": "silent",
"focus": false,
"panel": "shared"
},
"command": "yarn",
"args": [
"run",
"compile-watch"
],
"problemMatcher": [
{
"owner": "typescript",
"source": "ts",
"applyTo": "closedDocuments",
"fileLocation": "absolute",
"severity": "error",
"pattern": [
{
"regexp": "\\[tsl\\] ERROR in (.*)?\\((\\d+),(\\d+)\\)",
"file": 1,
"line": 2,
"column": 3
},
{
"regexp": "\\s*TS\\d+:\\s*(.*)",
"message": 1
}
],
"background": {
"activeOnStart": true,
"beginsPattern": {
"regexp": "asset"
},
"endsPattern": {
"regexp": "webpack (.*?) compiled (.*?) ms"
}
}
}
]
},
{
"label": "Compile Dev Watch",
"group": "build",
"isBackground": true,
"type": "shell",
"command": "yarn",
"args": [
"run",
"compile-dev-watch"
],
"problemMatcher": [
{
"owner": "typescript",
"source": "ts",
"applyTo": "closedDocuments",
"fileLocation": "absolute",
"severity": "error",
"pattern": [
{
"regexp": "\\[tsl\\] ERROR in (.*)?\\((\\d+),(\\d+)\\)",
"file": 1,
"line": 2,
"column": 3
},
{
"regexp": "\\s*TS\\d+:\\s*(.*)",
"message": 1
}
],
"background": {
"activeOnStart": true,
"beginsPattern": {
"regexp": "asset"
},
"endsPattern": {
"regexp": "webpack (.*?) compiled (.*?) ms"
}
}
}
]
"problemMatcher": "$tsc-watch",
}
]
}
}
+54 -47
View File
@@ -1,47 +1,54 @@
# ignore vscode settings for extension development
.vscode/**
# ignore binaries
obj/**
# ignore source files
tools/**
notices/**
test/**
src/**
# ignore .js files that are webpacked or only used for development
out/src/**
out/tools/**
# ignore ts files in ui
ui/*.ts
# ignore Azure-Pipelines files
jobs/**
cgmanifest.json
# ignore development files
tsconfig.json
test.tsconfig.json
tslint.json
.eslintrc.js
webpack.config.js
tscCompileList.txt
gulpfile.js
.gitattributes
.gitignore
CMakeLists.txt
debugAdapters/install.lock*
typings/**
**/*.map
import_edge_strings.js
localized_string_ids.h
translations_auto_pr.js
# ignore i18n language files
i18n/**
# ignore node_modules
node_modules/
# ignore vscode settings for extension development
.vscode/**
# ignore binaries
obj/**
# ignore source files
tools/**
notices/**
test/**
src/**
# ignore .js files that are webpacked or only used for development
out/src/**
out/tools/**
# don't include the local code and tests compiled files
dist/test/**
# no project scripts
.scripts/**
# ignore ts files in ui
ui/*.ts
# ignore Azure-Pipelines files
jobs/**
cgmanifest.json
# ignore development files
tsconfig.json
test.tsconfig.json
ui.tsconfig.json
tslint.json
.eslintrc.js
webpack.config.js
tscCompileList.txt
gulpfile.js
.gitattributes
.gitignore
CMakeLists.txt
debugAdapters/install.lock*
typings/**
**/*.map
import_edge_strings.js
localized_string_ids.h
translations_auto_pr.js
# ignore i18n language files
i18n/**
# ignore node_modules
node_modules/
+7
View File
@@ -0,0 +1,7 @@
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
# yarn lockfile v1
ignore-engines true
disable-self-update-check true
--run.silent true
+173 -49
View File
@@ -1,16 +1,164 @@
# C/C++ for Visual Studio Code Changelog
## Version 1.15.2: March 12, 2023
## Version 1.18.0: October 12, 2023
### New Features
* Add an 'Extract to Function' (or Member Function) code action after selecting code. [#1162](https://github.com/microsoft/vscode-cpptools/issues/1162)
* Currently, it's only enabled when `C_Cpp.experimentFeatures` is `true`. Also, 'Extract to Free Function' is disabled.
* Add the option to install a compiler, accessible through the walkthrough. [PR #11286](https://github.com/microsoft/vscode-cpptools/pull/11286)
### Enhancements
* Add a "Configure IntelliSense" status bar warning. [#10685](https://github.com/microsoft/vscode-cpptools/issues/10685)
* Add setting `C_Cpp.refactoring.includeHeader` to customize whether or not to add an include header when doing a refactoring code action. [#11271](https://github.com/microsoft/vscode-cpptools/issues/11271)
* Update clang-format and clang-tidy to 17.0.2. [PR #11491](https://github.com/microsoft/vscode-cpptools/pull/11491)
### Bug Fixes
* Fix the debugger truncating long strings when inspecting values. [#1786](https://github.com/microsoft/vscode-cpptools/issues/1786)
* Switch to using `XDG_CACHE_HOME` on Linux for the default database path. [#10191](https://github.com/microsoft/vscode-cpptools/issues/10191)
* Fix incorrect status and commands with the tag parsing language status UI. [#10749](https://github.com/microsoft/vscode-cpptools/issues/10749)
* Fix an empty (`""`) `compilerPath` in a base configuration overriding the compiler specified by a custom configuration provider or a `compile_commands.json`. [#11373](https://github.com/microsoft/vscode-cpptools/issues/11373)
* Fix a startup crash when reading values from JSON (settings) that are not the type expected. [#11375](https://github.com/microsoft/vscode-cpptools/issues/11375)
* Fix a crash detected by crash telemetry. [#11401](https://github.com/microsoft/vscode-cpptools/issues/11401)
* Fix handling of an undefined `env` variable on Linux and macOS. [#11447](https://github.com/microsoft/vscode-cpptools/issues/11447)
* Fix multiple issues with querying `nvcc` (CUDA) as a compiler. [#11454](https://github.com/microsoft/vscode-cpptools/issues/11454)
* Fix an issue that could cause a C language standard to be applied to a C++ file, or vice versa.
* Remove `cpp` and `clang-cpp` preprocessors from the list of detectable compilers.
## Version 1.17.5: August 28, 2023
### Bug Fixes
* Fix a language server crash for platforms that don't support the IntelliSense cache (AutoPCH). [#10789](https://github.com/microsoft/vscode-cpptools/issues/10789)
* Fix markdown in comments when inline/block code is used. [#11322](https://github.com/microsoft/vscode-cpptools/issues/11322)
* Fix Find All References and Call Hierarchy for C files when the cursor is at the end of a symbol. [#11338](https://github.com/microsoft/vscode-cpptools/issues/11338)
* Fix usage of the `/Zc:alignedNew-` MSVC compiler option. [#11350](https://github.com/microsoft/vscode-cpptools/issues/11350)
## Version 1.17.4: August 21, 2023
### Bug Fixes
* Fix crash recovery for the main extension process. [#11335](https://github.com/microsoft/vscode-cpptools/issues/11335)
* Fix an IntelliSense process crash when certain error messages occur with a language pack enabled. [#11336](https://github.com/microsoft/vscode-cpptools/issues/11336)
## Version 1.17.3: August 16, 2023
### Bug Fix
* Fix a regression with attaching the debugger to processes on Linux and macOS. [#11328](https://github.com/microsoft/vscode-cpptools/issues/11328)
## Version 1.17.2: August 14, 2023
### Enhancements
* Enable a subset of markdown to render in hover by default and a `C_Cpp.markdownInComments` setting. [#6020](https://github.com/microsoft/vscode-cpptools/issues/6020), [#10461](https://github.com/microsoft/vscode-cpptools/issues/10461)
* Add support for gcc 13 features. [#11038](https://github.com/microsoft/vscode-cpptools/issues/11038)
* Add default compiler detection of additional compilers in MSYS environments. [#11211](https://github.com/microsoft/vscode-cpptools/issues/11211)
* Use musl for building Linux binaries of the extension.
* Add support for additional compiler wrappers: gomacc, distcc, buildcache, and icecc.
### Bug Fixes
* Fix a couple bugs with documentation comments. [#5241](https://github.com/microsoft/vscode-cpptools/issues/5241)
* Added `__float128` support in gcc IntelliSense mode. [#9558](https://github.com/microsoft/vscode-cpptools/issues/9558)
* Fix an issue where the debugger would get stuck while using cl.exe options. [#10231](https://github.com/microsoft/vscode-cpptools/issues/10231)
* Fix C/C++ commands showing in the Command Palette with non-C/C++ files. [#10421](https://github.com/microsoft/vscode-cpptools/issues/10421)
* Fix the 'Select IntelliSense Configuration' command to also update an existing `compilerPath` in c_cpp_properties.json. [#10808](https://github.com/microsoft/vscode-cpptools/issues/10808)
* Update clang-format (and clang-tidy) to 16.0.6 to fix a bug. [#11027](https://github.com/microsoft/vscode-cpptools/issues/11027)
* Fix `#include` completion leaving an extra `>`. [#11042](https://github.com/microsoft/vscode-cpptools/issues/11042)
* Fix an issue with matching of glob patterns containing path delimiters. [#11132](https://github.com/microsoft/vscode-cpptools/issues/11132)
* Fix Create Declaration/Definition via `Quick Fix…` from hover tooltip. [#11157](https://github.com/microsoft/vscode-cpptools/issues/11157)
* Fix issues with compiler querying of clang-cl. [#11207](https://github.com/microsoft/vscode-cpptools/issues/11207)
* Fix `files.encoding` setting on startup. [#11210](https://github.com/microsoft/vscode-cpptools/issues/11210)
* Fix a crash related to directories with a very large number of files. [#11226](https://github.com/microsoft/vscode-cpptools/issues/11226)
* Fix the parameter format of call hierarchy items. [#11247](https://github.com/microsoft/vscode-cpptools/issues/11247)
* Remove the vcpkg code action from the missing includes code action list. [#11252](https://github.com/microsoft/vscode-cpptools/issues/11252)
* Fix the file path info of call hierarchy items to display the relative path to a workspace folder. [#11254](https://github.com/microsoft/vscode-cpptools/issues/11254)
* Fix colorization for macro expansions in macro arguments. [#11256](https://github.com/microsoft/vscode-cpptools/issues/11256)
* Fix a crash for CUDA projects with '>' in the command line. [#11289](https://github.com/microsoft/vscode-cpptools/issues/11289)
* Increase the default standard for the 'Build and Debug Active File' feature to c++14 on macOS. [#11292](https://github.com/microsoft/vscode-cpptools/issues/11292)
* Fix an issue with the compiler currently configured for use with IntelliSense being listed last in the task creation popup. [PR #11299](https://github.com/microsoft/vscode-cpptools/pull/11299)
* Fix an IPCH issue on Linux due to the Position Independent Executable (PIE) option not being set since 1.17.0.
* Fix Rank > 1 Display Strings for Natvis. [PR MIEngine#1406](https://github.com/microsoft/MIEngine/pull/1406)
* Fix some crashes identified by crash telemetry.
* Fix an issue that could cause zombie processes on Linux/Mac.
* Address some issues with glibc version compatibility. Native binaries for cpptools and the bundled clang-tidy/clang-format are now built with musl and fully statically linked.
* Fix the wrong compiler being set as default when configured to use `compile_commands.json` and overriding the compiler used there with an explicit `compilerPath`.
### Thank You to the Contributors
* [@gareth-rees (Gareth Rees)](https://github.com/gareth-rees): Always use `--simple-values` in newer versions of GDB. [PR MIEngine#1400](https://github.com/microsoft/MIEngine/pull/1400)
* [@iAbadia (Iñaki)](https://github.com/iAbadia): Align use of 'sendInvalidate' request arguments. [PR MIEngine#1402](https://github.com/microsoft/MIEngine/pull/1402)
* [@intel-rganesh (Rakesh Ganesh)](https://github.com/intel-rganesh): Introduce `--thread` and `--frame options`. [PR MIEngine#1401](https://github.com/microsoft/MIEngine/pull/1401)
* [@michalmaka (Michał Mąka)](https://github.com/michalmaka): Add support for Toybox to the remote process picker. [PR #11175](https://github.com/microsoft/vscode-cpptools/pull/11175)
* [@sbobko (Sergey Bobko)](https://github.com/sbobko): Add 'sendInvalidate' request. [PR MIEngine#1367](https://github.com/microsoft/MIEngine/pull/1367)
* [@yne (Rémy F.)](https://github.com/yne): Add wildcard support for `includePath`. [PR #10388](https://github.com/microsoft/vscode-cpptools/pull/10388)
## Version 1.16.3: June 23, 2023
### Bug Fix
* Fix "cout is ambiguous" error. [#11122](https://github.com/microsoft/vscode-cpptools/issues/11122)
## Version 1.16.2: June 22, 2023
### New Features
* Add Call Hierarchy. [#16](https://github.com/microsoft/vscode-cpptools/issues/16)
* Add "Copy Definition" and "Copy Declaration" code actions (for when the default Create placement isn't desired). [#10238](https://github.com/microsoft/vscode-cpptools/issues/10238), [#10942](https://github.com/microsoft/vscode-cpptools/issues/10942)
### Enhancements
* Add support for other glob pattern syntax, such as `[]` and `^`. [#8960](https://github.com/microsoft/vscode-cpptools/issues/8960)
* Add support for C++23 z/Z and zu/ZU suffixes in clang/gcc modes. [#10190](https://github.com/microsoft/vscode-cpptools/issues/10190)
* Add warning logging when the database is reset due to a version change. [#10984](https://github.com/microsoft/vscode-cpptools/issues/10984)
* Move user compilers to the beginning of the "known compilers" lists. [#10985](https://github.com/microsoft/vscode-cpptools/issues/10985)
* Add file path to the details of a call hierarchy result. [#10997](https://github.com/microsoft/vscode-cpptools/issues/10997)
* Add `miDebuggerArgs` to debugger attach option.
* Thank you for the contribution @Summon528 [PR #11066](https://github.com/microsoft/vscode-cpptools/pull/11066)
### Bug Fixes
* Fix an IntelliSense parsing bug with C++20 ranges. [#8039](https://github.com/microsoft/vscode-cpptools/issues/8039)
* Fix incorrect insertion of Create Declaration/Definition when it also adds a #include. [#10464](https://github.com/microsoft/vscode-cpptools/issues/10464)
* Fix an IntelliSense bug with user-defined floating-point literals. [#10837](https://github.com/microsoft/vscode-cpptools/issues/10837)
* Fix deadlock with Find All References. [#10855](https://github.com/microsoft/vscode-cpptools/issues/10855)
* Fix performance issues on machines with > 32 threads. [#10874](https://github.com/microsoft/vscode-cpptools/issues/10874)
* Fix localization of "C/C++ Configurations". [#10907](https://github.com/microsoft/vscode-cpptools/issues/10907)
* Fix the workspace folder not getting added to the browse.path in some cases. [#10914](https://github.com/microsoft/vscode-cpptools/issues/10914)
* Fix incorrect Apple clang to LLVM clang version mappings. [#10920](https://github.com/microsoft/vscode-cpptools/issues/10920)
* Revert -fms-extensions being added for mingw compilers by default (due to bugs). [#10940](https://github.com/microsoft/vscode-cpptools/issues/10940)
* Fix the "known compilers" list not getting updated with "user compilers". [#10943](https://github.com/microsoft/vscode-cpptools/issues/10943)
* Fix cancelation of Find All References while confirming references. [#10947](https://github.com/microsoft/vscode-cpptools/issues/10947)
* Fix a bug with workspace parsing status. [PR #10974](https://github.com/microsoft/vscode-cpptools/pull/10974)
* Fix some bugs if settings were empty string or null. [#10994](https://github.com/microsoft/vscode-cpptools/issues/10994)
* Fix cancellation for Find All References/Rename/Call Hierarchy. [#10998](https://github.com/microsoft/vscode-cpptools/issues/10998)
* Fix two Doxygen comment generation bugs. [#10995](https://github.com/microsoft/vscode-cpptools/issues/10995), [#11016](https://github.com/microsoft/vscode-cpptools/issues/11016)
* Fix the thread pool sometimes not increasing in size, which could lead to the cpptools process incorrectly being shut down. [#11003](https://github.com/microsoft/vscode-cpptools/issues/11003)
* Stop using vcFormat if .editorconfig exists with only non-formatting cpp settings. [PR #11015](https://github.com/microsoft/vscode-cpptools/pull/11015)
* Use integratedTerminal when user is running cl.exe for debugger. [#11032](https://github.com/microsoft/vscode-cpptools/issues/11032)
* Thank you for the contribution @caiohamamura [PR #11035](https://github.com/microsoft/vscode-cpptools/pull/11035)
* Fix the configure your IntelliSense notification to not show again when the "Don't Show Again" option is selected. [#11070](https://github.com/microsoft/vscode-cpptools/issues/11070)
* Fix a bug that could cause incomplete reading of stdout/stderr of child processes on Windows.
* Fix incorrect "declaration is incompatible" IntelliSense errors.
* Fix some potential crashes.
## Version 1.15.4: May 1, 2023
### Enhancements
* Support multiple natvis files in `visualizerFile`. [#925](https://github.com/microsoft/vscode-cpptools/issues/925)
* Enable error squiggles for single file mode if includes resolve. [#10062](https://github.com/microsoft/vscode-cpptools/issues/10062)
* Improve the description of the `C_Cpp.codeAnalysis.clangTidy.enabled` setting. [#10454](https://github.com/microsoft/vscode-cpptools/issues/10454)
* Add a 'Select an IntelliSense configuration' code action and error message for standard headers which can't be found. [#10531](https://github.com/microsoft/vscode-cpptools/issues/10531)
* Change the 'Edit "includePath" setting' code action to reference "compilerPath" for missing system includes. [#10675](https://github.com/microsoft/vscode-cpptools/issues/10675)
* Add a "Configure IntelliSense" status bar warning (currently controlled by an experiment). [#10685](https://github.com/microsoft/vscode-cpptools/issues/10685)
* Re-enable an updated C/C++ walkthrough (currently only available for some users). [PR #10707](https://github.com/microsoft/vscode-cpptools/pull/10707)
* Update to clang-format/tidy 16. [#10725](https://github.com/microsoft/vscode-cpptools/issues/10725)
* Move the configuration status bar item out of the language status UI. [#10755](https://github.com/microsoft/vscode-cpptools/issues/10755)
* Change `Select Default Compiler` to `Select IntelliSense Configuration` with configuration providers and compile commands added. [#10756](https://github.com/microsoft/vscode-cpptools/issues/10756)
### Bug Fixes
* Support use of `ccache` in `compilerPath` and `compile_commands.json` command lines. [#7616](https://github.com/microsoft/vscode-cpptools/issues/7616)
* Support use of `ccache`, 'sccache', and 'clcache' in `compilerPath` and `compile_commands.json` command lines. [#7616](https://github.com/microsoft/vscode-cpptools/issues/7616)
* Enable `-fms-extensions` by default for Cygwin and MinGW. [#8353](https://github.com/microsoft/vscode-cpptools/issues/8353)
* Fix incorrect, excessive logging with compile commands. [#9865](https://github.com/microsoft/vscode-cpptools/issues/9865)
* Fix IntelliSense errors with C++ 20 range and span. [#10024](https://github.com/microsoft/vscode-cpptools/issues/10024), [#10252](https://github.com/microsoft/vscode-cpptools/issues/10252)
* Fix two vcFormat settings being inverted. [#10262](https://github.com/microsoft/vscode-cpptools/issues/10262), [#10263](https://github.com/microsoft/vscode-cpptools/issues/10263)
* Fix the browse configuration provider cache not getting cleared. [#10692](https://github.com/microsoft/vscode-cpptools/issues/10692)
* Fix 'Create Declaration / Definition' making modifications to files outside the workspace folder. [#10402](https://github.com/microsoft/vscode-cpptools/issues/10402)
* Fix code analysis when `--use-color=true` is used. [#10407](https://github.com/microsoft/vscode-cpptools/issues/10407)
* Fix IntelliSense errors with CUDA. [#10455](https://github.com/microsoft/vscode-cpptools/issues/10455)
* Fix random save failures while code analysis is running on the saved file. [#10482](https://github.com/microsoft/vscode-cpptools/issues/10482)
* Fix the compile commands prompt setting `compileCommands` to a `compile_commands.json` in a different workspace folder. [#10588](https://github.com/microsoft/vscode-cpptools/issues/10588)
* Fix code analysis with `_Float16`. [#10610](https://github.com/microsoft/vscode-cpptools/issues/10610)
* Fix code analysis with c23/gnu23. [#10615](https://github.com/microsoft/vscode-cpptools/issues/10615)
* Fix 'Reset IntelliSense Database' being delayed until parsing is finished. [#10616](https://github.com/microsoft/vscode-cpptools/issues/10616)
* Fix uncaught exception with some configuration providers. [#10634](https://github.com/microsoft/vscode-cpptools/issues/10634)
* Fix crashes with a multi-root workspace. [#10636](https://github.com/microsoft/vscode-cpptools/issues/10636)
* Fix bugs with the "You do not have IntelliSense configured" prompt. [#10658](https://github.com/microsoft/vscode-cpptools/issues/10658), [#10659](https://github.com/microsoft/vscode-cpptools/issues/10659)
* Fix random failures when adding or removing workspace folders. [PR #10665](https://github.com/microsoft/vscode-cpptools/pull/10665)
* Fix missing clang-tidy checks setting values. [#10667](https://github.com/microsoft/vscode-cpptools/issues/10667)
* Fix 'Select IntelliSense configuration' so that it works if it's already set in the workspace or workspace folder settings. [#10674](https://github.com/microsoft/vscode-cpptools/issues/10674)
* Fix clang-tidy 'clang-analyzer-' documentation links not working. [#10678](https://github.com/microsoft/vscode-cpptools/issues/10678)
* Fix the browse configuration provider cache not getting cleared. [#10692](https://github.com/microsoft/vscode-cpptools/issues/10692), [#10877](https://github.com/microsoft/vscode-cpptools/issues/10877)
* Fix a crash with recursive environment variables on Windows. [#10704](https://github.com/microsoft/vscode-cpptools/issues/10704)
* Fix `#import` of `.tlb` files failing due to `/Fo` arguments to `cl.exe` not being processed. [#10710](https://github.com/microsoft/vscode-cpptools/issues/10710)
* Fix `cppbuild` tasks not using the workspace folder as the `cwd` by default. [#10742](https://github.com/microsoft/vscode-cpptools/issues/10742)
@@ -20,43 +168,19 @@
* Fix the first registered configuration provider still being automatically used after a second registers. [PR #10772](https://github.com/microsoft/vscode-cpptools/pull/10772)
* Fix `C_Cpp.default.compilerPath` in the settings UI showing a string editor when it shouldn't. [#10795](https://github.com/microsoft/vscode-cpptools/issues/10795)
* Fix some issues due to usage of the spread operator not doing a deep copy. [PR #10803](https://github.com/microsoft/vscode-cpptools/pull/10803)
## Version 1.15.1: March 22, 2023
### Bug Fixes
* Fix crashes with a multiroot workspace. [#10636](https://github.com/microsoft/vscode-cpptools/issues/10636)
* Fix a deadlock with a multiroot workspace. [#10719](https://github.com/microsoft/vscode-cpptools/issues/10719)
## Version 1.15.0: March 15, 2023
### Enhancements
* Support multiple natvis files in `visualizerFile`. [#925](https://github.com/microsoft/vscode-cpptools/issues/925)
* Enable error squiggles for single file mode if includes resolve. [#10062](https://github.com/microsoft/vscode-cpptools/issues/10062)
* Improve the description of the `C_Cpp.codeAnalysis.clangTidy.enabled` setting. [#10454](https://github.com/microsoft/vscode-cpptools/issues/10454)
* Add a 'Select Default Compiler' code action and error message for standard headers which can't be found. [#10531](https://github.com/microsoft/vscode-cpptools/issues/10531)
* Change the 'Edit "includePath" setting' code action to reference "compilerPath" for missing system includes. [#10675](https://github.com/microsoft/vscode-cpptools/issues/10675)
### Bug Fixes
* Enable `-fms-extensions` by default for Cygwin and MinGW. [#8353](https://github.com/microsoft/vscode-cpptools/issues/8353)
* Fix incorrect, excessive logging with compile commands. [#9865](https://github.com/microsoft/vscode-cpptools/issues/9865)
* Fix IntelliSense errors with C++ 20 range and span. [#10024](https://github.com/microsoft/vscode-cpptools/issues/10024)
* Fix 'Create Declaration / Definition' making modifications to files outside the workspace folder. [#10402](https://github.com/microsoft/vscode-cpptools/issues/10402)
* Fix code analysis when `--use-color=true` is used. [#10407](https://github.com/microsoft/vscode-cpptools/issues/10407)
* Fix IntelliSense errors with CUDA. [#10455](https://github.com/microsoft/vscode-cpptools/issues/10455)
* Fix random save failures while code analysis is running on the saved file. [#10482](https://github.com/microsoft/vscode-cpptools/issues/10482)
* Fix the compile commands prompt setting `compileCommands` to a `compile_commands.json` in a different workspace folder. [#10588](https://github.com/microsoft/vscode-cpptools/issues/10588)
* Fix code analysis with `_Float16`. [#10610](https://github.com/microsoft/vscode-cpptools/issues/10610)
* Fix code analysis with c23/gnu23. [#10615](https://github.com/microsoft/vscode-cpptools/issues/10615)
* Fix 'Reset IntelliSense Database' being delayed until parsing is finished. [#10616](https://github.com/microsoft/vscode-cpptools/issues/10616)
* Fix uncaught exception with some configuration providers. [PR #10629](https://github.com/microsoft/vscode-cpptools/pull/10629)
* Fix bugs with the "You do not have IntelliSense configured" prompt. [#10658](https://github.com/microsoft/vscode-cpptools/issues/10658), [#10659](https://github.com/microsoft/vscode-cpptools/issues/10659)
* Fix random failures when adding or removing workspace folders. [PR #10665](https://github.com/microsoft/vscode-cpptools/pull/10665)
* Fix missing clang-tidy checks setting values. [#10667](https://github.com/microsoft/vscode-cpptools/issues/10667)
* Fix 'Select Default Compiler' so that it works if it's already set in the workspace or workspace folder settings. [#10674](https://github.com/microsoft/vscode-cpptools/issues/10674)
* Fix clang-tidy 'clang-analyzer-' documentation links not working. [#10678](https://github.com/microsoft/vscode-cpptools/issues/10678)
* Fix a deadlock with Find All References. [#10855](https://github.com/microsoft/vscode-cpptools/issues/10855)
* Fix the Code Analysis Options dropdown showing 'Resume' instead of 'Pause' after a cancel is done in a paused state. [#10879](https://github.com/microsoft/vscode-cpptools/issues/10879)
* Fix "Code Analysis Mode" not being localized when initially shown. [#10881](https://github.com/microsoft/vscode-cpptools/issues/10881)
* Fix the C/C++-related status bar items flickering off/on when switching documents. [PR #10888](https://github.com/microsoft/vscode-cpptools/pull/10888)
* Fix `__GXX_RTTI` incorrectly being defined by IntelliSense with clang and `-fms-compatibility`.
* Reduce the likelihood of an `onWillSaveWaitUntil` timeout.
* Fix an IntelliSense crash with C++20 concepts.
* Stop querying clang-cl.exe as C.
## Version 1.14.5: March 22, 2023
### Bug Fix
* Fix a deadlock with a multi-root workspace. [#10719](https://github.com/microsoft/vscode-cpptools/issues/10719)
## Version 1.14.4: February 28, 2023
### Enhancements
* Add `c23` and `c2x` support for clang and gcc modes. [#7471](https://github.com/microsoft/vscode-cpptools/issues/7471)
@@ -114,7 +238,7 @@
* Fix the process id picker only showing part of the process on a remote machine. [#10379](https://github.com/microsoft/vscode-cpptools/issues/10379)
* Fix temp files generating at the incorrect path. [#10386](https://github.com/microsoft/vscode-cpptools/issues/10386)
* Fix a crash in extractArgs. [PR #10394](https://github.com/microsoft/vscode-cpptools/pull/10394)
* Fix a bug with settings changes not being handled correctly for multiroot. [PR #10458](https://github.com/microsoft/vscode-cpptools/pull/10458)
* Fix a bug with settings changes not being handled correctly for multi-root. [PR #10458](https://github.com/microsoft/vscode-cpptools/pull/10458)
## Version 1.13.9: January 4, 2023
### Bug Fix
@@ -331,7 +455,7 @@
* Fix Go to Definition with C for identifiers that are C++ keywords. [#9081](https://github.com/microsoft/vscode-cpptools/issues/9081)
* Fix the new Run/Debug Code button not working with a modified program location. [#9082](https://github.com/microsoft/vscode-cpptools/issues/9082)
* Fix `__GNUC__` system defines causing clang-tidy to undefine `_Float32`. [#9091](https://github.com/microsoft/vscode-cpptools/issues/9091)
* Fix 'breakpoints set before launch in shared objects cannot be disabled/deleted' [#9095]([https://github.com/microsoft/vscode-cpptools/issues/9095)
* Fix 'breakpoints set before launch in shared objects cannot be disabled/deleted' [#9095](https://github.com/microsoft/vscode-cpptools/issues/9095)
* Fix compiler querying failing for compilers that don't output system includes. [#9099](https://github.com/microsoft/vscode-cpptools/issues/9099)
* Fix completion occurring (when it shouldn't) after the comma in a definition list. [#9101](https://github.com/microsoft/vscode-cpptools/issues/9101)
* Fix `;` incorrectly matching for `break;` and `continue;` completion. [#9115](https://github.com/microsoft/vscode-cpptools/issues/9115)
@@ -384,7 +508,7 @@
* Fix a crash when visualizing local variables for Microsoft Edge (msedge.exe) [#8738](https://github.com/microsoft/vscode-cpptools/issues/8738)
* Fix some system defines being incorrectly removed when running code analysis. [#8740](https://github.com/microsoft/vscode-cpptools/issues/8740)
* Prevent an error from being logged due to custom configuration processing prior to the provider being ready. [#8752](https://github.com/microsoft/vscode-cpptools/issues/8752)
* Fix incorrect crash recovery with multiroot. [#8762](https://github.com/microsoft/vscode-cpptools/issues/8762)
* Fix incorrect crash recovery with multi-root. [#8762](https://github.com/microsoft/vscode-cpptools/issues/8762)
* Fix random compiler query, clang-tidy, or clang-format failure on Windows. [#8764](https://github.com/microsoft/vscode-cpptools/issues/8764)
* Fix invoking commands before cpptools is activated. [#8785](https://github.com/microsoft/vscode-cpptools/issues/8785)
* Fix a bug on Windows with semantic tokens updating. [#8799](https://github.com/microsoft/vscode-cpptools/issues/8799)
@@ -562,7 +686,7 @@
* Add auto-detection of clang compilers on Windows (and different versions of cl.exe). [#6718](https://github.com/microsoft/vscode-cpptools/issues/6718)
* Stop adding .cu files to `files.associations` (switch to using setTextDocumentLanguage). [#7359](https://github.com/microsoft/vscode-cpptools/issues/7359)
* Add "Symbol Options" for CppVsdbg to configure symbol settings [PR #7680](https://github.com/microsoft/vscode-cpptools/pull/7680)
* Update CppVsdbg to use newer CppEE and msdia.
* Update CppVsdbg to use newer CppEE and msdia.
### Bug Fixes
* Fix switch header/source not checking `files.exclude`. [#4429](https://github.com/microsoft/vscode-cpptools/issues/4429)
@@ -608,7 +732,7 @@
* Add `private` or `protected` scope labels to class symbols. [#7120](https://github.com/microsoft/vscode-cpptools/issues/7120)
* Fix file:line path for $FILEPOS [#7193](https://github.com/microsoft/vscode-cpptools/issues/7193)
* [PR MIEngine#1124](https://github.com/microsoft/MIEngine/pull/1124)
* Add `stopAtConnect` and `hardwareBreakpoints` launch options [PR #7449](https://github.com/microsoft/vscode-cpptools/pull/7449)
* Add `stopAtConnect` and `hardwareBreakpoints` launch options [PR #7449](https://github.com/microsoft/vscode-cpptools/pull/7449)
* `stopAtConnect` stops the debugger on connection to a remote target [PR MIEngine#1109](https://github.com/microsoft/MIEngine/pull/1109)
* `hardwareBreakpoints` controls usage and number of remote hardware breakpoints [PR MIEngine#1128](https://github.com/microsoft/MIEngine/pull/1128)
* Add support for loading Concord extensions to the cppvsdbg debug adapter (see [documentation](https://github.com/microsoft/ConcordExtensibilitySamples/wiki/Support-for-VS-Code-cppvsdbg-Scenarios) for more information)
@@ -699,7 +823,7 @@
* Fix integrity hash checking of downloaded packages for the extension. [PR #7300](https://github.com/microsoft/vscode-cpptools/pull/7300)
* Fix a bug preventing successful validation and receipt of browse configurations from custom configuration providers. [PR# 7131](https://github.com/microsoft/vscode-cpptools/pull/7313)
* Fix a potential crash when editing at the end of a document.
* Fix "Configure Task" selection to show root folder names for multiroot workspace [PR #7315](https://github.com/microsoft/vscode-cpptools/pull/7315)
* Fix "Configure Task" selection to show root folder names for multi-root workspace [PR #7315](https://github.com/microsoft/vscode-cpptools/pull/7315)
## Version 1.2.2: February 25, 2021
### Bug Fixes
@@ -841,7 +965,7 @@
* YuTengjing (@tjx666) [PR #6344](https://github.com/microsoft/vscode-cpptools/pull/6344)
* Enable support for specifying a compiler by only the filename if it's in the environment path. [#6179](https://github.com/microsoft/vscode-cpptools/issues/6179)
* Restart the IntelliSense process if its memory usage exceeds the `C_Cpp.intelliSenseMemoryLimit` setting. [#6230](https://github.com/microsoft/vscode-cpptools/issues/6230)
* [cppdbg] Stepping out of a function will display '$ReturnValue'.
* [cppdbg] Stepping out of a function will display '$ReturnValue'.
* @Trass3r [PR MIEngine#1036](https://github.com/microsoft/MIEngine/pull/1036)
* [cppdbg] Support composite expressions in natvis ArrayItems
* @Trass3r [PR MIEngine#1044](https://github.com/microsoft/MIEngine/pull/1044)
@@ -869,7 +993,7 @@
* Fix `Build and Debug Active File` race condition with EngineLogs. [#6304](https://github.com/microsoft/vscode-cpptools/pull/6304)
* Fix changes to some `c_cpp_properties.json` properties not taking effect (until a reload) if `compileCommands` is set. [#6332](https://github.com/microsoft/vscode-cpptools/issues/6332)
* Fix issue with compiler querying not handling various clang command line options correctly. [#6356](https://github.com/microsoft/vscode-cpptools/issues/6356), [#6359](https://github.com/microsoft/vscode-cpptools/issues/6359)
* Fix multiroot workspace tag parsing when `compileCommands` is set. [#6383](https://github.com/microsoft/vscode-cpptools/issues/6383)
* Fix multi-root workspace tag parsing when `compileCommands` is set. [#6383](https://github.com/microsoft/vscode-cpptools/issues/6383)
* Fix mingw32 compilers not being detected. [#6394](https://github.com/microsoft/vscode-cpptools/issues/6394)
* Various bug fixes for vcFormat. [PR #6408](https://github.com/microsoft/vscode-cpptools/pull/6408)
* Fix issue causing zh-cn and zh-tw language files not to be used. [PR #6418](https://github.com/microsoft/vscode-cpptools/pull/6418)
@@ -924,7 +1048,7 @@
* Get the default target of the compiler. If the default target is ARM/ARM64, do not use the generic "--target" option to determine bitness. [#5772](https://github.com/microsoft/vscode-cpptools/issues/5772)
* Fix `compilerArgs` not being used if no `compilerPath` is set. [#5776](https://github.com/microsoft/vscode-cpptools/issues/5776)
* Fix an incorrect IntelliSense error squiggle. [#5783](https://github.com/microsoft/vscode-cpptools/issues/5783)
* Fix semantic colorization and inactive regions for multiroot workspaces. [#5812](https://github.com/microsoft/vscode-cpptools/issues/5812), [#5828](https://github.com/microsoft/vscode-cpptools/issues/5828)
* Fix semantic colorization and inactive regions for multi-root workspaces. [#5812](https://github.com/microsoft/vscode-cpptools/issues/5812), [#5828](https://github.com/microsoft/vscode-cpptools/issues/5828)
* Fix bug with cl.exe flags /FU and /FI not being processed. [#5819](https://github.com/microsoft/vscode-cpptools/issues/5819)
* Fix `cStandard` being set to `c11` instead of `gnu18` with gcc. [#5834](https://github.com/microsoft/vscode-cpptools/issues/5834)
* Fix Doxygen parameterHint comment to display for a parameter name that is followed by colon. [#5836](https://github.com/microsoft/vscode-cpptools/issues/5836)
@@ -1045,7 +1169,7 @@
* Fix the "Unable to load schema" error for `c_cpp_properties.json`. [#4841](https://github.com/microsoft/vscode-cpptools/issues/4841)
* Change "Visual Studio" `clang_format_fallback_style` setting to use NamespaceIndentation All. [#5124](https://github.com/microsoft/vscode-cpptools/issues/5124)
* Fix "C++98" and "C++0x" modes. [#5157](https://github.com/microsoft/vscode-cpptools/issues/5157), [#5225](https://github.com/microsoft/vscode-cpptools/issues/5225)
* Improve the error message for multiroot projects using `compile_commands.json`. [#5160](https://github.com/microsoft/vscode-cpptools/issues/5160)
* Improve the error message for multi-root projects using `compile_commands.json`. [#5160](https://github.com/microsoft/vscode-cpptools/issues/5160)
* Fix some cpptools process crashes. [#5280](https://github.com/microsoft/vscode-cpptools/issues/5280)
* Avoid `<…>` truncation on hover. [#5291](https://github.com/microsoft/vscode-cpptools/issues/5291)
* Fix incorrect translations. [PR #5300](https://github.com/microsoft/vscode-cpptools/pull/5300)
@@ -1063,7 +1187,7 @@
## Version 0.27.0: March 30, 2020
### Enhancements
* Improved multi-root implementation with a single language server process and database for the entire workspace (shared between workspace folders). Fixes most [multi-root bugs](https://github.com/microsoft/vscode-cpptools/issues?q=is%3Aopen+is%3Aissue+label%3A%22Feature%3A+Multiroot%22+label%3A%22fixed+%28release+pending%29%22+milestone%3A0.27.0).
* Improved multi-root implementation with a single language server process and database for the entire workspace (shared between workspace folders). Fixes most [multi-root bugs](https://github.com/microsoft/vscode-cpptools/issues?q=is%3Aopen+is%3Aissue+label%3A%22Feature%3A+Multi-root%22+label%3A%22fixed+%28release+pending%29%22+milestone%3A0.27.0).
* Update to clang-format 9.0.1 (and without shared library dependencies). [#2887](https://github.com/microsoft/vscode-cpptools/issues/2887), [#3174](https://github.com/microsoft/vscode-cpptools/issues/3174)
* Add new setting `C_Cpp.debugger.useBacktickCommandSubstitution` to fix debugging when CShell is the remote default shell. [#4015](https://github.com/microsoft/vscode-cpptools/issues/4015)
* @Helloimbob [PR #5053](https://github.com/microsoft/vscode-cpptools/pull/5053)
@@ -1222,7 +1346,7 @@
* Add a code action for resolving missing includes via the `vcpkg` dependency manager. [PR #3791](https://github.com/microsoft/vscode-cpptools/pull/3791)
### Enhancements
* Added support for compile commands:
* Added support for compile commands:
* `-iquote`. [#2088](https://github.com/microsoft/vscode-cpptools/issues/2088)
* `-imacros`. [#2417](https://github.com/microsoft/vscode-cpptools/issues/2417)
* `-idirafter`(`--include-directory-after` & `--include-directory-after=`). [#3713](https://github.com/microsoft/vscode-cpptools/issues/3713)
@@ -1999,4 +2123,4 @@
## Version 0.5.0: April 14, 2016
* Usability and correctness bug fixes.
* Simplify installation experience.
* Usability and correctness bug fixes.
* Usability and correctness bug fixes.
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+3 -3
View File
@@ -4,11 +4,11 @@
"--microsoft",
"--microsoft_bugs",
"--microsoft_version",
"1934",
"1935",
"--pack_alignment",
"8",
"-D_MSC_VER=1934",
"-D_MSC_FULL_VER=193431933",
"-D_MSC_VER=1935",
"-D_MSC_FULL_VER=193532215",
"-D_MSC_BUILD=0",
"-D_M_ARM=7"
],
+3 -3
View File
@@ -4,12 +4,12 @@
"--microsoft",
"--microsoft_bugs",
"--microsoft_version",
"1934",
"1935",
"--pack_alignment",
"8",
"-D_CPPUNWIND=1",
"-D_MSC_VER=1934",
"-D_MSC_FULL_VER=193431933",
"-D_MSC_VER=1935",
"-D_MSC_FULL_VER=193532215",
"-D_MSC_BUILD=0",
"-D_M_ARM64=1"
],
+3 -3
View File
@@ -4,12 +4,12 @@
"--microsoft",
"--microsoft_bugs",
"--microsoft_version",
"1934",
"1935",
"--pack_alignment",
"8",
"-D_CPPUNWIND=1",
"-D_MSC_VER=1934",
"-D_MSC_FULL_VER=193431933",
"-D_MSC_VER=1935",
"-D_MSC_FULL_VER=193532215",
"-D_MSC_BUILD=0",
"-D_M_X64=100",
"-D_M_AMD64=100"
+3 -3
View File
@@ -4,11 +4,11 @@
"--microsoft",
"--microsoft_bugs",
"--microsoft_version",
"1934",
"1935",
"--pack_alignment",
"8",
"-D_MSC_VER=1934",
"-D_MSC_FULL_VER=193431933",
"-D_MSC_VER=1935",
"-D_MSC_FULL_VER=193532215",
"-D_MSC_BUILD=0",
"-D_M_IX86=600",
"-D_M_IX86_FP=2"
+19 -156
View File
@@ -6,7 +6,7 @@
'use strict';
const gulp = require('gulp');
const eslint = require('gulp-eslint');
const fs = require('fs');
const nls = require('vscode-nls-dev');
const path = require('path');
@@ -58,24 +58,6 @@ const languages = [
{ id: "pl", folderName: "plk" }
];
/// Misc Tasks
const allTypeScript = [
'src/**/*.ts',
'!**/*.d.ts',
'!**/typings**'
];
gulp.task('lint', function () {
return gulp.src(allTypeScript)
.pipe(eslint({ configFile: ".eslintrc.js" }))
.pipe(eslint.format())
.pipe(eslint.failAfterError());
});
gulp.task('copy-walkthrough-media', function () {
return gulp.src('walkthrough/images/**/*')
.pipe(gulp.dest('dist/walkthrough/images'));
});
// ****************************
// Command: translations-export
@@ -248,25 +230,25 @@ gulp.task("translations-export", (done) => {
// Merge files from all source streams
es.merge(jsStream, htmlStream, jsonSchemaStream)
// Filter down to only the files we need
.pipe(filter(['**/*.nls.json', '**/*.nls.metadata.json']))
// Filter down to only the files we need
.pipe(filter(['**/*.nls.json', '**/*.nls.metadata.json']))
// Consoldate them into nls.metadata.json, which the xlf is built from.
.pipe(nls.bundleMetaDataFiles('ms-vscode.cpptools', '.'))
// Consoldate them into nls.metadata.json, which the xlf is built from.
.pipe(nls.bundleMetaDataFiles('ms-vscode.cpptools', '.'))
// filter down to just the resulting metadata files
.pipe(filter(['**/nls.metadata.header.json', '**/nls.metadata.json']))
// filter down to just the resulting metadata files
.pipe(filter(['**/nls.metadata.header.json', '**/nls.metadata.json']))
// Add package.nls.json, used to localized package.json
.pipe(gulp.src(["package.nls.json"]))
// Add package.nls.json, used to localized package.json
.pipe(gulp.src(["package.nls.json"]))
// package.nls.json and nls.metadata.json are used to generate the xlf file
// Does not re-queue any files to the stream. Outputs only the XLF file
.pipe(nls.createXlfFiles(translationProjectName, translationExtensionName))
.pipe(gulp.dest(path.join("..", `${translationProjectName}-localization-export`)))
.pipe(es.wait(() => {
done();
}));
// package.nls.json and nls.metadata.json are used to generate the xlf file
// Does not re-queue any files to the stream. Outputs only the XLF file
.pipe(nls.createXlfFiles(translationProjectName, translationExtensionName))
.pipe(gulp.dest(path.join("..", `${translationProjectName}-localization-export`)))
.pipe(es.wait(() => {
done();
}));
});
@@ -290,9 +272,9 @@ gulp.task("translations-import", (done) => {
.pipe(nls.prepareJsonFiles())
.pipe(gulp.dest(path.join("./i18n", language.folderName)));
}))
.pipe(es.wait(() => {
done();
}));
.pipe(es.wait(() => {
done();
}));
});
// ****************************
@@ -462,122 +444,3 @@ const generateJsonSchemaLoc = () => {
gulp.task('translations-generate', gulp.series(generateSrcLocBundle, generateAdditionalLocFiles, generateHtmlLoc, generateWalkthroughHtmlLoc, generateJsonSchemaLoc));
// ****************************
// Command: generate-native-strings
// The following is used to generate nativeStrings.ts and localized_string_ids.h from ./src/nativeStrings.json
// If adding localized strings to the native side, start by adding it to nativeStrings.json and use this to generate the others.
// ****************************
// A gulp task to parse ./src/nativeStrings.json and generate nativeStrings.ts, and localized_string_ids.h
gulp.task("generate-native-strings", (done) => {
const stringTable = jsonc.parse(fs.readFileSync('./src/nativeStrings.json').toString());
let nativeEnumContent = ""
let nativeStringTableContent = "";
let typeScriptSwitchContent = "";
let stringIndex = 1;
for (let property in stringTable) {
let stringValue = stringTable[property];
let hintValue;
if (typeof stringValue !== "string") {
hintValue = stringValue.hint;
stringValue = stringValue.text;
}
// Add to native enum
nativeEnumContent += ` ${property} = ${stringIndex},\n`;
// Add to native string table
nativeStringTableContent += ` ${JSON.stringify(stringValue)},\n`;
// Add to TypeScript switch
// Skip empty strings, which can be used to prevent enum/index reordering
if (stringValue != "") {
// It's possible that a translation may skip "{#}" entries, so check for up to 50 of them.
let numArgs = 0;
for (let i = 0; i < 50; i++) {
if (stringValue.includes(`{${i}}`)) {
numArgs = i + 1;
}
}
typeScriptSwitchContent += ` case ${stringIndex}:\n`;
if (numArgs != 0) {
typeScriptSwitchContent += ` if (stringArgs) {\n`;
if (hintValue) {
typeScriptSwitchContent += ` message = localize({ key: ${JSON.stringify(property)}, comment: [${JSON.stringify(hintValue)}] }, ${JSON.stringify(stringValue)}`;
} else {
typeScriptSwitchContent += ` message = localize(${JSON.stringify(property)}, ${JSON.stringify(stringValue)}`;
}
for (let i = 0; i < numArgs; i++) {
typeScriptSwitchContent += `, stringArgs[${i}]`;
}
typeScriptSwitchContent += `);\n break;\n }\n`;
}
if (hintValue) {
typeScriptSwitchContent += ` message = localize({ key: ${JSON.stringify(property)}, comment: [${JSON.stringify(hintValue)}] }, ${JSON.stringify(stringValue)}`;
} else {
typeScriptSwitchContent += ` message = localize(${JSON.stringify(property)}, ${JSON.stringify(stringValue)}`;
}
typeScriptSwitchContent += `);\n break;\n`;
}
++stringIndex;
};
let typeScriptContent = `/* --------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All Rights Reserved.
* See 'LICENSE' in the project root for license information.
* ------------------------------------------------------------------------------------------ */
// ****** This file is generated from nativeStrings.json. Do not edit this file directly. ******
'use strict';
import * as nls from 'vscode-nls';
nls.config({ messageFormat: nls.MessageFormat.bundle, bundleFormat: nls.BundleFormat.standalone })();
const localize: nls.LocalizeFunc = nls.loadMessageBundle();
export const localizedStringCount: number = ${stringIndex};
export function lookupString(stringId: number, stringArgs?: string[]): string {
let message: string = "";
switch (stringId) {
case 0:
// Special case for blank string
break;
${typeScriptSwitchContent}
default:
console.assert(\"Unrecognized string ID\");
break;
}
return message;
}
`;
console.log("Writing file: ./src/nativeStrings.ts");
fs.writeFileSync("./src/nativeStrings.ts", typeScriptContent, 'utf8');
let nativeContents = `/* --------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All Rights Reserved.
* See 'LICENSE' in the project root for license information.
* ------------------------------------------------------------------------------------------ */
// ****** This file is generated from nativeStrings.json. Do not edit this file directly. ******
#pragma once
// NOLINTBEGIN(modernize-raw-string-literal)
enum class localized_string_id : unsigned int
{
blank = 0,
${nativeEnumContent}};
inline static const char *localizable_strings[] = {
"",
${nativeStringTableContent}};
// NOLINTEND(modernize-raw-string-literal)
`;
console.log("Writing file: localized_string_ids.h -- If changed, copy to VS repo: src/vc/designtime/vscode/Common/generated/");
fs.writeFileSync("localized_string_ids.h", nativeContents, 'utf8');
done();
});
@@ -16,6 +16,6 @@
"reinstall.extension.text5": "在 Windows 上:",
"reinstall.extension.text6": "在 Linux 上:",
"reinstall.extension.text7": "然后通过 VS Code 中的市场 UI 重新安装。",
"reinstall.extension.text8": "如果 VS Code 无法部署扩展的正确版本,则可以 {0} 并使用 VS Code 中市场 UI 内 ... 菜单下的 '从 VSIX... 安装' 选项安装系统的正确 VSIX。",
"reinstall.extension.text8": "如果 VS Code 无法部署扩展的正确版本,则可以 {0} 并使用 VS Code 中市场 UI 内 \"...\" 菜单下的 \"从 VSIX... 安装\" 选项安装系统的正确 VSIX。",
"download.vsix.link.title": "已从 VS Code 市场网站下载"
}
+30 -2
View File
@@ -16,7 +16,9 @@
"c_cpp.command.configurationProviderSelect.title": "更改配置提供程序...",
"c_cpp.command.configurationEditJSON.title": "编辑配置(JSON)",
"c_cpp.command.configurationEditUI.title": "编辑配置(UI)",
"c_cpp.command.selectDefaultCompiler.title": "选择默认编译器",
"c_cpp.command.selectDefaultCompiler.title": "选择默认编译器...",
"c_cpp.command.selectIntelliSenseConfiguration.title": "选择 IntelliSense 配置...",
"c_cpp.command.rescanCompilers.title": "重新扫描编译器",
"c_cpp.command.switchHeaderSource.title": "切换标头/源",
"c_cpp.command.enableErrorSquiggles.title": "启用错误波形曲线",
"c_cpp.command.disableErrorSquiggles.title": "禁用错误波形曲线",
@@ -245,6 +247,10 @@
"c_cpp.configuration.caseSensitiveFileSupport.markdownDescription": "如果设置为 `default`,则假定工作区的文件系统在 Windows 上不区分大小写,在 macOS 或 Linux 上区分大小写。如果设置为 `enabled`,则假定工作区的文件系统在 Windows 上区分大小写。",
"c_cpp.configuration.enhancedColorization.markdownDescription": "如果启用,则根据 IntelliSense 对代码进行着色。仅当 `#C_Cpp.intelliSenseEngine#` 设置为 `default` 时,此设置才适用。",
"c_cpp.configuration.codeFolding.description": "如果启用,则由语言服务器提供代码折叠范围。",
"c_cpp.configuration.markdownInComments.description": "选择 Markdown 是否在悬停工具提示中可用。默认情况下,仅一部分 markdown 将应用于悬停工具提示中的注释。",
"c_cpp.configuration.markdownInComments.subsetEnabled.description": "启用悬停工具提示中的所有 Markdown 功能,但包含“_”和“*”字符的功能除外。",
"c_cpp.configuration.markdownInComments.enabled.description": "在悬停工具提示中启用所有 Markdown 功能。",
"c_cpp.configuration.markdownInComments.disabled.description": "禁用悬停工具提示中的所有 Markdown 功能。",
"c_cpp.configuration.hover.description": "如果禁用,则语言服务器不再提供悬停详细信息。",
"c_cpp.configuration.vcpkg.enabled.markdownDescription": "为 [vcpkg 依存关系管理器](https://aka.ms/vcpkg/) 启用集成服务。",
"c_cpp.configuration.addNodeAddonIncludePaths.markdownDescription": "当来自 `nan` 和 `node-addon-api` 的包含路径为依赖项时,请将其添加。",
@@ -405,5 +411,27 @@
"c_cpp.debuggers.logging.category.verbose.description": "开发期间用于交互式调查的日志。这些日志应主要包含可用于调试的信息,并且不具有长期价值。",
"c_cpp.debuggers.logging.category.warning.description": "突出显示应用程序流中的异常或意外事件,但不会导致应用程序执行停止的日志。",
"c_cpp.debuggers.logging.category.error.description": "在当前执行流因失败而停止时突出显示的日志。这些应指示当前活动中的失败,而不是应用程序范围的失败。",
"c_cpp.debuggers.logging.category.none.description": "不用于写入日志消息。指定事件日志类别不应写入任何消息。"
"c_cpp.debuggers.logging.category.none.description": "不用于写入日志消息。指定事件日志类别不应写入任何消息。",
"c_cpp.walkthrough.title": "C++ 开发入门",
"c_cpp.walkthrough.description": "深入了解 VS Code 丰富的 C++ 开发体验。",
"c_cpp.walkthrough.set.up.title": "设置 C++ 环境",
"c_cpp.walkthrough.activating.description": "激活 C++ 扩展以确定是否已设置 C++ 环境。\n正在激活扩展...",
"c_cpp.walkthrough.no.compilers.description": "无法在计算机上找到 C++ 编译器,这是使用 C++ 扩展所必需的。请按照右侧的说明安装一个编译器,然后单击下面的“查找我的新编译器”。\n[查找我的新编译器](command:C_Cpp.RescanCompilers?%7B%22sender%22%3A%22walkthrough%22%7D)",
"c_cpp.walkthrough.compilers.found.description": "C++ 扩展需要与 C++ 编译器一起使用。通过单击下面的按钮从计算机上已有的编译器中选择一个。\n[选择我的默认编译器](command:C_Cpp.SelectDefaultCompiler?%7B%22sender%22%3A%22walkthrough%22%7D)",
"c_cpp.walkthrough.compilers.found.altText": "显示在用户计算机上找到的选定默认编译器快捷检查和编译器列表的图像,其中一个已选定。",
"c_cpp.walkthrough.create.cpp.file.title": "创建 C++ 文件",
"c_cpp.walkthrough.create.cpp.file.description": "[打开](command:toSide:workbench.action.files.openFile)或[创建](command:toSide:workbench.action.files.newUntitledFile?%7B%22languageId%22%3A%22cpp%22%7D)一个 C++ 文件。请确保将其保存为 \".cpp\" 扩展名,例如 \"helloworld.cpp\"。\n[创建 C++ 文件](command:toSide:workbench.action.files.newUntitledFile?%7B%22languageId%22%3A%22cpp%22%7D)",
"c_cpp.walkthrough.create.cpp.file.altText": "使用 C++ 项目打开 C++ 文件或文件夹。",
"c_cpp.walkthrough.command.prompt.title": "从开发人员命令提示启动",
"c_cpp.walkthrough.command.prompt.description": "使用 Microsoft Visual Studio C++ 编译器时,C++ 扩展需要从开发人员命令提示符中启动 VS Code。请按照右侧的说明重新启动。\n[重新加载窗口](command:workbench.action.reloadWindow)",
"c_cpp.walkthrough.run.debug.title": "运行并调试 C++ 文件",
"c_cpp.walkthrough.run.debug.mac.description": "打开你的 C++ 文件,在编辑器右上角点击播放按钮,或者在文件上按 F5。选择“clang++ - 构建和调试活动文件”以使用调试器运行。",
"c_cpp.walkthrough.run.debug.linux.description": "打开 C++ 文件,在编辑器右上角点击播放按钮,或者在文件上按 F5。选择“g++ - 构建和调试活动文件”以使用调试器运行。",
"c_cpp.walkthrough.run.debug.windows.description": "打开你的 C++ 文件,然后在编辑器右上角点击播放按钮,或者当你在该文件上时按下 F5。选择“cl.exe - 构建和调试活动文件”以使用调试器运行。",
"c_cpp.walkthrough.run.debug.windows.altText": "显示 C++ 文件中的断点、f5 按钮和右上角的运行符号的图像",
"c_cpp.walkthrough.customize.debugging.title": "自定义调试",
"c_cpp.walkthrough.customize.debugging.mac.description": "可以通过在播放按钮右侧选择“添加调试配置”来自定义调试配置(例如,在运行时传递参数给程序)。自定义调试配置将保存在项目的 launch.json 文件中。\n[了解更多](https://code.visualstudio.com/docs/cpp/config-linux#_debug-helloworldcpp)",
"c_cpp.walkthrough.customize.debugging.linux.description": "可以通过在播放按钮右侧选择“添加调试配置”来自定义调试配置(例如,在运行时传递参数给程序)。自定义调试配置将保存在项目的 launch.json 文件中。\n[了解更多](https://code.visualstudio.com/docs/cpp/config-msvc#_debug-helloworldcpp)",
"c_cpp.walkthrough.customize.debugging.windows.description": "可以通过在播放按钮右侧选择“添加调试配置”来自定义调试配置(例如,在运行时传递参数给程序)。自定义的调试配置将保存在项目的 launch.json 文件中。\n[了解更多](https://code.visualstudio.com/docs/cpp/config-clang-mac#_debug-helloworldcpp)",
"c_cpp.walkthrough.customize.debugging.altText": "显示下拉列表中“添加调试配置”的图像"
}
@@ -4,25 +4,28 @@
*--------------------------------------------------------------------------------------------*/
// Do not edit this file. It is machine generated.
{
"unable.to.start": "无法启动 C/C++ 语言服务器。IntelliSense 功能将被禁用。错误: {0}",
"check.permissions": "EPERM: 检查“{0}”的权限",
"select.compile.commands": "选择要为 IntelliSense 配置的编译器",
"select.compiler": "选择要为 IntelliSense 配置的编译器",
"configure.intelliSense.forFolder": "你希望如何为“{0}”文件夹配置 IntelliSense?",
"configure.intelliSense.thisFolder": "你希望如何为此文件夹配置 IntelliSense?",
"found.string": "在 {0} 找到",
"use.compiler": "使用 {0}",
"configuration.providers": "配置提供程序",
"compilers": "编译器",
"setCompiler.message": "未配置编译器。除非设置自己的配置,否则 IntelliSense 可能无法正常工作。",
"selectCompiler.string": "选择编译器",
"selectAnotherCompiler.string": "在我的计算机上选择另一个编译器",
"selectIntelliSenseConfiguration.string": "选择 IntelliSense 配置...",
"use.provider": "使用 {0}",
"use.compileCommands": "使用 {0}",
"selectAnotherCompiler.string": "在我的计算机上选择另一个编译器...",
"installCompiler.string": "帮助我安装编译器",
"noConfig.string": "请勿配置编译器(不推荐)",
"noConfig.string": "请勿适用编译器进行配置(不推荐)",
"selectCompiler.string": "选择编译器",
"confirmCompiler.string": "是",
"selectCompiler.message": "已找到编译器 {0}。是否要使用此编译器配置 IntelliSense?",
"check.permissions": "EPERM: 检查“{0}”的权限",
"unable.to.start": "无法启动 C/C++ 语言服务器。IntelliSense 功能将被禁用。错误: {0}",
"server.crashed.restart": "语言服务器崩溃。正在重新启动...",
"server.crashed2": "在过去 3 分钟内,语言服务器崩溃了 5 次。它不会重新启动。",
"loggingLevel.changed": "{0} 已更改为: {1}",
"provider.configure.folder": "{0} 想要为“{1}”文件夹配置 IntelliSense。",
"provider.configure.this.folder": "{0} 想要为此文件夹配置 IntelliSense。",
"allow.button": "允许",
"dont.allow.button": "不允许",
"ask.me.later.button": "稍后询问我",
"dismiss.button": "消除",
"diable.warnings.button": "禁用警告",
"unable.to.provide.configuration": "{0} 无法为“{1}”提供 IntelliSense 配置信息。将改为使用“{2}”配置中的设置。",
@@ -35,6 +38,11 @@
"dont.show.again": "不再显示",
"update.your.intellisense.settings": "更新 IntelliSense 设置或使用 Vcpkg 来安装用于帮助查找缺少的标头的库。",
"configure.your.intellisense.settings": "配置 IntelliSense 设置以帮助查找缺少的标头。",
"provider.configure.folder": "{0} 想要为“{1}”文件夹配置 IntelliSense。",
"provider.configure.this.folder": "{0} 想要为此文件夹配置 IntelliSense。",
"allow.button": "允许",
"dont.allow.button": "不允许",
"ask.me.later.button": "稍后询问我",
"a.compile.commands.file": "compile_commands.json 文件",
"auto-configure.intellisense.folder": "是否要使用 {0} 为“{1}”文件夹自动配置 IntelliSense?",
"auto-configure.intellisense.this.folder": "是否要使用 {0} 为此文件夹自动配置 IntelliSense?",
@@ -42,6 +50,5 @@
"no.button": "否",
"configurations.received": "已收到自定义配置:",
"browse.configuration.received": "已收到自定义浏览配置: {0}",
"no.compilers.found": "系统上未找到任何 C++ 编译器。对于你的平台,建议使用编辑器中的说明安装 {0}。",
"compilers.found": "在你的系统上找到了以下 C++ 编译器。请在项目的 IntelliSense 配置中选择编译器。"
"fallback.clipboard": "已复制声明/定义。"
}
@@ -11,6 +11,5 @@
"configuration.select.first": "首先打开一个文件夹以选择配置。",
"configuration.provider.select.first": "首先打开一个文件夹以选择配置提供程序。",
"edit.configurations.open.first": "首先打开一个文件夹以编辑配置",
"code.action.aborted": "无法应用代码分析修复程序,因为文档已更改。",
"add.includepath.open.first": "首先打开一个要添加到 {0} 的文件夹"
"code.action.aborted": "无法应用代码分析修复程序,因为文档已更改。"
}
@@ -7,6 +7,7 @@
"find.all.references": "查找所有引用",
"peek.references": "速览引用",
"rename": "重命名",
"call.hierarchy": "调用层次结构",
"confirmed.reference.upper": "已确认引用",
"confirmation.in.progress.upper": "正在进行确认",
"comment.reference.upper": "注释引用",
@@ -0,0 +1,8 @@
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
// Do not edit this file. It is machine generated.
{
"c.cpp.configurations": "C/C++ 配置"
}
@@ -4,19 +4,40 @@
*--------------------------------------------------------------------------------------------*/
// Do not edit this file. It is machine generated.
{
"running.tagparser.text": "分析工作区",
"paused.tagparser.text": "分析工作区: 已暂停",
"complete.tagparser.text": "分析完毕",
"initializing.tagparser.text": "正在初始化工作区",
"indexing.tagparser.text": "正在索引工作区",
"rescan.tagparse.text": "重新扫描工作区",
"c.cpp.parsing.open.files.tooltip": "正在分析打开的文件",
"click.to.preview": "单击以预览结果",
"updating.intellisense.tooltip": "正在更新 IntelliSense",
"select.command": "选择命令...",
"updating.intellisense.text": "IntelliSense: 正在更新",
"idle.intellisense.text": "IntelliSense: 就绪",
"absent.intellisense.text": "IntelliSense: 未配置",
"running.analysis.text": "Code Analysis: 正在运行",
"paused.analysis.text": "Code Analysis: 已暂停",
"mode.analysis.prefix": "Code Analysis 模式:",
"c.cpp.configureIntelliSenseStatus.text": "配置 IntelliSense",
"c.cpp.configureIntelliSenseStatus.cppText": "C/C++ 配置 IntelliSense",
"c.cpp.configuration.tooltip": "C/C++ 配置",
"c.cpp.references.statusbar": "C/C++ 引用状态",
"c.cpp.compilerStatus.statusbar": "配置 IntelliSense",
"c.cpp.intellisense.statusbar": "C/C++ IntelliSense 状态",
"c.cpp.tagparser.statusbar": "C/C++ 标记分析器状态",
"discovering.files.tooltip": "正在发现文件",
"running.analysis.tooltip": "正在运行 {0}",
"code.analysis.paused.tooltip": "暂停 {0}",
"running.analysis.processed.tooltip": "正在运行 {0}: {1} / {2} ({3}%)",
"cpptools.status.intellisense": "C/C++ IntelliSense 状态",
"cpptools.status.tagparser": "C/C++ 标记分析器状态",
"cpptools.detail.tagparser": "正在初始化...",
"cpptools.status.codeanalysis": "C/C++ Code Analysis 状态",
"c.cpp.codeanalysis.statusbar.runNow": "立即运行",
"tagparser.pause.text": "暂停",
"tagparser.resume.text": "继续",
"intellisense.select.text": "选择编译器",
"rescan.intellisense.text": "重新扫描",
"rescan.intellisense.tooltip": "重新扫描 IntelliSense",
"mode.codeanalysis.status.automatic": "自动",
"mode.codeanalysis.status.manual": "手动",
"c.cpp.codeanalysis.statusbar.showCodeAnalysisOptions": "选项",
"startup.codeanalysis.status": "正在启动...",
"c.cpp.codeanalysis.statusbar.showRunNowOptions": "立即运行",
"running.analysis.processed.tooltip": "正在运行: {0}/{1} ({2}%)",
"select.a.configuration": "选择配置...",
"edit.configuration.ui": "编辑配置(UI)",
"edit.configuration.json": "编辑配置(JSON)",
@@ -26,9 +47,15 @@
"disable.configuration.provider": "禁用活动配置提供程序(如果适用)。",
"select.compile.commands": "选择 compile_commands.json...",
"select.workspace": "选择工作区文件夹…",
"select.command": "选择命令...",
"select.code.analysis.command": "选择代码分析命令...",
"resume.parsing": "恢复工作区分析",
"pause.parsing": "暂停工作区分析",
"cancel.analysis": "取消 {0}",
"resume.analysis": "恢复 {0}",
"pause.analysis": "暂停 {0}"
"cancel.analysis": "取消",
"resume.analysis": "继续",
"pause.analysis": "暂停",
"another.analysis": "启动另一个...",
"active.analysis": "在活动文件上运行 Code Analysis",
"all.analysis": "在所有文件上运行 Code Analysis",
"open.analysis": "在打开的文件上运行 Code Analysis"
}
@@ -18,27 +18,28 @@
"running.analysis.text": "Code Analysis: 正在运行",
"paused.analysis.text": "Code Analysis: 已暂停",
"mode.analysis.prefix": "Code Analysis 模式:",
"c.cpp.configureIntelliSenseStatus.text": "配置 IntelliSense",
"c.cpp.configureIntelliSenseStatus.cppText": "C/C++ 配置 IntelliSense",
"select.command": "选择命令...",
"cpptools.status.configuration": "选择配置",
"select.code.analysis.command": "选择代码分析命令...",
"c.cpp.configuration.tooltip": "C/C++ 配置",
"c.cpp.references.statusbar": "C/C++ 引用状态",
"c.cpp.compilerStatus.statusbar": "配置 IntelliSense",
"cpptools.status.intellisense": "C/C++ IntelliSense 状态",
"cpptools.status.tagparser": "C/C++ 标记分析器状态",
"cpptools.detail.tagparser": "正在初始化...",
"cpptools.status.codeanalysis": "C/C++ Code Analysis 状态",
"c.cpp.codeanalysis.statusbar.runNow": "立即运行",
"configuration.notselected.text": "配置: 未选择",
"configuration.selected.text": "选择配置",
"tagparser.pause.text": "暂停",
"tagparser.resume.text": "继续",
"intellisense.select.text": "选择编译器",
"rescan.intellisense.text": "重新扫描",
"rescan.intellisense.tooltip": "重新扫描 IntelliSense",
"mode.codeanalysis.status": "自动",
"mode.codeanalysis.status.automatic": "自动",
"mode.codeanalysis.status.manual": "手动",
"c.cpp.codeanalysis.statusbar.showCodeAnalysisOptions": "选项",
"startup.codeanalysis.status": "正在启动...",
"c.cpp.codeanalysis.statusbar.showRunNowOptions": "立即运行",
"running.analysis.processed.tooltip": "正在运行 {0}: {1} / {2} ({3}%)",
"running.analysis.processed.tooltip": "正在运行: {0}/{1} ({2}%)",
"select.a.configuration": "选择配置...",
"edit.configuration.ui": "编辑配置(UI)",
"edit.configuration.json": "编辑配置(JSON)",
@@ -50,10 +51,10 @@
"select.workspace": "选择工作区文件夹…",
"resume.parsing": "恢复工作区分析",
"pause.parsing": "暂停工作区分析",
"cancel.analysis": "取消 {0}",
"resume.analysis": "恢复 {0}",
"pause.analysis": "暂停 {0}",
"another.analysis": "启动另一个 {0}...",
"cancel.analysis": "取消",
"resume.analysis": "继续",
"pause.analysis": "暂停",
"another.analysis": "启动另一个...",
"active.analysis": "在活动文件上运行 Code Analysis",
"all.analysis": "在所有文件上运行 Code Analysis",
"open.analysis": "在打开的文件上运行 Code Analysis"
@@ -167,8 +167,8 @@
"overloads": "还有 %d 个重载",
"specialization": "还有 1 个专业化",
"specializations": "还有 %d 个专业化",
"compiler": "注意: 未完全配置 IntelliSense。使用“选择默认编译器”命令完成配置。",
"select_compiler": "选择编译器以定位系统标头",
"intellisense_configuration": "注意: 未完全配置 IntelliSense。使用“选择 IntelliSense 配置”命令完成配置。",
"select_intellisense_configuration": "选择 IntelliSense 配置以查找系统标头",
"expands_to": "扩展到:",
"attention_label": "注意:",
"author_label": "作者:",
@@ -287,12 +287,14 @@
"e_cm_file_not_in_project": "找不到文件“%s”。",
"refactor_create_declaration_definition_failed": "创建声明/定义失败: %s",
"refactor_create_default_delete": "无法创建函数 \"%s\" 。不支持创建默认函数或已删除的函数。",
"refactor_function_copied_to_clipboard": "函数签名已复制到剪贴板。",
"refactor_function_not_created": "无法创建函数'%s'。",
"refactor_ambiguous_locations": "无法找到函数“%s”的明确位置。",
"refactor_file_not_in_project": "找不到文件“%s”。",
"refactor_not_class_namespace": "找不到类或命名空间'%s'。",
"refactor_operation_unsupported": "此操作不支持“%s”。",
"unknown_error": "未知错误。",
"run_select_compiler": "请运行“选择默认编译器”命令以定位系统标头。"
"run_select_intellisense_configuration": "请运行“选择 IntelliSense 配置...”命令以定位系统标头。",
"offer_copy_declaration": "\"{0}\" 的复制声明",
"offer_copy_definition": "\"{0}\" 的复制定义",
"refactor_copy_declaration_definition_failed": "将声明/定义复制到剪贴板失败: %s"
}
@@ -0,0 +1,11 @@
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
// Do not edit this file. It is machine generated.
{
"walkthrough.windows.title.open.dev.command.prompt": "使用开发人员命令提示符重新启动",
"walkthrough.windows.background.dev.command.prompt": "正在使用带有 MSVC 编译器的 Windows 机器,因此需要从开发人员命令提示符中启动 VS Code,以便所有环境变量都能正确设置。要使用开发人员命令提示符重新启动:",
"walkthrough.open.command.prompt": "通过在 Windows 开始菜单中键入 \"developer\" 来打开 VS 的开发人员命令提示提示。选择 VS 的开发人员命令提示提示,它将自动导航到当前打开的文件夹。",
"walkthrough.windows.press.f5": "在命令提示符中键入 \"code\",然后按 Enter。这应该重新启动 VS Code 并将你带回此演练。"
}
@@ -5,6 +5,6 @@
// Do not edit this file. It is machine generated.
{
"walkthough.mac.install.compiler": "在 macOS 上安装 C++ 编译器",
"walkthough.mac.text1": "如果要为 macOS 进行 C++ 开发,建议安装 Clang 编译器。只需在“终端”窗口中运行以下命令即可安装命令行开发人员工具:",
"walkthough.mac.text1": "如果要为 macOS 进行 C++ 开发,建议安装 Clang 编译器。只需在“终端”窗口(Ctrl+Shift+ `)中运行以下命令即可安装命令行开发人员工具:",
"walkthough.mac.text2": "然后,要验证已安装 clang,请在“终端”窗口中运行以下命令。你应该会看到一条消息,其中包含有关所使用的 Clang 版本的信息。"
}
@@ -9,7 +9,7 @@
"walkthrough.windows.link.title1": "在 VS Code 中使用 C++ 和 适用于 Linux 的 Windows 子系统(WSL)",
"walkthrough.windows.link.title2": "在带 MinGW 的 Windows 上安装 GCC",
"walkthrough.windows.text2": "要安装 MSVC,请从 Visual Studio {1} 页面下载 {0}。",
"walkthrough.windows.build.tools1": "Visual Studio 2019 生成工具",
"walkthrough.windows.build.tools1": "Visual Studio 2022 生成工具",
"walkthrough.windows.link.downloads": "下载",
"walkthrough.windows.text3": "在 Visual Studio 安装程序中,检查 {0} 工作负载并选择 {1}。",
"walkthrough.windows.build.tools2": "C++ 生成工具",
@@ -16,6 +16,6 @@
"reinstall.extension.text5": "在 Windows 上:",
"reinstall.extension.text6": "在 Linux 上:",
"reinstall.extension.text7": "然後藉由 VS Code 中的市集 UI 重新安裝。",
"reinstall.extension.text8": "如果 VS Code 未能部署正確版本的延伸模組,則您系統的正確 VSIX 可能是 {0},是使用 VS Code 中市集 UI '...' 功能表下的 '從 VSIX 安裝...' 選項進行安裝的。",
"reinstall.extension.text8": "如果 VS Code 未能部署正確版本的延伸模組,則您系統的正確 VSIX 可能是 {0},並且是使用 VS Code 中市集 UI '...' 功能表下的 `從 VSIX 安裝...` 選項進行安裝的。",
"download.vsix.link.title": "從 VS Code 市集網站下載"
}
+30 -2
View File
@@ -16,7 +16,9 @@
"c_cpp.command.configurationProviderSelect.title": "變更組態提供者...",
"c_cpp.command.configurationEditJSON.title": "編輯組態 (JSON)",
"c_cpp.command.configurationEditUI.title": "編輯組態 (UI)",
"c_cpp.command.selectDefaultCompiler.title": "選取預設編譯器",
"c_cpp.command.selectDefaultCompiler.title": "選取預設編譯器...",
"c_cpp.command.selectIntelliSenseConfiguration.title": "選取 IntelliSense 設定...",
"c_cpp.command.rescanCompilers.title": "掃描編譯器",
"c_cpp.command.switchHeaderSource.title": "切換標頭/來源",
"c_cpp.command.enableErrorSquiggles.title": "啟用錯誤波浪線",
"c_cpp.command.disableErrorSquiggles.title": "停用錯誤波浪線",
@@ -245,6 +247,10 @@
"c_cpp.configuration.caseSensitiveFileSupport.markdownDescription": "如果設定為 `default`,則工作區的檔案系統會在 Windows 上假設為不區分大小寫,而在 macOS 或 Linux 上區分大小寫。如果設為 `enabled`,則工作區的檔案系統在 Windows 上會假設為區分大小寫。",
"c_cpp.configuration.enhancedColorization.markdownDescription": "若啟用,將會依據 IntelliSense 顯示彩色的程式碼。僅當 `#C_Cpp.intelliSenseEngine#` 設為 `default` 時,才適用此設定。",
"c_cpp.configuration.codeFolding.description": "若啟用,則由語言伺服器提供程式碼摺疊功能範圍。",
"c_cpp.configuration.markdownInComments.description": "選取是否可在暫留工具提示中使用 Markdown。根據預設,只會將 Markdown 子集套用至暫留工具提示中的註解。",
"c_cpp.configuration.markdownInComments.subsetEnabled.description": "啟用暫留工具提示中的所有 Markdown 功能,但包含 '_' 和 '*' 字元的功能除外。",
"c_cpp.configuration.markdownInComments.enabled.description": "啟用暫留工具提示中的所有 Markdown 功能。",
"c_cpp.configuration.markdownInComments.disabled.description": "停用暫留工具提示中的所有 Markdown 功能。",
"c_cpp.configuration.hover.description": "如果停用,語言伺服器將不再提供暫留詳細資料。",
"c_cpp.configuration.vcpkg.enabled.markdownDescription": "啟用 [vcpkg 相依性管理員](https://aka.ms/vcpkg/) 的整合服務。",
"c_cpp.configuration.addNodeAddonIncludePaths.markdownDescription": "當 `nan` 和 `node-addon-api` 為相依性時,從中新增 include 路徑。",
@@ -405,5 +411,27 @@
"c_cpp.debuggers.logging.category.verbose.description": "開發期間用於互動式調查的記錄。這些記錄應該主要包含有助於偵錯的資訊,而且沒有長期價值。",
"c_cpp.debuggers.logging.category.warning.description": "在應用程式流程中醒目提示或非預期事件,但不會導致應用程式停止執行停止的記錄。",
"c_cpp.debuggers.logging.category.error.description": "當目前的執行流程因失敗而停止時,會醒目提示記錄。這些應該表示目前活動失敗,而不是整個應用程式的失敗。",
"c_cpp.debuggers.logging.category.none.description": "非用於寫入記錄訊息。指定記錄類別不應寫入任何訊息。"
"c_cpp.debuggers.logging.category.none.description": "非用於寫入記錄訊息。指定記錄類別不應寫入任何訊息。",
"c_cpp.walkthrough.title": "開始使用 C++ 開發",
"c_cpp.walkthrough.description": "深入了解 VS Code 豐富的 C++ 開發體驗。",
"c_cpp.walkthrough.set.up.title": "設定您的 C++ 環境",
"c_cpp.walkthrough.activating.description": "啟用 C++ 延伸模組,以判斷是否已設定您的 C++ 環境。\n正在啟用延伸模組...",
"c_cpp.walkthrough.no.compilers.description": "我們在您的電腦上找不到 C++ 編譯器,這是使用 C++ 延伸模組所需項目。請遵循右側的指示來安裝,然後按一下下方的 [尋找我的新編譯器]。\n[尋找我的新編譯器](command:C_Cpp.RescanCompilers?%7B%22sender%22%3A%22walkthrough%22%7D)",
"c_cpp.walkthrough.compilers.found.description": "C++ 延伸模組可與 C++ 編譯器搭配運作。按一下下方的按鈕,從電腦上已存在的編譯器選取一個。\n[選取我的預設編譯器](command:C_Cpp.SelectDefaultCompiler?%7B%22sender%22%3A%22walkthrough%22%7D)",
"c_cpp.walkthrough.compilers.found.altText": "影像顯示選取預設編譯器快速選取,以及在使用者電腦上找到的編譯器清單 (已選取其中一個)。",
"c_cpp.walkthrough.create.cpp.file.title": "建立 C++ 檔案",
"c_cpp.walkthrough.create.cpp.file.description": "[開啟](command:toSide:workbench.action.files.openFile) 或 [建立](command:toSide:workbench.action.files.newUntitledFile?%7B%22languageId%22%3A%22cpp%22%7D) C++ 檔案。務必使用 \".cpp\" 副檔名來儲存它,例如 \"helloworld.cpp\"。\n[建立 C++ 檔案](command:toSide:workbench.action.files.newUntitledFile?%7B%22languageId%22%3A%22cpp%22%7D)",
"c_cpp.walkthrough.create.cpp.file.altText": "使用 C++ 專案開啟 C++ 檔案或資料夾。",
"c_cpp.walkthrough.command.prompt.title": "從開發人員命令提示字元啟動",
"c_cpp.walkthrough.command.prompt.description": "使用 Microsoft Visual Studio C++ 編譯器時,C++ 延伸模組會要求您從開發人員命令提示字元啟動 VS Code。請遵循右側的指示來重新啟動。\n[重新載入視窗](command:workbench.action.reloadWindow)",
"c_cpp.walkthrough.run.debug.title": "執行和偵錯您的 C++ 檔案",
"c_cpp.walkthrough.run.debug.mac.description": "開啟您的 C++ 檔案,然後按一下編輯器右上角的執行按鈕,或在開啟檔案上時按 F5。選取 [clang++ - 建置及偵錯使用中的檔案] 以使用偵錯工具執行。",
"c_cpp.walkthrough.run.debug.linux.description": "開啟您的 C++ 檔案,然後按一下編輯器右上角的執行按鈕,或在開啟檔案上時按 F5。選取 [g++ - 建置及偵錯使用中的檔案] 以使用偵錯工具執行。",
"c_cpp.walkthrough.run.debug.windows.description": "開啟您的 C++ 檔案,然後按一下編輯器右上角的播放按鈕,或在開啟檔案上時按 F5。選取 [cl.exe - 建置及偵錯使用中的檔案] 以使用偵錯工具執行。",
"c_cpp.walkthrough.run.debug.windows.altText": "影像顯示 C++ 檔案中的中斷點、F5 按鈕,以及右上方的執行符號",
"c_cpp.walkthrough.customize.debugging.title": "自訂偵錯",
"c_cpp.walkthrough.customize.debugging.mac.description": "您可以選取播放按鈕右側的 [新增偵錯設定],以自訂您的偵錯設定 (例如,在執行階段將引數傳遞至程式)。自訂偵錯設定會儲存於專案的 launch.json 檔案中。\n[深入了解](https://code.visualstudio.com/docs/cpp/config-linux#_debug-helloworldcpp)",
"c_cpp.walkthrough.customize.debugging.linux.description": "您可以選取播放按鈕右側的 [新增偵錯設定],以自訂您的偵錯設定 (例如,在執行階段將引數傳遞至程式)。自訂偵錯設定會儲存於專案的 launch.json 檔案中。\n[深入了解](https://code.visualstudio.com/docs/cpp/config-msvc#_debug-helloworldcpp)",
"c_cpp.walkthrough.customize.debugging.windows.description": "您可以選取播放按鈕右邊的 [新增偵錯設定],以自訂您的偵錯設定 (例如,在執行階段將引數傳遞至程式)。自訂偵錯設定會儲存於專案的 launch.json 檔案中。\n[深入了解](https://code.visualstudio.com/docs/cpp/config-clang-mac#_debug-helloworldcpp)",
"c_cpp.walkthrough.customize.debugging.altText": "影像顯示下拉式清單中 [新增偵錯設定]"
}
@@ -4,25 +4,28 @@
*--------------------------------------------------------------------------------------------*/
// Do not edit this file. It is machine generated.
{
"unable.to.start": "無法啟動 C/C + + 語言伺服器。將停用 IntelliSense 功能。錯誤: {0}",
"check.permissions": "EPERM: 檢查 '{0}' 的權限",
"select.compile.commands": "選取要設定 IntelliSense 的編譯器",
"select.compiler": "選取要設定 IntelliSense 的編譯器",
"configure.intelliSense.forFolder": "想如何為 '{0}' 資料夾設定 IntelliSense。",
"configure.intelliSense.thisFolder": "要如何為此資料夾設定 IntelliSense?",
"found.string": "在 {0} 找到",
"use.compiler": "使用 {0}",
"configuration.providers": "設定提供者",
"compilers": "編譯器",
"setCompiler.message": "您尚未設定 IntelliSense。除非您自行加以設定,否則 IntelliSense 可能無法運作。",
"selectCompiler.string": "選取編譯器",
"selectAnotherCompiler.string": "在我的機器上選取另一個編譯器",
"selectIntelliSenseConfiguration.string": "選取 IntelliSense 設定...",
"use.provider": "使用 {0}",
"use.compileCommands": "使用 {0}",
"selectAnotherCompiler.string": "在我的機器上選取另一個編譯器...",
"installCompiler.string": "協助我安裝編譯器",
"noConfig.string": "不要設定編譯器 (不建議)",
"selectCompiler.string": "選取編譯器",
"confirmCompiler.string": "是",
"selectCompiler.message": "找到編譯器 {0}。您要使用此編譯器來設定 IntelliSense 嗎?",
"check.permissions": "EPERM: 檢查 '{0}' 的權限",
"unable.to.start": "無法啟動 C/C + + 語言伺服器。將停用 IntelliSense 功能。錯誤: {0}",
"server.crashed.restart": "語言伺服器當機。正在重新啟動...",
"server.crashed2": "語言伺服器在過去 3 分鐘內發生 5 次故障。將不會重新啟動。",
"loggingLevel.changed": "{0} 已變更為: {1}",
"provider.configure.folder": "{0} 想要為 '{1}' 資料夾設定 IntelliSense。",
"provider.configure.this.folder": "{0} 想要為此資料夾設定 IntelliSense。",
"allow.button": "允許",
"dont.allow.button": "不允許",
"ask.me.later.button": "稍後詢問我",
"dismiss.button": "關閉",
"diable.warnings.button": "停用警告",
"unable.to.provide.configuration": "{0} 無法提供 '{1}' 的 IntelliSense 組態資訊。將改用來自 '{2}' 組態的設定。",
@@ -35,6 +38,11 @@
"dont.show.again": "不要再顯示",
"update.your.intellisense.settings": "更新您的 IntelliSense 設定或使用 Vcpkg 安裝程式庫,以協助找出缺少的標頭。",
"configure.your.intellisense.settings": "設定您的 IntelliSense 設定,以協助找出缺少的標頭。",
"provider.configure.folder": "{0} 想要為 '{1}' 資料夾設定 IntelliSense。",
"provider.configure.this.folder": "{0} 想要為此資料夾設定 IntelliSense。",
"allow.button": "允許",
"dont.allow.button": "不允許",
"ask.me.later.button": "稍後詢問我",
"a.compile.commands.file": "compile_commands.json 檔案",
"auto-configure.intellisense.folder": "是否要使用 {0} 自動設定 '{1}' 資料夾的 IntelliSense?",
"auto-configure.intellisense.this.folder": "是否要使用 {0} 自動設定此資料夾的 IntelliSense?",
@@ -42,6 +50,5 @@
"no.button": "否",
"configurations.received": "收到的自訂組態:",
"browse.configuration.received": "收到的自訂瀏覽組態: {0}",
"no.compilers.found": "在您的系統 C++ 上找不到編譯器。針對您的平台,建議您使用編輯器中的指示來安裝 {0}。",
"compilers.found": "我們在您的系統上找到下列 C++ 編譯器。在專案的 IntelliSense 設定中選擇編譯器。"
"fallback.clipboard": "已複製宣告/定義。"
}
@@ -11,6 +11,5 @@
"configuration.select.first": "先開啟資料夾以選取設定。",
"configuration.provider.select.first": "先開啟資料夾以選取設定提供者。",
"edit.configurations.open.first": "先開啟資料夾以編輯組態",
"code.action.aborted": "無法套用程式碼分析修正,因為文件已變更。",
"add.includepath.open.first": "先開啟資料夾以新增至 {0}"
"code.action.aborted": "無法套用程式碼分析修正,因為文件已變更。"
}
@@ -7,6 +7,7 @@
"find.all.references": "尋找所有參考",
"peek.references": "瞄核參考",
"rename": "重新命名",
"call.hierarchy": "呼叫階層圖",
"confirmed.reference.upper": "已確認參考",
"confirmation.in.progress.upper": "正在確認",
"comment.reference.upper": "註解參考",
@@ -0,0 +1,8 @@
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
// Do not edit this file. It is machine generated.
{
"c.cpp.configurations": "C/C++ 設定"
}
@@ -4,19 +4,40 @@
*--------------------------------------------------------------------------------------------*/
// Do not edit this file. It is machine generated.
{
"c.cpp.parsing.open.files.tooltip": "正在剖析開啟的檔案",
"running.tagparser.text": "剖析工作區",
"paused.tagparser.text": "剖析工作區: 已暫停",
"complete.tagparser.text": "剖析完成",
"initializing.tagparser.text": "正在初始化工作區",
"indexing.tagparser.text": "索引工作區",
"rescan.tagparse.text": "重新掃描工作區",
"c.cpp.parsing.open.files.tooltip": "剖析開啟的檔案",
"click.to.preview": "按一下以預覽結果",
"updating.intellisense.tooltip": "正在更新 IntelliSense...",
"select.command": "選取命令...",
"updating.intellisense.text": "IntelliSense: 更新中",
"idle.intellisense.text": "IntelliSense: 就緒",
"absent.intellisense.text": "IntelliSense: 未設定",
"running.analysis.text": "Code Analysis: 執行中",
"paused.analysis.text": "Code Analysis: 已暫停",
"mode.analysis.prefix": "Code Analysis 模式: ",
"c.cpp.configureIntelliSenseStatus.text": "設定 IntelliSense",
"c.cpp.configureIntelliSenseStatus.cppText": "C/C++ 設定 IntelliSense",
"c.cpp.configuration.tooltip": "C/C++ 組態",
"c.cpp.references.statusbar": "C/C++ 參考狀態",
"c.cpp.compilerStatus.statusbar": "設定 IntelliSense",
"c.cpp.intellisense.statusbar": "C/C++ IntelliSense 狀態",
"c.cpp.tagparser.statusbar": "C/C++ 標記剖析器狀態",
"discovering.files.tooltip": "正在探索檔案",
"running.analysis.tooltip": "正在執行 {0}",
"code.analysis.paused.tooltip": "{0} 已暫停",
"running.analysis.processed.tooltip": "正在執行 {0}: {1} / {2} ({3}%)",
"cpptools.status.intellisense": "C/C++ IntelliSense 狀態",
"cpptools.status.tagparser": "C/C++ 標記剖析器狀態",
"cpptools.detail.tagparser": "正在初始化...",
"cpptools.status.codeanalysis": "C/C++ Code Analysis 狀態",
"c.cpp.codeanalysis.statusbar.runNow": "立即執行",
"tagparser.pause.text": "暫停",
"tagparser.resume.text": "繼續",
"intellisense.select.text": "選取編譯器",
"rescan.intellisense.text": "重新掃描",
"rescan.intellisense.tooltip": "重新掃描 IntelliSense",
"mode.codeanalysis.status.automatic": "自動",
"mode.codeanalysis.status.manual": "手動",
"c.cpp.codeanalysis.statusbar.showCodeAnalysisOptions": "選項",
"startup.codeanalysis.status": "正在啟動...",
"c.cpp.codeanalysis.statusbar.showRunNowOptions": "立即執行",
"running.analysis.processed.tooltip": "正在執行: {0} / {1} ({2}%)",
"select.a.configuration": "選取組態...",
"edit.configuration.ui": "編輯組態 (UI)",
"edit.configuration.json": "編輯組態 (JSON)",
@@ -26,9 +47,15 @@
"disable.configuration.provider": "如果適用,停用現有組態提供者。",
"select.compile.commands": "選取 compile_commands.json...",
"select.workspace": "選取工作區資料夾...",
"select.command": "選取命令...",
"select.code.analysis.command": "選取程式碼分析命令...",
"resume.parsing": "繼續工作區剖析",
"pause.parsing": "暫停工作區剖析",
"cancel.analysis": "取消 {0}",
"resume.analysis": "繼續 {0}",
"pause.analysis": "暫停 {0}"
"cancel.analysis": "取消",
"resume.analysis": "繼續",
"pause.analysis": "暫停",
"another.analysis": "啟動另一個...",
"active.analysis": "在使用中檔案上執行程式碼分析",
"all.analysis": "在所有檔案上執行程式碼分析",
"open.analysis": "在開啟檔案上執行程式碼分析"
}
@@ -18,27 +18,28 @@
"running.analysis.text": "Code Analysis: 執行中",
"paused.analysis.text": "Code Analysis: 已暫停",
"mode.analysis.prefix": "Code Analysis 模式: ",
"c.cpp.configureIntelliSenseStatus.text": "設定 IntelliSense",
"c.cpp.configureIntelliSenseStatus.cppText": "C/C++ 設定 IntelliSense",
"select.command": "選取命令...",
"cpptools.status.configuration": "選取設定",
"select.code.analysis.command": "選取程式碼分析命令...",
"c.cpp.configuration.tooltip": "C/C++ 組態",
"c.cpp.references.statusbar": "C/C++ 參考狀態",
"c.cpp.compilerStatus.statusbar": "設定 IntelliSense",
"cpptools.status.intellisense": "C/C++ IntelliSense 狀態",
"cpptools.status.tagparser": "C/C++ 標記剖析器狀態",
"cpptools.detail.tagparser": "正在初始化...",
"cpptools.status.codeanalysis": "C/C++ Code Analysis 狀態",
"c.cpp.codeanalysis.statusbar.runNow": "立即執行",
"configuration.notselected.text": "設定: 未選取",
"configuration.selected.text": "選取設定",
"tagparser.pause.text": "暫停",
"tagparser.resume.text": "繼續",
"intellisense.select.text": "選取編譯器",
"rescan.intellisense.text": "重新掃描",
"rescan.intellisense.tooltip": "重新掃描 IntelliSense",
"mode.codeanalysis.status": "自動",
"mode.codeanalysis.status.automatic": "自動",
"mode.codeanalysis.status.manual": "手動",
"c.cpp.codeanalysis.statusbar.showCodeAnalysisOptions": "選項",
"startup.codeanalysis.status": "正在啟動...",
"c.cpp.codeanalysis.statusbar.showRunNowOptions": "立即執行",
"running.analysis.processed.tooltip": "正在執行 {0}: {1} / {2} ({3}%)",
"running.analysis.processed.tooltip": "正在執行: {0} / {1} ({2}%)",
"select.a.configuration": "選取設定...",
"edit.configuration.ui": "編輯設定 (UI)",
"edit.configuration.json": "編輯設定 (JSON)",
@@ -50,10 +51,10 @@
"select.workspace": "選取工作區資料夾...",
"resume.parsing": "繼續工作區剖析",
"pause.parsing": "暫停工作區剖析",
"cancel.analysis": "取消 {0}",
"resume.analysis": "繼續 {0}",
"pause.analysis": "暫停 {0}",
"another.analysis": "啟動另一個 {0}...",
"cancel.analysis": "取消",
"resume.analysis": "繼續",
"pause.analysis": "暫停",
"another.analysis": "啟動另一個...",
"active.analysis": "在使用中檔案上執行程式碼分析",
"all.analysis": "在所有檔案上執行程式碼分析",
"open.analysis": "在開啟檔案上執行程式碼分析"
@@ -167,8 +167,8 @@
"overloads": "還有 %d 次多載",
"specialization": "還有 1 次特殊化",
"specializations": "還有 %d 次特殊化",
"compiler": "注意: 未完全設定 IntelliSense。使用 [選取預設編譯器] 命令來完成設定。",
"select_compiler": "選取編譯器以尋找系統標頭",
"intellisense_configuration": "注意: 未完全設定 IntelliSense。使用 'Select IntelliSense Configuration...' 命令來完成設定。",
"select_intellisense_configuration": "選取 IntelliSense 設定以尋找系統標頭",
"expands_to": "展開至:",
"attention_label": "注意:",
"author_label": "作者:",
@@ -287,12 +287,14 @@
"e_cm_file_not_in_project": "找不到檔案 '%s'。",
"refactor_create_declaration_definition_failed": "宣告/定義建立失敗: %s",
"refactor_create_default_delete": "無法建立函數 '%s'。不支援建立已預設或已刪除的函數。",
"refactor_function_copied_to_clipboard": "已將函數簽章複製到剪貼簿。",
"refactor_function_not_created": "無法建立函式 '%s'。",
"refactor_ambiguous_locations": "找不到函式 '%s' 的明確位置。",
"refactor_file_not_in_project": "找不到檔案 '%s'。",
"refactor_not_class_namespace": "找不到類別或命名空間 '%s'。",
"refactor_operation_unsupported": "'%s' 不支援此作業。",
"unknown_error": "未知的錯誤。",
"run_select_compiler": "請執行 '选择默认编译器' 命令以尋找您的系統標頭。"
"run_select_intellisense_configuration": "請執行 'Select IntelliSense Configuration...' 命令以尋找您的系統標頭。",
"offer_copy_declaration": "複製 '{0}' 的宣告",
"offer_copy_definition": "複製 '{0}' 的定義",
"refactor_copy_declaration_definition_failed": "將宣告/定義複製到剪貼簿已失敗: %s"
}
@@ -65,4 +65,4 @@
"limit.symbols.checkbox": "若為 {0} (或已選取),標籤剖析器只會剖析 {1} 中原始程式檔直接或間接包含的程式碼檔。若為 {2} (或未選取),標籤剖析器會剖析在 {3} 清單中的指定路徑找到的所有程式碼檔。",
"database.filename": "瀏覽: 資料庫檔案名稱",
"database.filename.description": "產生符號資料庫路徑。這會指示延伸模組將標籤剖析器的符號資料庫儲存在工作區預設儲存位置以外的某處。如果指定了相對路徑,就會是相對於工作區預設儲存位置 (非工作區資料夾本身) 的路徑。{0} 變數可用於指定相對於工作區資料夾的路徑 (例如 {1})。"
}
}
@@ -0,0 +1,11 @@
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
// Do not edit this file. It is machine generated.
{
"walkthrough.windows.title.open.dev.command.prompt": "使用開發人員命令提示字元重新啟動",
"walkthrough.windows.background.dev.command.prompt": "您正使用 Windows 電腦搭配 MSVC 編譯器,因此您必須從開發人員命令提示字元啟動 VS Code,以便正確設定所有環境變數。若要使用開發人員命令提示字元重新啟動:",
"walkthrough.open.command.prompt": "在 Windows 開始功能表中輸入「開發人員」,開啟 [VS 的開發人員命令提示字元]。選取 [VS 的開發人員命令提示字元],這會自動瀏覽至您目前開啟的資料夾。",
"walkthrough.windows.press.f5": "在命令提示字元中輸入 \"code\",然後按 Enter。這應該會重新啟動 VS Code,並帶您回到此逐步解說。"
}
@@ -5,6 +5,6 @@
// Do not edit this file. It is machine generated.
{
"walkthough.mac.install.compiler": "在 macOS 上安裝 C++ 編譯器",
"walkthough.mac.text1": "如果您執行 macOS 的 C++ 開發,建議您安裝 Clang 編譯器。您只需要在終端機視窗中執行下列命令,以安裝命令列開發人員工具:",
"walkthough.mac.text1": "如果您執行 macOS 的 C++ 開發,建議您安裝 Clang 編譯器。您只需要在終端機視窗 (Ctrl+Shift+`) 中執行下列命令,以安裝命令列開發人員工具:",
"walkthough.mac.text2": "然後,若要確認是否已安裝 Clang,請在終端視窗中執行下列命令。您應該會看到一個訊息,其中包含您目前使用之 Clang 版本的資訊。"
}
@@ -9,7 +9,7 @@
"walkthrough.windows.link.title1": "在 VS Code 中使用 C++ 與 Windows 子系統 Linux 版 (WSL) ",
"walkthrough.windows.link.title2": "使用 MinGW 在 Windows 安裝 GCC",
"walkthrough.windows.text2": "若要安裝 MSVC,請 {0}從 Visual Studio{1} 頁面下載。",
"walkthrough.windows.build.tools1": "Build Tools for Visual Studio 2019",
"walkthrough.windows.build.tools1": "Build Tools for Visual Studio 2022",
"walkthrough.windows.link.downloads": "下載",
"walkthrough.windows.text3": "在 Visual Studio 安裝程式中,檢查 {0} 工作負載,然後選取 {1}。",
"walkthrough.windows.build.tools2": "C++ 組建工具",
@@ -16,6 +16,6 @@
"reinstall.extension.text5": "Ve Windows:",
"reinstall.extension.text6": "V Linuxu:",
"reinstall.extension.text7": "Pak ji znovu nainstalujte přes uživatelské rozhraní Marketplace ve VS Code.",
"reinstall.extension.text8": "Pokud VS Code nenasadí správnou verzi rozšíření, můžete správný soubor VSIX pro váš systém {0} a nainstalovat pomocí možnosti 'Instalovat z VSIX...'. v uživatelském rozhraní Marketplace ve VS Code.",
"reinstall.extension.text8": "Pokud VS Code nenasadí správnou verzi rozšíření, můžete správný soubor VSIX pro váš systém {0} a nainstalovat pomocí možnosti Instalovat z VSIX.... v uživatelském rozhraní Marketplace ve VS Code.",
"download.vsix.link.title": "staženo z webu VS Code Marketplace"
}
+31 -3
View File
@@ -16,7 +16,9 @@
"c_cpp.command.configurationProviderSelect.title": "Změnit poskytovatele konfigurací...",
"c_cpp.command.configurationEditJSON.title": "Upravit konfigurace (JSON)",
"c_cpp.command.configurationEditUI.title": "Upravit konfigurace (uživatelské rozhraní)",
"c_cpp.command.selectDefaultCompiler.title": "Vybrat výchozí kompilátor",
"c_cpp.command.selectDefaultCompiler.title": "Vybrat výchozí kompilátor...",
"c_cpp.command.selectIntelliSenseConfiguration.title": "Vybrat konfiguraci IntelliSense...",
"c_cpp.command.rescanCompilers.title": "Znovu prohledat kompilátory",
"c_cpp.command.switchHeaderSource.title": "Přepnout hlavičku/zdroj",
"c_cpp.command.enableErrorSquiggles.title": "Povolit podtrhávání chyb vlnovkou",
"c_cpp.command.disableErrorSquiggles.title": "Zakázat podtrhávání chyb vlnovkou",
@@ -245,6 +247,10 @@
"c_cpp.configuration.caseSensitiveFileSupport.markdownDescription": "Když se nastaví na `default`, předpokládá se, že systém souborů pracovního prostoru ve Windows nerozlišuje velká a malá písmena a v macOS nebo Linuxu rozlišuje malá a velká písmena. Když se tato možnost nastaví na `enabled`, předpokládá se, že systém souborů pracovního prostoru ve Windows rozlišuje velká a malá písmena.",
"c_cpp.configuration.enhancedColorization.markdownDescription": "Když se tato možnost povolí, kód se bude obarvovat podle IntelliSense. Toto nastavení se použije jen v případě, že možnost `#C_Cpp.intelliSenseEngine#` je nastavená na `default`.",
"c_cpp.configuration.codeFolding.description": "Když se tato možnost povolí, rozsahy sbalování kódu bude poskytovat jazykový server.",
"c_cpp.configuration.markdownInComments.description": "Vyberte, jestli bude markdown k dispozici v popisu při najetí myší. Ve výchozím nastavení se u komentářů v popisu přechodu použije jenom podmnožina markdownu.",
"c_cpp.configuration.markdownInComments.subsetEnabled.description": "Povolte všechny funkce Markdownu v popisku s výjimkou těch, které obsahují znaky „_“ a „*“.",
"c_cpp.configuration.markdownInComments.enabled.description": "Umožňuje povolit všechny funkce Markdownu v popisu při najetí myší.",
"c_cpp.configuration.markdownInComments.disabled.description": "Umožňuje zakázat všechny funkce Markdownu v popisu při najetí myší.",
"c_cpp.configuration.hover.description": "Pokud je tato možnost zakázaná, podrobnosti o najetí myší už nebude poskytovat jazykový server.",
"c_cpp.configuration.vcpkg.enabled.markdownDescription": "Povolte integrační služby pro [správce závislostí vcpkg](https://aka.ms/vcpkg/).",
"c_cpp.configuration.addNodeAddonIncludePaths.markdownDescription": "Pokud existují závislosti, přidejte cesty pro zahrnuté soubory z `nan` a `node-addon-api`.",
@@ -405,5 +411,27 @@
"c_cpp.debuggers.logging.category.verbose.description": "Protokoly, které se používají k interaktivnímu prověřování během vývoje. Tyto protokoly by měly primárně obsahovat informace užitečné pro ladění a neměly by mít dlouhodobou hodnotu.",
"c_cpp.debuggers.logging.category.warning.description": "Protokoly, které zvýrazňují neobvyklou nebo neočekávanou událost v toku aplikace, ale jinak nezpůsobí zastavení spuštění aplikace.",
"c_cpp.debuggers.logging.category.error.description": "Protokoly, které zvýrazňují, když se aktuální tok provádění zastaví kvůli selhání. Ty by měly značit selhání v aktuální aktivitě, nikoli selhání v celé aplikaci.",
"c_cpp.debuggers.logging.category.none.description": "Nepoužívá se k zápisu zpráv protokolu. Určuje, že kategorie protokolování by neměla zapisovat žádné zprávy."
}
"c_cpp.debuggers.logging.category.none.description": "Nepoužívá se k zápisu zpráv protokolu. Určuje, že kategorie protokolování by neměla zapisovat žádné zprávy.",
"c_cpp.walkthrough.title": "Začínáme s vývojem v jazyce C++",
"c_cpp.walkthrough.description": "Ponořte se do bohatého vývojového prostředí jazyka C++ VS Code.",
"c_cpp.walkthrough.set.up.title": "Nastavení vašeho prostředí C++",
"c_cpp.walkthrough.activating.description": "Aktivuje se rozšíření C++, aby se zjistilo, jestli je vaše prostředí C++ nastavené.\nRozšíření se aktivuje...",
"c_cpp.walkthrough.no.compilers.description": "Na vašem počítači jsme nenašli kompilátor C++, který je nutný k použití rozšíření C++. Nainstalujte si ho podle pokynů na pravé straně a potom klikněte níže na Najít můj nový kompilátor.\n[Najít můj nový kompilátor](command:C_Cpp.RescanCompilers?%7B%22sender%22%3A%22walkthrough%22%7D)",
"c_cpp.walkthrough.compilers.found.description": "Rozšíření C++ funguje s kompilátorem C++. Vyberte jednu z těch, které už máte na počítači, kliknutím na tlačítko níže.\n [Vybrat můj Výchozí kompilátor](command:C_Cpp.SelectDefaultCompiler?%7B%22sender%22%3A%22walkthrough%22%7D)",
"c_cpp.walkthrough.compilers.found.altText": "Obrázek znázorňující výběr výchozího rychlého výběru kompilátoru a seznam kompilátorů nalezených na počítači uživatelů, z nichž jeden je vybraný.",
"c_cpp.walkthrough.create.cpp.file.title": "Vytvoření souboru C++",
"c_cpp.walkthrough.create.cpp.file.description": "[Otevřete](command:toSide:workbench.action.files.openFile) nebo [vytvořte](command:toSide:workbench.action.files.newUntitledFile?%7B%22languageId%22%3A%22cpp%22%7D) soubor C++. Nezapomeňte ho uložit s příponou .cpp, například „helloworld.cpp“. \n[Vytvořte soubor C++](command:toSide:workbench.action.files.newUntitledFile?%7B%22languageId%22%3A%22cpp%22%7D)",
"c_cpp.walkthrough.create.cpp.file.altText": "Otevřete soubor C++ nebo složku s projektem C++.",
"c_cpp.walkthrough.command.prompt.title": "Spustit z příkazového řádku vývojáře",
"c_cpp.walkthrough.command.prompt.description": "Při použití kompilátoru Microsoft Visual Studio C++ vyžaduje rozšíření C++ spuštění VS Code z příkazového řádku vývojáře. Postupujte podle pokynů na pravé straně a spusťte ho znovu.\n [Znovu načíst okno](command:workbench.action.reloadWindow)",
"c_cpp.walkthrough.run.debug.title": "Spuštění a ladění souboru C++",
"c_cpp.walkthrough.run.debug.mac.description": "Otevřete soubor C++ a klikněte na tlačítko přehrát v pravém horním rohu editoru nebo stiskněte klávesu F5, když jste na souboru. Pokud chcete spustit s ladicím programem, vyberte clang++ Sestavit a ladit aktivní soubor.",
"c_cpp.walkthrough.run.debug.linux.description": "Otevřete soubor C++ a klikněte na tlačítko přehrát v pravém horním rohu editoru nebo stiskněte klávesu F5, když jste na souboru. Pokud chcete spustit s ladicím programem, vyberte g++ Sestavit a ladit aktivní soubor.",
"c_cpp.walkthrough.run.debug.windows.description": "Otevřete svůj soubor C++ a klikněte na tlačítko přehrát v pravém horním rohu editoru nebo stiskněte klávesu F5, když jste na souboru. Vyberte cl.exe Sestavit a ladit aktivní soubor, který se spustí s ladicím programem.",
"c_cpp.walkthrough.run.debug.windows.altText": "Obrázek znázorňující zarážku v souboru C++, tlačítko f5 a symbol spuštění v pravém horním rohu",
"c_cpp.walkthrough.customize.debugging.title": "Přizpůsobení ladění",
"c_cpp.walkthrough.customize.debugging.mac.description": "Konfiguraci ladění (např. za účelem předání argumentů do programu za běhu) můžete přizpůsobit výběrem možnosti Přidat konfiguraci ladění napravo od tlačítka Přehrát. Vlastní konfigurace ladění se uloží do souboru launch.json vašeho projektu. \n[Další informace](https://code.visualstudio.com/docs/cpp/config-linux#_debug-helloworldcpp)",
"c_cpp.walkthrough.customize.debugging.linux.description": "Konfiguraci ladění (např. za účelem předání argumentů do vašeho programu za běhu) můžete přizpůsobit výběrem možnosti Přidat konfiguraci ladění napravo od tlačítka Přehrát. Vlastní konfigurace ladění se uloží do souboru launch.json vašeho projektu. \n[Další informace](https://code.visualstudio.com/docs/cpp/config-msvc#_debug-helloworldcpp)",
"c_cpp.walkthrough.customize.debugging.windows.description": "Konfiguraci ladění (např. za účelem předání argumentů do vašeho programu za běhu) můžete přizpůsobit výběrem možnosti Přidat konfiguraci ladění napravo od tlačítka Přehrát. Vlastní konfigurace ladění se uloží do souboru launch.json vašeho projektu. \n[Další informace](https://code.visualstudio.com/docs/cpp/config-clang-mac#_debug-helloworldcpp)",
"c_cpp.walkthrough.customize.debugging.altText": "Obrázek znázorňující přidání konfigurace ladění v rozevíracím seznamu"
}
@@ -4,25 +4,28 @@
*--------------------------------------------------------------------------------------------*/
// Do not edit this file. It is machine generated.
{
"unable.to.start": "Nepovedlo se spustit jazykový server C/C++. Funkce IntelliSense se zakážou. Chyba: {0}",
"check.permissions": "EPERM: Zkontrolujte oprávnění pro {0}.",
"select.compile.commands": "Vyberte kompilátor, který se má nakonfigurovat pro IntelliSense.",
"select.compiler": "Vyberte kompilátor, který se má nakonfigurovat pro IntelliSense.",
"configure.intelliSense.forFolder": "Jak chcete nakonfigurovat IntelliSense pro složku {0}?",
"configure.intelliSense.thisFolder": "Jak chcete pro tuto složku nakonfigurovat IntelliSense?",
"found.string": "Nalezeno v: {0}",
"use.compiler": "Použít {0}",
"configuration.providers": "poskytovatelé konfigurace",
"compilers": "kompilátory",
"setCompiler.message": "Nemáte nakonfigurovaný technologii IntelliSense. Pokud nenastavíte vlastní konfigurace, IntelliSense nemusí být funkční.",
"selectCompiler.string": "Vybrat kompilátor",
"selectAnotherCompiler.string": "Vybrat jiný kompilátor na mém počítači",
"selectIntelliSenseConfiguration.string": "Vybrat konfiguraci IntelliSense...",
"use.provider": "Použít {0}",
"use.compileCommands": "Použít {0}",
"selectAnotherCompiler.string": "Vybrat jiný kompilátor na mém počítači...",
"installCompiler.string": "Pomoc s instalací kompilátoru",
"noConfig.string": "Nekonfigurovat kompilátor (nedoporučuje se)",
"noConfig.string": "Nekonfigurovat pomocí kompilátoru (nedoporučuje se)",
"selectCompiler.string": "Vybrat kompilátor",
"confirmCompiler.string": "Ano",
"selectCompiler.message": "Byl nalezen {0} kompilátoru. Chcete nakonfigurovat IntelliSense s tímto kompilátorem?",
"check.permissions": "EPERM: Zkontrolujte oprávnění pro {0}.",
"unable.to.start": "Nepovedlo se spustit jazykový server C/C++. Funkce IntelliSense se zakážou. Chyba: {0}",
"server.crashed.restart": "Došlo k chybovému ukončení jazykového serveru. Restartuje se…",
"server.crashed2": "Jazykový server se 5krát za poslední 3 minuty chybově ukončil. Nebude se restartovat.",
"loggingLevel.changed": "{0} se změnila na: {1}",
"provider.configure.folder": "{0} chce nakonfigurovat IntelliSense pro složku {1}.",
"provider.configure.this.folder": "{0} chce nakonfigurovat IntelliSense pro tuto složku.",
"allow.button": "Povolit",
"dont.allow.button": "Nepovolit",
"ask.me.later.button": "Požádat později",
"dismiss.button": "Zrušit",
"diable.warnings.button": "Zakázat upozornění",
"unable.to.provide.configuration": "{0} nemůže poskytnout informace pro konfiguraci IntelliSense pro {1}. Místo nich se použijí nastavení z konfigurace {2}.",
@@ -35,6 +38,11 @@
"dont.show.again": "Příště už nezobrazovat",
"update.your.intellisense.settings": "Pokud chcete snadněji najít chybějící hlavičky, aktualizujte nastavení IntelliSense nebo pomocí Vcpkg nainstalujte knihovny.",
"configure.your.intellisense.settings": "Pokud chcete snadněji najít chybějící hlavičky, nakonfigurujte nastavení IntelliSense.",
"provider.configure.folder": "{0} chce nakonfigurovat IntelliSense pro složku {1}.",
"provider.configure.this.folder": "{0} chce nakonfigurovat IntelliSense pro tuto složku.",
"allow.button": "Povolit",
"dont.allow.button": "Nepovolit",
"ask.me.later.button": "Požádat později",
"a.compile.commands.file": "soubor compile_commands.json",
"auto-configure.intellisense.folder": "Chcete použít {0} k automatické konfiguraci IntelliSense pro složku {1}?",
"auto-configure.intellisense.this.folder": "Chcete použít {0} k automatické konfiguraci IntelliSense pro tuto složku?",
@@ -42,6 +50,5 @@
"no.button": "Ne",
"configurations.received": "Přijaly se vlastní konfigurace:",
"browse.configuration.received": "Přijala se vlastní konfigurace procházení: {0}",
"no.compilers.found": "V systému se nenašly žádné kompilátory jazyka C++. Pro vaši platformu doporučujeme podle instrukcí v editoru nainstalovat {0}.",
"compilers.found": "Ve vašem systému jsme našli následující kompilátory jazyka C++. Zvolte kompilátor v konfiguraci technologie IntelliSense vašeho projektu."
"fallback.clipboard": " Deklarace nebo definice se zkopírovala."
}
@@ -11,6 +11,5 @@
"configuration.select.first": "Pokud chcete vybrat konfiguraci, otevřete nejdříve složku.",
"configuration.provider.select.first": "Pokud chcete vybrat poskytovatele konfigurace, otevřete nejdříve složku.",
"edit.configurations.open.first": "Pokud chcete upravit konfigurace, otevřete nejdříve složku.",
"code.action.aborted": "Opravu analýzy kódu nelze použít, protože dokument byl změněn.",
"add.includepath.open.first": "Nejdříve otevřete složku, která se má přidat do {0}."
"code.action.aborted": "Opravu analýzy kódu nelze použít, protože dokument byl změněn."
}
@@ -7,6 +7,7 @@
"find.all.references": "Najít všechny odkazy",
"peek.references": "Náhled na odkazy",
"rename": "Přejmenovat",
"call.hierarchy": "Hierarchie volání",
"confirmed.reference.upper": "POTVRZENÝ ODKAZ",
"confirmation.in.progress.upper": "PROBÍHÁ POTVRZOVÁNÍ",
"comment.reference.upper": "ODKAZ NA KOMENTÁŘ",
@@ -0,0 +1,8 @@
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
// Do not edit this file. It is machine generated.
{
"c.cpp.configurations": "Konfigurace C/C++"
}
@@ -4,19 +4,40 @@
*--------------------------------------------------------------------------------------------*/
// Do not edit this file. It is machine generated.
{
"c.cpp.parsing.open.files.tooltip": "Analýza otevřených souborů.",
"running.tagparser.text": "Parsování pracovního prostoru",
"paused.tagparser.text": "Pracovní prostor analýzy: Pozastaveno",
"complete.tagparser.text": "Analýza byla dokončena.",
"initializing.tagparser.text": "Inicializuje se pracovní prostor",
"indexing.tagparser.text": "Pracovní prostor indexování",
"rescan.tagparse.text": "Znovu prohledat pracovní prostor",
"c.cpp.parsing.open.files.tooltip": "Analýza otevřených souborů",
"click.to.preview": "kliknutím si můžete zobrazit náhled výsledků",
"updating.intellisense.tooltip": "Aktualizuje se IntelliSense.",
"select.command": "Vyberte příkaz…",
"updating.intellisense.text": "IntelliSense: Aktualizace",
"idle.intellisense.text": "IntelliSense: Připraveno",
"absent.intellisense.text": "IntelliSense: Nenakonfigurováno",
"running.analysis.text": "Code Analysis: Spuštěno",
"paused.analysis.text": "Code Analysis: Pozastaveno",
"mode.analysis.prefix": "Režim Code Analysis: ",
"c.cpp.configureIntelliSenseStatus.text": "Konfigurovat IntelliSense",
"c.cpp.configureIntelliSenseStatus.cppText": "Konfigurovat IntelliSense v C/C++",
"c.cpp.configuration.tooltip": "Konfigurace C/C++",
"c.cpp.references.statusbar": "Stav odkazů jazyka C/C++",
"c.cpp.compilerStatus.statusbar": "Konfigurovat IntelliSense",
"c.cpp.intellisense.statusbar": "C/C++ IntelliSense Status",
"c.cpp.tagparser.statusbar": "Stav analyzátoru značky jazyka C/C++",
"discovering.files.tooltip": "Zjišťují se soubory.",
"running.analysis.tooltip": "Probíhá {0}",
"code.analysis.paused.tooltip": "{0} pozastaveno",
"running.analysis.processed.tooltip": "Spuštěno {0}: {1} / {2} ({3}%)",
"cpptools.status.intellisense": "C/C++ IntelliSense Status",
"cpptools.status.tagparser": "Stav analyzátoru značky jazyka C/C++",
"cpptools.detail.tagparser": "Probíhá inicializace...",
"cpptools.status.codeanalysis": "Stav Code Analysis C/C++",
"c.cpp.codeanalysis.statusbar.runNow": "Spustit",
"tagparser.pause.text": "Pozastavit",
"tagparser.resume.text": "Pokračovat",
"intellisense.select.text": "Vyberte kompilátor.",
"rescan.intellisense.text": "Prohledat znovu",
"rescan.intellisense.tooltip": "Znovu prohledat IntelliSense",
"mode.codeanalysis.status.automatic": "Automaticky",
"mode.codeanalysis.status.manual": "Ručně",
"c.cpp.codeanalysis.statusbar.showCodeAnalysisOptions": "Možnosti",
"startup.codeanalysis.status": "Spouštění...",
"c.cpp.codeanalysis.statusbar.showRunNowOptions": "Spustit",
"running.analysis.processed.tooltip": "Spuštěno: {0} / {1} ({2} %)",
"select.a.configuration": "Vybrat konfiguraci...",
"edit.configuration.ui": "Upravit konfigurace (uživatelské rozhraní)",
"edit.configuration.json": "Upravit konfigurace (JSON)",
@@ -26,9 +47,15 @@
"disable.configuration.provider": "Zakažte aktivního poskytovatele konfigurací, pokud je to možné.",
"select.compile.commands": "Vyberte soubor compile_commands.json...",
"select.workspace": "Vyberte složku pracovního prostoru...",
"select.command": "Vyberte příkaz…",
"select.code.analysis.command": "Vyberte příkaz pro analýzu kódu…",
"resume.parsing": "Pokračovat v analýze pracovního prostoru",
"pause.parsing": "Pozastavit analýzu pracovního prostoru",
"cancel.analysis": "Zrušit {0}",
"resume.analysis": "Obnovit {0}",
"pause.analysis": "Pozastavit {0}"
"cancel.analysis": "Zrušit",
"resume.analysis": "Pokračovat",
"pause.analysis": "Pozastavit",
"another.analysis": "Spustit další…",
"active.analysis": "Spustit Code Analysis u aktivního souboru",
"all.analysis": "Spustit Code Analysis u všech souborů",
"open.analysis": "Spustit Code Analysis při otevírání souborů"
}
@@ -18,27 +18,28 @@
"running.analysis.text": "Code Analysis: Spuštěno",
"paused.analysis.text": "Code Analysis: Pozastaveno",
"mode.analysis.prefix": "Režim Code Analysis: ",
"c.cpp.configureIntelliSenseStatus.text": "Konfigurovat IntelliSense",
"c.cpp.configureIntelliSenseStatus.cppText": "Konfigurovat IntelliSense v C/C++",
"select.command": "Vyberte příkaz...",
"cpptools.status.configuration": "Vyberte konfiguraci",
"select.code.analysis.command": "Vyberte příkaz pro analýzu kódu…",
"c.cpp.configuration.tooltip": "Konfigurace C/C++",
"c.cpp.references.statusbar": "Stav odkazů jazyka C/C++",
"c.cpp.compilerStatus.statusbar": "Konfigurovat IntelliSense",
"cpptools.status.intellisense": "C/C++ IntelliSense Status",
"cpptools.status.tagparser": "Stav analyzátoru značky jazyka C/C++",
"cpptools.detail.tagparser": "Probíhá inicializace...",
"cpptools.status.codeanalysis": "Stav Code Analysis C/C++",
"c.cpp.codeanalysis.statusbar.runNow": "Spustit",
"configuration.notselected.text": "Konfigurace: Nevybráno",
"configuration.selected.text": "Vyberte konfiguraci",
"tagparser.pause.text": "Pozastavit",
"tagparser.resume.text": "Pokračovat",
"intellisense.select.text": "Vyberte kompilátor.",
"rescan.intellisense.text": "Prohledat znovu",
"rescan.intellisense.tooltip": "Znovu prohledat IntelliSense",
"mode.codeanalysis.status": "Automaticky",
"mode.codeanalysis.status.automatic": "Automaticky",
"mode.codeanalysis.status.manual": "Ručně",
"c.cpp.codeanalysis.statusbar.showCodeAnalysisOptions": "Možnosti",
"startup.codeanalysis.status": "Spouštění...",
"c.cpp.codeanalysis.statusbar.showRunNowOptions": "Spustit",
"running.analysis.processed.tooltip": "Spuštěno {0}: {1} / {2} ({3}%)",
"running.analysis.processed.tooltip": "Spuštěno: {0} / {1} ({2} %)",
"select.a.configuration": "Vybrat konfiguraci...",
"edit.configuration.ui": "Upravit konfigurace (uživatelské rozhraní)",
"edit.configuration.json": "Upravit konfigurace (JSON)",
@@ -50,10 +51,10 @@
"select.workspace": "Vyberte složku pracovního prostoru...",
"resume.parsing": "Pokračovat v analýze pracovního prostoru",
"pause.parsing": "Pozastavit analýzu pracovního prostoru",
"cancel.analysis": "Zrušit {0}",
"resume.analysis": "Obnovit {0}",
"pause.analysis": "Pozastavit {0}",
"another.analysis": "Spustit další {0}...",
"cancel.analysis": "Zrušit",
"resume.analysis": "Pokračovat",
"pause.analysis": "Pozastavit",
"another.analysis": "Spustit další",
"active.analysis": "Spustit Code Analysis u aktivního souboru",
"all.analysis": "Spustit Code Analysis u všech souborů",
"open.analysis": "Spustit Code Analysis při otevírání souborů"
@@ -167,8 +167,8 @@
"overloads": "+%d přetížení",
"specialization": "+1 specializace",
"specializations": "+tento počet specializací: %d",
"compiler": "Poznámka: IntelliSense není plně nakonfigurováno. Konfiguraci dokončete pomocí příkazu Vybrat výchozí kompilátor.",
"select_compiler": "Výběrem kompilátoru vyhledejte systémové hlavičky.",
"intellisense_configuration": "Poznámka: IntelliSense není plně nakonfigurované. K dokončení konfigurace použijte možnost Vybrat konfiguraci IntelliSense.",
"select_intellisense_configuration": "Vyberte konfiguraci IntelliSense pro vyhledání systémových hlaviček.",
"expands_to": "Rozšiřuje se na:",
"attention_label": "Upozornění:",
"author_label": "Autor:",
@@ -287,12 +287,14 @@
"e_cm_file_not_in_project": "Soubor '%s' nebyl nalezen.",
"refactor_create_declaration_definition_failed": "Vytvoření deklarace nebo definice se nepovedlo: %s",
"refactor_create_default_delete": "Funkci %s nejde vytvořit. Vytváření výchozích nebo odstraněných funkcí se nepodporuje.",
"refactor_function_copied_to_clipboard": "Signatura funkce se zkopírovala do schránky.",
"refactor_function_not_created": "Funkce %s se nedá vytvořit.",
"refactor_ambiguous_locations": "Jednoznačné umístění funkce %s se nedá najít.",
"refactor_file_not_in_project": "Soubor '%s' nebyl nalezen.",
"refactor_not_class_namespace": "Nenašla se třída nebo obor názvů %s.",
"refactor_operation_unsupported": "Operace není pro: %s podporovaná.",
"unknown_error": "Neznámá chyba.",
"run_select_compiler": "Spuštěním příkazu Vybrat výchozí kompilátor vyhledejte systémové hlavičky."
"run_select_intellisense_configuration": "Spusťte prosím příkaz Vybrat konfiguraci IntelliSense, abyste vyhledali systémové hlavičky.",
"offer_copy_declaration": "Kopírovat deklaraci {0}",
"offer_copy_definition": "Kopírovat definici {0}",
"refactor_copy_declaration_definition_failed": "Kopírování deklarace nebo definice do schránky se nezdařilo: %s"
}
@@ -0,0 +1,11 @@
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
// Do not edit this file. It is machine generated.
{
"walkthrough.windows.title.open.dev.command.prompt": "Opětovné spuštění pomocí příkazového řádku pro vývojáře",
"walkthrough.windows.background.dev.command.prompt": " Používáte počítač s Windows s kompilátorem MVSC, takže musíte spustit VS Code z příkazového řádku vývojáře, aby se všechny proměnné prostředí správně nastavily. Opětovné spuštění pomocí příkazového řádku vývojáře:",
"walkthrough.open.command.prompt": "Otevřete Developer Command Prompt pro VS zadáním \"developer\" v nabídka Start Windows. Vyberte Developer Command Prompt pro VS, který automaticky přejde do aktuální otevřené složky.",
"walkthrough.windows.press.f5": "Do příkazového řádku zadejte „code“ a stiskněte Enter. Mělo by se znovu spustit VS Code a vrátit se k tomuto názorném postupu. "
}
@@ -5,6 +5,6 @@
// Do not edit this file. It is machine generated.
{
"walkthough.mac.install.compiler": "Instalace kompilátoru jazyka C++ na macOS",
"walkthough.mac.text1": "Pokud provádíte vývoj C++ pro macOS, doporučujeme nainstalovat kompilátor Clang. Aby bylo možné nainstalovat nástroje příkazového řádku pro vývojáře, stačí v okně terminálu spustit následující příkaz:",
"walkthough.mac.text1": "Pokud vyvíjíte v jazyce C++ pro macOS, doporučujeme nainstalovat kompilátor Clang. V okně terminálu (Ctrl+Shift+`) stačí spustit následující příkaz, který nainstaluje vývojářské nástroje příkazového řádku:",
"walkthough.mac.text2": "Pokud chcete ověřit, zda je Clang nainstalován, spusťte v okně terminálu následující příkaz. Měla by se zobrazit zpráva s informacemi o verzi Clang, kterou používáte."
}
@@ -9,7 +9,7 @@
"walkthrough.windows.link.title1": "Použití C++ a subsystému Windows pro Linux (WSL) ve VS Code",
"walkthrough.windows.link.title2": "instalovat GCC na Windows pomocí MinGW",
"walkthrough.windows.text2": "Pokud chcete nainstalovat MSVC, stáhněte {0} ze stránky Visual Studio {1}.",
"walkthrough.windows.build.tools1": "Build Tools for Visual Studio 2019",
"walkthrough.windows.build.tools1": "Build Tools for Visual Studio 2022",
"walkthrough.windows.link.downloads": "Položky ke stažení",
"walkthrough.windows.text3": "V Instalační program pro Visual Studio zkontrolujte {0} úlohy a vyberte {1}.",
"walkthrough.windows.build.tools2": "C++ Build Tools",
+31 -3
View File
@@ -16,7 +16,9 @@
"c_cpp.command.configurationProviderSelect.title": "Konfigurationsanbieter ändern...",
"c_cpp.command.configurationEditJSON.title": "Konfigurationen bearbeiten (JSON)",
"c_cpp.command.configurationEditUI.title": "Konfigurationen bearbeiten (Benutzeroberfläche)",
"c_cpp.command.selectDefaultCompiler.title": "Standardcompiler auswählen",
"c_cpp.command.selectDefaultCompiler.title": "Standardcompiler auswählen...",
"c_cpp.command.selectIntelliSenseConfiguration.title": "IntelliSense-Konfiguration auswählen...",
"c_cpp.command.rescanCompilers.title": "Erneut nach Compilern suchen",
"c_cpp.command.switchHeaderSource.title": "Header/Quelle umschalten",
"c_cpp.command.enableErrorSquiggles.title": "Fehlerwellenlinien aktivieren",
"c_cpp.command.disableErrorSquiggles.title": "Fehlerwellenlinien deaktivieren",
@@ -245,6 +247,10 @@
"c_cpp.configuration.caseSensitiveFileSupport.markdownDescription": "Wenn diese Einstellung auf `default` festgelegt ist, wird davon ausgegangen, dass für das Dateisystem des Arbeitsbereichs unter Windows die Groß-/Kleinschreibung nicht berücksichtigt und unter macOS oder Linux berücksichtigt wird. Wenn diese Einstellung auf `enabled` festgelegt ist, wird davon ausgegangen, dass für das Dateisystem des Arbeitsbereichs unter Windows die Groß-/Kleinschreibung beachtet wird.",
"c_cpp.configuration.enhancedColorization.markdownDescription": "Wenn diese Option aktiviert ist, wird der Code basierend auf IntelliSense eingefärbt. Diese Einstellung gilt nur, wenn `#C_Cpp.intelliSenseEngine#` auf `default` festgelegt ist.",
"c_cpp.configuration.codeFolding.description": "Wenn diese Option aktiviert ist, werden Codefaltbereiche vom Sprachserver bereitgestellt.",
"c_cpp.configuration.markdownInComments.description": "Wählen Sie aus, ob Markdown in der QuickInfo zum Daraufzeigen verfügbar sein soll. Standardmäßig wird nur eine Teilmenge des Markdowns auf Kommentare in der QuickInfo zum Daraufzeigen angewendet.",
"c_cpp.configuration.markdownInComments.subsetEnabled.description": "Aktivieren Sie alle Markdownfeatures in der QuickInfo, mit Ausnahme derjenigen, die die Zeichen \"_\" und \"*\" enthalten.",
"c_cpp.configuration.markdownInComments.enabled.description": "Aktivieren Sie alle Markdownfeatures in der QuickInfo zum Daraufzeigen.",
"c_cpp.configuration.markdownInComments.disabled.description": "Deaktivieren Sie alle Markdownfeatures in der QuickInfo zum Daraufzeigen.",
"c_cpp.configuration.hover.description": "Wenn diese Option deaktiviert ist, werden die Hoverdetails nicht mehr vom Sprachserver bereitgestellt.",
"c_cpp.configuration.vcpkg.enabled.markdownDescription": "Hiermit aktivieren Sie Integrationsdienste für den [vcpkg-Abhängigkeitsmanager](https://aka.ms/vcpkg/).",
"c_cpp.configuration.addNodeAddonIncludePaths.markdownDescription": "Fügen Sie Includepfade aus `nan` und `node-addon-api` hinzu, wenn es sich um Abhängigkeiten handelt.",
@@ -405,5 +411,27 @@
"c_cpp.debuggers.logging.category.verbose.description": "Protokolle, die während der Entwicklung zur interaktiven Untersuchung verwendet werden. Diese Protokolle sollten in erster Linie Informationen enthalten, die für das Debuggen nützlich sind, und keinen langfristigen Wert aufweisen.",
"c_cpp.debuggers.logging.category.warning.description": "Protokolle, die ein ungewöhnliches oder unerwartetes Ereignis im Anwendungsfluss hervorheben, aber ansonsten nicht dazu führen, dass die Ausführung der Anwendung beendet wird.",
"c_cpp.debuggers.logging.category.error.description": "Protokolle, die hervorheben, wenn der aktuelle Ausführungsfluss aufgrund eines Fehlers beendet wird. Diese sollten auf einen Fehler in der aktuellen Aktivität und nicht auf einen anwendungsweiten Fehler hinweisen.",
"c_cpp.debuggers.logging.category.none.description": "Wird nicht zum Schreiben von Protokollmeldungen verwendet. Gibt an, dass eine Protokollierungskategorie keine Meldungen schreiben soll."
}
"c_cpp.debuggers.logging.category.none.description": "Wird nicht zum Schreiben von Protokollmeldungen verwendet. Gibt an, dass eine Protokollierungskategorie keine Meldungen schreiben soll.",
"c_cpp.walkthrough.title": "Los geht's mit C++-Entwicklung",
"c_cpp.walkthrough.description": "Tauchen Sie ein in die umfassende C++-Entwicklungserfahrung VS Code.",
"c_cpp.walkthrough.set.up.title": "C++-Umgebung einrichten",
"c_cpp.walkthrough.activating.description": "Die C++-Erweiterung wird aktiviert, um zu bestimmen, ob Ihre C++-Umgebung eingerichtet wurde.\nErweiterung wird aktiviert...",
"c_cpp.walkthrough.no.compilers.description": "Auf Ihrem Computer wurde kein C++-Compiler gefunden, der für die Verwendung der C++-Erweiterung erforderlich ist. Befolgen Sie die Anweisungen auf der rechten Seite, um einen zu installieren, und klicken Sie unten auf \"Meinen neuen Compiler suchen\".\n[Meinen neuen Compiler suchen](command:C_Cpp.RescanCompilers?%7B%22sender%22%3A%22walkthrough%22%7D)",
"c_cpp.walkthrough.compilers.found.description": "Die C++-Erweiterung funktioniert mit einem C++-Compiler. Wählen Sie eines der Elemente aus, die bereits auf Ihrem Computer vorhanden sind, indem Sie unten auf die Schaltfläche klicken.\n[Meinen Standard-Compiler auswählen](command:C_Cpp.SelectDefaultCompiler?%7B%22sender%22%3A%22walkthrough%22%7D)",
"c_cpp.walkthrough.compilers.found.altText": "Abbildung, das die Auswahl eines standardmäßigen Compilerschnellauswahl und die Liste der Compiler auf dem Benutzercomputer anzeigt, von denen einer ausgewählt ist.",
"c_cpp.walkthrough.create.cpp.file.title": "C++-Datei erstellen",
"c_cpp.walkthrough.create.cpp.file.description": "[Open](command:toSide:workbench.action.files.openFile) oder [create](command:toSide:workbench.action.files.newUntitledFile?%7B%22languageId%22%3A%22cpp%22%7D) eine C++-Datei. Speichern Sie die Datei unbedingt mit der Erweiterung \".cpp\", z. B. \"helloworld.cpp\". \n[C++-Datei erstellen](command:toSide:workbench.action.files.newUntitledFile?%7B%22languageId%22%3A%22cpp%22%7D)",
"c_cpp.walkthrough.create.cpp.file.altText": "Öffnen Sie eine C++-Datei oder einen Ordner mit einem C++-Projekt.",
"c_cpp.walkthrough.command.prompt.title": "Starten über die Developer-Eingabeaufforderung",
"c_cpp.walkthrough.command.prompt.description": "Wenn Sie den Microsoft Visual Studio C++-Compiler verwenden, erfordert die C++-Erweiterung, dass Sie VS Code über die Entwicklereingabeaufforderung starten. Befolgen Sie die Anweisungen auf der rechten Seite, um den Neustart zu starten.\n[Reload Window](command:workbench.action.reloadWindow)",
"c_cpp.walkthrough.run.debug.title": "Ausführen und Debuggen Ihrer C++-Datei",
"c_cpp.walkthrough.run.debug.mac.description": "Öffnen Sie Ihre C++-Datei, und klicken Sie in der oberen rechten Ecke des Editors auf die Wiedergabeschaltfläche, oder drücken Sie F5, wenn Sie die Datei verwenden. Wählen Sie \"clang++ Aktive Datei erstellen und debuggen\" aus, die mit dem Debugger ausgeführt werden soll.",
"c_cpp.walkthrough.run.debug.linux.description": "Öffnen Sie Ihre C++-Datei, und klicken Sie in der oberen rechten Ecke des Editors auf die Wiedergabeschaltfläche, oder drücken Sie F5, wenn Sie die Datei verwenden. Wählen Sie \"g++ Aktive Datei erstellen und debuggen\" aus, die mit dem Debugger ausgeführt werden soll.",
"c_cpp.walkthrough.run.debug.windows.description": "Öffnen Sie Ihre C++-Datei, und klicken Sie in der oberen rechten Ecke des Editors auf die Wiedergabeschaltfläche, oder drücken Sie F5, wenn Sie die Datei verwenden. Wählen Sie \"cl.exe Aktive Datei erstellen und debuggen\" aus, die mit dem Debugger ausgeführt werden soll.",
"c_cpp.walkthrough.run.debug.windows.altText": "Bild, das einen Haltepunkt in einer C++-Datei, die f5-Buttobn und das Ausführungssymbol oben rechts anzeigt",
"c_cpp.walkthrough.customize.debugging.title": "Debuggen anpassen",
"c_cpp.walkthrough.customize.debugging.mac.description": "Sie können Ihre Debugkonfiguration anpassen (z. B. um Argumente zur Laufzeit an Ihr Programm zu übergeben), indem Sie rechts neben der Wiedergabeschaltfläche \"Debugkonfiguration hinzufügen\" auswählen. Die benutzerdefinierte Debugkonfiguration wird in der Datei \"launch.json\" Ihres Projekts gespeichert. \n[Weitere Informationen](https://code.visualstudio.com/docs/cpp/config-linux#_debug-helloworldcpp)",
"c_cpp.walkthrough.customize.debugging.linux.description": "Sie können Ihre Debugkonfiguration anpassen (z. B. um Argumente zur Laufzeit an Ihr Programm zu übergeben), indem Sie rechts neben der Wiedergabeschaltfläche \"Debugkonfiguration hinzufügen\" auswählen. Die benutzerdefinierte Debugkonfiguration wird in der Datei \"launch.json\" Ihres Projekts gespeichert. \n[Weitere Informationen](https://code.visualstudio.com/docs/cpp/config-msvc#_debug-helloworldcpp)",
"c_cpp.walkthrough.customize.debugging.windows.description": "Sie können Ihre Debugkonfiguration anpassen (z. B. um Argumente zur Laufzeit an Ihr Programm zu übergeben), indem Sie rechts neben der Wiedergabeschaltfläche \"Debugkonfiguration hinzufügen\" auswählen. Die benutzerdefinierte Debugkonfiguration wird in der Datei \"launch.json\" Ihres Projekts gespeichert. \n[Weitere Informationen](https://code.visualstudio.com/docs/cpp/config-clang-mac#_debug-helloworldcpp)",
"c_cpp.walkthrough.customize.debugging.altText": "Bild, das \"Debugkonfiguration hinzufügen\" in der Dropdownliste anzeigt"
}
@@ -4,25 +4,28 @@
*--------------------------------------------------------------------------------------------*/
// Do not edit this file. It is machine generated.
{
"unable.to.start": "Der C/C++-Sprachserver kann nicht gestartet werden. IntelliSense-Features werden deaktiviert. Fehler: {0}",
"check.permissions": "EPERM: Berechtigungen für \"{0}\" überprüfen",
"select.compile.commands": "Wählen Sie einen Compiler aus, der für IntelliSense konfiguriert werden soll.",
"select.compiler": "Wählen Sie einen Compiler aus, der für IntelliSense konfiguriert werden soll.",
"configure.intelliSense.forFolder": "Wie möchten Sie IntelliSense für den Ordner \"{0}\" konfigurieren?",
"configure.intelliSense.thisFolder": "Wie möchten Sie IntelliSense für diesen Ordner konfigurieren?",
"found.string": "Gefunden unter {0}",
"use.compiler": "{0} verwenden",
"configuration.providers": "Konfigurationsanbieter",
"compilers": "Compiler",
"setCompiler.message": "IntelliSense ist nicht konfiguriert. Wenn Sie keine eigenen Konfigurationen festlegen, ist IntelliSense möglicherweise nicht funktionsfähig.",
"selectCompiler.string": "Compiler auswählen",
"selectAnotherCompiler.string": "Anderen Compiler auf meinem Computer auswählen",
"selectIntelliSenseConfiguration.string": "IntelliSense-Konfiguration auswählen...",
"use.provider": "{0} verwenden",
"use.compileCommands": "{0} verwenden",
"selectAnotherCompiler.string": "Anderen Compiler auf meinem Computer auswählen...",
"installCompiler.string": "Hilfe bei der Installation eines Compilers",
"noConfig.string": "Keinen Compiler konfigurieren (nicht empfohlen)",
"noConfig.string": "Nicht mit einem Compiler konfigurieren (nicht empfohlen)",
"selectCompiler.string": "Compiler auswählen",
"confirmCompiler.string": "Ja",
"selectCompiler.message": "Der Compiler {0} wurde gefunden. Möchten Sie IntelliSense mit diesem Compiler konfigurieren?",
"check.permissions": "EPERM: Berechtigungen für \"{0}\" überprüfen",
"unable.to.start": "Der C/C++-Sprachserver kann nicht gestartet werden. IntelliSense-Features werden deaktiviert. Fehler: {0}",
"server.crashed.restart": "Der Sprach-Server ist abgestürzt. Neustart wird ausgeführt ...",
"server.crashed2": "Der Sprachserver ist in den letzten 3 Minuten 5-mal abgestürzt. Er wird nicht neu gestartet.",
"loggingLevel.changed": "{0} wurde geändert in {1}",
"provider.configure.folder": "{0} möchte IntelliSense für den Ordner \"{1}\" konfigurieren.",
"provider.configure.this.folder": "{0} möchte IntelliSense für diesen Ordner konfigurieren.",
"allow.button": "Zulassen",
"dont.allow.button": "Nicht zulassen",
"ask.me.later.button": "Später nachfragen",
"dismiss.button": "Schließen",
"diable.warnings.button": "Warnungen deaktivieren",
"unable.to.provide.configuration": "{0} kann keine IntelliSense-Konfigurationsinformationen für \"{1}\" bereitstellen. Stattdessen werden Einstellungen aus der Konfiguration \"{2}\" verwendet.",
@@ -35,6 +38,11 @@
"dont.show.again": "Nicht mehr anzeigen",
"update.your.intellisense.settings": "Aktualisieren Sie Ihre IntelliSense-Einstellungen, oder verwenden Sie vcpkg, um Bibliotheken zur Suche nach fehlenden Headern zu installieren.",
"configure.your.intellisense.settings": "Konfigurieren Sie Ihre IntelliSense-Einstellungen, um fehlende Header zu suchen.",
"provider.configure.folder": "{0} möchte IntelliSense für den Ordner \"{1}\" konfigurieren.",
"provider.configure.this.folder": "{0} möchte IntelliSense für diesen Ordner konfigurieren.",
"allow.button": "Zulassen",
"dont.allow.button": "Nicht zulassen",
"ask.me.later.button": "Später nachfragen",
"a.compile.commands.file": "eine compile_commands.json-Datei",
"auto-configure.intellisense.folder": "Möchten Sie {0} zum automatischen Konfigurieren von IntelliSense für den Ordner \"{1}\" verwenden?",
"auto-configure.intellisense.this.folder": "Möchten Sie {0} zum automatischen Konfigurieren von IntelliSense für diesen Ordner verwenden?",
@@ -42,6 +50,5 @@
"no.button": "Nein",
"configurations.received": "Benutzerdefinierte Konfigurationen empfangen:",
"browse.configuration.received": "Benutzerdefinierte Suchkonfiguration empfangen: {0}",
"no.compilers.found": "Es wurden keine C++ Compiler auf dem System gefunden. Für Ihre Plattform empfehlen wir Ihnen die Installation von {0} mithilfe der Anweisungen im Editor.",
"compilers.found": "Wir haben die folgenden C++-Compiler auf Ihrem System gefunden. Wählen Sie einen Compiler in der IntelliSense-Konfiguration Ihres Projekts aus."
"fallback.clipboard": " Die Deklaration/Definition wurde kopiert."
}
@@ -11,6 +11,5 @@
"configuration.select.first": "Öffnen Sie zum Auswählen einer Konfiguration zuerst einen Ordner.",
"configuration.provider.select.first": "Öffnen Sie zum Auswählen eines Konfigurationsanbieters zuerst einen Ordner.",
"edit.configurations.open.first": "Zum Bearbeiten von Konfigurationen zuerst einen Ordner öffnen",
"code.action.aborted": "Der Codeanalysepatch konnte nicht angewendet werden, da sich das Dokument geändert hat.",
"add.includepath.open.first": "Zuerst einen Ordner öffnen, der \"{0}\" hinzugefügt werden soll"
"code.action.aborted": "Der Codeanalysepatch konnte nicht angewendet werden, da sich das Dokument geändert hat."
}
@@ -7,6 +7,7 @@
"find.all.references": "Alle Verweise suchen",
"peek.references": "Verweisvorschau",
"rename": "Umbenennen",
"call.hierarchy": "Aufrufhierarchie",
"confirmed.reference.upper": "BESTÄTIGTER VERWEIS",
"confirmation.in.progress.upper": "BESTÄTIGUNG WIRD AUSGEFÜHRT",
"comment.reference.upper": "KOMMENTARVERWEIS",
@@ -0,0 +1,8 @@
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
// Do not edit this file. It is machine generated.
{
"c.cpp.configurations": "C/C++-Konfigurationen"
}
@@ -4,19 +4,40 @@
*--------------------------------------------------------------------------------------------*/
// Do not edit this file. It is machine generated.
{
"c.cpp.parsing.open.files.tooltip": "Offene Dateien werden analysiert",
"running.tagparser.text": "Parsing-Arbeitsbereich",
"paused.tagparser.text": "Parsing-Arbeitsbereich: Angehalten",
"complete.tagparser.text": "Parsing abgeschlossen",
"initializing.tagparser.text": "Arbeitsbereich wird initialisiert",
"indexing.tagparser.text": "Arbeitsbereich für die Indizierung",
"rescan.tagparse.text": "Arbeitsbereich neu einlesen",
"c.cpp.parsing.open.files.tooltip": "Offene Dateien werden geparst",
"click.to.preview": "Klicken Sie, um eine Vorschau der Ergebnisse anzuzeigen.",
"updating.intellisense.tooltip": "IntelliSense wird aktualisiert",
"select.command": "Befehl auswählen...",
"updating.intellisense.text": "IntelliSense: Aktualisieren",
"idle.intellisense.text": "IntelliSense: Bereit",
"absent.intellisense.text": "IntelliSense: Nicht konfiguriert",
"running.analysis.text": "Code Analysis: Wird ausgeführt",
"paused.analysis.text": "Code Analysis: Angehalten",
"mode.analysis.prefix": "Code Analysis-Modus: ",
"c.cpp.configureIntelliSenseStatus.text": "IntelliSense konfigurieren",
"c.cpp.configureIntelliSenseStatus.cppText": "IntelliSense in C/C++ konfigurieren",
"c.cpp.configuration.tooltip": "C/C++-Konfiguration",
"c.cpp.references.statusbar": "C/C++-Verweisstatus",
"c.cpp.compilerStatus.statusbar": "IntelliSense konfigurieren",
"c.cpp.intellisense.statusbar": "Status von C/C++-IntelliSense",
"c.cpp.tagparser.statusbar": "Status des C/C++-Tagparsers",
"discovering.files.tooltip": "Dateien werden ermittelt",
"running.analysis.tooltip": "\"{0}\" wird ausgeführt",
"code.analysis.paused.tooltip": "{0} angehalten",
"running.analysis.processed.tooltip": "Ausführen von {0}: {1} / {2} ({3}%)",
"cpptools.status.intellisense": "Status von C/C++-IntelliSense",
"cpptools.status.tagparser": "Status des C/C++-Tagparsers",
"cpptools.detail.tagparser": "Wird initialisiert...",
"cpptools.status.codeanalysis": "C/C++-Code Analysis-Status",
"c.cpp.codeanalysis.statusbar.runNow": "Jetzt ausführen",
"tagparser.pause.text": "Anhalten",
"tagparser.resume.text": "Fortsetzen",
"intellisense.select.text": "Compiler auswählen",
"rescan.intellisense.text": "Neu einlesen",
"rescan.intellisense.tooltip": "IntelliSense neu einlesen",
"mode.codeanalysis.status.automatic": "Automatisch",
"mode.codeanalysis.status.manual": "Manuell",
"c.cpp.codeanalysis.statusbar.showCodeAnalysisOptions": "Optionen",
"startup.codeanalysis.status": "Wird gestartet...",
"c.cpp.codeanalysis.statusbar.showRunNowOptions": "Jetzt ausführen",
"running.analysis.processed.tooltip": "Wird ausgeführt: {0} / {1} ({2}%)",
"select.a.configuration": "Konfiguration auswählen...",
"edit.configuration.ui": "Konfigurationen bearbeiten (Benutzeroberfläche)",
"edit.configuration.json": "Konfigurationen bearbeiten (JSON)",
@@ -26,9 +47,15 @@
"disable.configuration.provider": "Deaktivieren Sie den aktiven Konfigurationsanbieter, falls zutreffend.",
"select.compile.commands": "compile_commands.json-Datei auswählen...",
"select.workspace": "Arbeitsbereichsordner auswählen...",
"select.command": "Befehl auswählen...",
"select.code.analysis.command": "Codeanalysebefehl auswählen...",
"resume.parsing": "Arbeitsbereichsanalyse fortsetzen",
"pause.parsing": "Arbeitsbereichsanalyse anhalten",
"cancel.analysis": "\"{0}\" abbrechen",
"resume.analysis": "\"{0}\" fortsetzen",
"pause.analysis": "\"{0}\" anhalten"
"cancel.analysis": "Abbrechen",
"resume.analysis": "Fortsetzen",
"pause.analysis": "Anhalten",
"another.analysis": "Starten Sie eine weitere...",
"active.analysis": "Code Analysis auf \"Aktive Dateien\" ausführen",
"all.analysis": "Code Analysis auf \"Alle Dateien\" ausführen",
"open.analysis": "Code Analysis auf \"Dateien öffnen\" ausführen"
}
@@ -18,27 +18,28 @@
"running.analysis.text": "Code Analysis: Wird ausgeführt",
"paused.analysis.text": "Code Analysis: Angehalten",
"mode.analysis.prefix": "Code Analysis-Modus: ",
"c.cpp.configureIntelliSenseStatus.text": "IntelliSense konfigurieren",
"c.cpp.configureIntelliSenseStatus.cppText": "IntelliSense in C/C++ konfigurieren",
"select.command": "Befehl auswählen...",
"cpptools.status.configuration": "Konfiguration auswählen",
"select.code.analysis.command": "Codeanalysebefehl auswählen...",
"c.cpp.configuration.tooltip": "C/C++-Konfiguration",
"c.cpp.references.statusbar": "C/C++-Referenzenstatus",
"c.cpp.compilerStatus.statusbar": "IntelliSense konfigurieren",
"cpptools.status.intellisense": "C/C++-IntelliSense-Status",
"cpptools.status.tagparser": "Status des C/C++-Tagparsers",
"cpptools.detail.tagparser": "Wird initialisiert...",
"cpptools.status.codeanalysis": "C/C++-Code Analysis-Status",
"c.cpp.codeanalysis.statusbar.runNow": "Jetzt ausführen",
"configuration.notselected.text": "Konfiguration: Nicht ausgewählt",
"configuration.selected.text": "Konfiguration auswählen",
"tagparser.pause.text": "Anhalten",
"tagparser.resume.text": "Fortsetzen",
"intellisense.select.text": "Compiler auswählen",
"rescan.intellisense.text": "Neu einlesen",
"rescan.intellisense.tooltip": "IntelliSense neu einlesen",
"mode.codeanalysis.status": "Automatisch",
"mode.codeanalysis.status.automatic": "Automatisch",
"mode.codeanalysis.status.manual": "Manuell",
"c.cpp.codeanalysis.statusbar.showCodeAnalysisOptions": "Optionen",
"startup.codeanalysis.status": "Wird gestartet...",
"c.cpp.codeanalysis.statusbar.showRunNowOptions": "Jetzt ausführen",
"running.analysis.processed.tooltip": "Ausführen von {0}: {1} / {2} ({3}%)",
"running.analysis.processed.tooltip": "Wird ausgeführt: {0} / {1} ({2}%)",
"select.a.configuration": "Konfiguration auswählen...",
"edit.configuration.ui": "Konfigurationen bearbeiten (Benutzeroberfläche)",
"edit.configuration.json": "Konfigurationen bearbeiten (JSON)",
@@ -50,10 +51,10 @@
"select.workspace": "Arbeitsbereichsordner auswählen...",
"resume.parsing": "Parsing des Arbeitsbereichs fortsetzen",
"pause.parsing": "Parsing des Arbeitsbereichs anhalten",
"cancel.analysis": "{0} abbrechen",
"resume.analysis": "{0} fortsetzen",
"pause.analysis": "{0} anhalten",
"another.analysis": "Starten Sie eine weitere {0}...",
"cancel.analysis": "Abbrechen",
"resume.analysis": "Fortsetzen",
"pause.analysis": "Anhalten",
"another.analysis": "Starten Sie eine weitere...",
"active.analysis": "Code Analysis auf \"Aktive Dateien\" ausführen",
"all.analysis": "Code Analysis auf \"Alle Dateien\" ausführen",
"open.analysis": "Code Analysis auf \"Dateien öffnen\" ausführen"
@@ -167,8 +167,8 @@
"overloads": "+%d Überladungen",
"specialization": "+1 Spezialisierung",
"specializations": "+%d Spezialisierungen",
"compiler": "Hinweis: IntelliSense ist nicht vollständig konfiguriert. Verwenden Sie den Befehl \"Standardcompiler auswählen\", um die Konfiguration abzuschließen.",
"select_compiler": "Wählen Sie einen Compiler aus, um System-Header zu suchen",
"intellisense_configuration": "Hinweis: IntelliSense ist nicht vollständig konfiguriert. Verwenden Sie den Befehl \"IntelliSense-Konfiguration auswählen...\", um die Konfiguration abzuschließen.",
"select_intellisense_configuration": "Wählen Sie eine IntelliSense-Konfiguration aus, um nach Systemheadern zu suchen.",
"expands_to": "Wird erweitert auf:",
"attention_label": "Achtung:",
"author_label": "Autor:",
@@ -287,12 +287,14 @@
"e_cm_file_not_in_project": "Datei '%s' nicht gefunden",
"refactor_create_declaration_definition_failed": "Fehler beim Erstellen der Deklaration/Definition: %s",
"refactor_create_default_delete": "Die Funktion \"%s\" kann nicht erstellt werden. Das Erstellen standardmäßiger oder gelöschter Funktionen wird nicht unterstützt.",
"refactor_function_copied_to_clipboard": "Die Funktionssignatur wurde in die Zwischenablage kopiert.",
"refactor_function_not_created": "Erstellen der Funktion '%s' nicht möglich.",
"refactor_ambiguous_locations": "Es wurde kein eindeutiger Speicherort für Funktion '%s' gefunden.",
"refactor_file_not_in_project": "Datei '%s' nicht gefunden",
"refactor_not_class_namespace": "Klasse oder Namespace '%s' wurde nicht gefunden.",
"refactor_operation_unsupported": "Der Vorgang wird für '%s' nicht unterstützt.",
"unknown_error": "Unbekannter Fehler.",
"run_select_compiler": "Führen Sie den Befehl „Standardcompiler auswählen“ aus, um Ihre System-Header zu suchen."
"run_select_intellisense_configuration": "Führen Sie den Befehl „IntelliSense-Konfiguration auswählen...“ aus, um nach Ihren Systemheadern zu suchen.",
"offer_copy_declaration": "Deklaration von \"{0}\" kopieren",
"offer_copy_definition": "Definition von \"{0}\" kopieren",
"refactor_copy_declaration_definition_failed": "Fehler beim Kopieren der Deklaration/Definition in die Zwischenablage: %s"
}
@@ -0,0 +1,11 @@
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
// Do not edit this file. It is machine generated.
{
"walkthrough.windows.title.open.dev.command.prompt": "Neustart mithilfe der Developer-Eingabeaufforderung",
"walkthrough.windows.background.dev.command.prompt": " Sie verwenden einen Windows-Computer mit dem MSVC-Compiler. Sie müssen daher VS Code über die Entwicklereingabeaufforderung starten, damit alle Umgebungsvariablen ordnungsgemäß festgelegt werden. So starten Sie mithilfe der Entwicklereingabeaufforderung neu:",
"walkthrough.open.command.prompt": "Öffnen Sie die Developer-Eingabeaufforderung für VS, indem Sie im Windows Startmenü \"developer\" eingeben. Wählen Sie die Developer-Eingabeaufforderung für VS aus, die automatisch zu Ihrem aktuellen geöffneten Ordner navigiert.",
"walkthrough.windows.press.f5": "Geben Sie \"code\" in die Eingabeaufforderung ein, und drücken Sie die EINGABETASTE. Dies sollte VS Code neu starten und Sie zu dieser exemplarischen Vorgehensweise zurückkehren. "
}
@@ -5,6 +5,6 @@
// Do not edit this file. It is machine generated.
{
"walkthough.mac.install.compiler": "C++-Compiler unter macOS installieren",
"walkthough.mac.text1": "Wenn Sie mithilfe von C++ unter macOS entwickeln, empfehlen wir die Installation des Clang-Compilers. Sie müssen nur den folgenden Befehl in einem Terminalfenster ausführen, um die Befehlszeilen-Entwicklertools zu installieren:",
"walkthough.mac.text1": "Wenn Sie mithilfe von C++ unter macOS entwickeln, empfehlen wir die Installation des Clang-Compilers. Sie müssen nur den folgenden Befehl in einem Terminalfenster(STRG+UMSCHALT+ `) ausführen, um die Befehlszeilen-Entwicklertools zu installieren:",
"walkthough.mac.text2": "Führen Sie den folgenden Befehl in einem Terminalfenster aus, um zu überprüfen, ob Clang installiert ist. Es sollte eine Meldung mit Informationen zur verwendeten Clang-Version angezeigt werden."
}
@@ -9,7 +9,7 @@
"walkthrough.windows.link.title1": "Verwenden von C++ und Windows-Subsystem für Linux (WSL) in VS Code",
"walkthrough.windows.link.title2": "Installieren Sie GCC unter Windows mit MinGW.",
"walkthrough.windows.text2": "Um MSVC zu installieren, laden Sie {0} von der Visual Studio {1}-Seite herunter. ",
"walkthrough.windows.build.tools1": "Buildtools für Visual Studio 2019",
"walkthrough.windows.build.tools1": "Buildtools für Visual Studio 2022",
"walkthrough.windows.link.downloads": "Downloads",
"walkthrough.windows.text3": "Überprüfen Sie im Visual Studio-Installer den {0} Workload, und wählen Sie {1} aus.",
"walkthrough.windows.build.tools2": "C++-Buildtools",
@@ -18,4 +18,4 @@
"reinstall.extension.text7": "A continuación, reinstale mediante la interfaz de usuario de Marketplace en VS Code.",
"reinstall.extension.text8": "Si VS Code no puede implementar la versión correcta de la extensión, el VSIX correcto para el sistema se puede {0} e instalar mediante la opción 'Instalar desde VSIX...', en el menú '...' en la interfaz de usuario de Marketplace en VS Code.",
"download.vsix.link.title": "descargado del sitio web del Marketplace VS Code"
}
}
+30 -2
View File
@@ -16,7 +16,9 @@
"c_cpp.command.configurationProviderSelect.title": "Cambiar el proveedor de configuración...",
"c_cpp.command.configurationEditJSON.title": "Editar configuraciones (JSON)",
"c_cpp.command.configurationEditUI.title": "Editar configuraciones (interfaz de usuario)",
"c_cpp.command.selectDefaultCompiler.title": "Selecciona el Compilador predeterminado",
"c_cpp.command.selectDefaultCompiler.title": "Seleccionar compilador predeterminado...",
"c_cpp.command.selectIntelliSenseConfiguration.title": "Seleccionar configuración de IntelliSense...",
"c_cpp.command.rescanCompilers.title": "Volver a examinar los compiladores",
"c_cpp.command.switchHeaderSource.title": "Cambiar el encabezado o el origen",
"c_cpp.command.enableErrorSquiggles.title": "Habilitar el subrayado ondulado de errores",
"c_cpp.command.disableErrorSquiggles.title": "Deshabilitar el subrayado ondulado de errores",
@@ -245,6 +247,10 @@
"c_cpp.configuration.caseSensitiveFileSupport.markdownDescription": "Si se establece en `default`, el sistema de archivos del área de trabajo no distingue mayúsculas de minúsculas en Windows y distingue mayúsculas de minúsculas en macOS o Linux. Si se establece en `enabled`, el sistema de archivos del área de trabajo distingue mayúsculas de minúsculas en Windows.",
"c_cpp.configuration.enhancedColorization.markdownDescription": "Si se habilita esta opción, el código se colorea de acuerdo con IntelliSense. Esta configuración solo se aplica si `#C_Cpp.intelliSenseEngine#` se establece en `default`.",
"c_cpp.configuration.codeFolding.description": "Si está habilitada, el servidor de lenguaje proporciona intervalos de plegado de código.",
"c_cpp.configuration.markdownInComments.description": "Seleccione si Markdown estará disponible en la información sobre herramientas que aparece al mantener el puntero. De manera predeterminada, solo se aplicará un subconjunto de Markdown a los comentarios de la información sobre herramientas que aparece al mantener el puntero.",
"c_cpp.configuration.markdownInComments.subsetEnabled.description": "Habilita todas las características de Markdown en la información sobre herramientas que aparece al mantener el puntero, excepto las que incluyen los caracteres \"_\" y \"*\".",
"c_cpp.configuration.markdownInComments.enabled.description": "Habilite todas las características de Markdown en la información sobre herramientas que aparece al mantener el puntero.",
"c_cpp.configuration.markdownInComments.disabled.description": "Deshabilite todas las características de Markdown en la información sobre herramientas que aparece al mantener el puntero.",
"c_cpp.configuration.hover.description": "Si se deshabilita, el servidor de lenguaje ya no proporciona detalles al mantener el puntero.",
"c_cpp.configuration.vcpkg.enabled.markdownDescription": "Habilita los servicios de integración para el [administrador de dependencias de vcpkgs](https://aka.ms/vcpkg/).",
"c_cpp.configuration.addNodeAddonIncludePaths.markdownDescription": "Agrega rutas de acceso de inclusión de `nan` y `node-addon-api` cuando sean dependencias.",
@@ -405,5 +411,27 @@
"c_cpp.debuggers.logging.category.verbose.description": "Registros que se usan para la investigación interactiva durante el desarrollo. Estos registros deben contener principalmente información útil para la depuración y no tener ningún valor a largo plazo.",
"c_cpp.debuggers.logging.category.warning.description": "Registros que resaltan un evento anómalo o inesperado en el flujo de la aplicación, pero que no hacen que se detenga la ejecución de la aplicación de otro modo.",
"c_cpp.debuggers.logging.category.error.description": "Registros que resaltan cuándo se detiene el flujo de ejecución actual debido a un error. Esto debe indicar un error en la actividad actual, no un error en toda la aplicación.",
"c_cpp.debuggers.logging.category.none.description": "No se usa para escribir mensajes de registro. Especifica que una categoría de registro no debe escribir ningún mensaje."
"c_cpp.debuggers.logging.category.none.description": "No se usa para escribir mensajes de registro. Especifica que una categoría de registro no debe escribir ningún mensaje.",
"c_cpp.walkthrough.title": "Introducción al desarrollo de C++",
"c_cpp.walkthrough.description": "Sumérgete en la enriquecida experiencia de desarrollo de C++ de VS Code.",
"c_cpp.walkthrough.set.up.title": "Configurar el entorno de C++",
"c_cpp.walkthrough.activating.description": "Activando la extensión de C++ para determinar si se ha configurado el entorno de C++.\nActivando extensión...",
"c_cpp.walkthrough.no.compilers.description": "No se encontró ningún compilador de C++ en la máquina, pero es necesario para usar la extensión de C++. Siga las instrucciones de la derecha para instalar uno y, a continuación, haga clic en \"Buscar mi nuevo compilador\".\n[Buscar mi nuevo compilador](command:C_Cpp.RescanCompilers?%7B%22sender%22%3A%22walkthrough%22%7D)",
"c_cpp.walkthrough.compilers.found.description": "La extensión de C++ funciona con un compilador de C++. Haga clic en el botón siguiente para seleccionar uno de los que ya estén en su equipo.\n[Seleccionar mi compilador predeterminado](command:C_Cpp.SelectDefaultCompiler?%7B%22sender%22%3A%22walkthrough%22%7D)",
"c_cpp.walkthrough.compilers.found.altText": "Imagen que muestra la selección de una selección rápida predeterminada del compilador y la lista de compiladores encontrados en el equipo de los usuarios, uno de los cuales está seleccionado.",
"c_cpp.walkthrough.create.cpp.file.title": "Crear un archivo de C++",
"c_cpp.walkthrough.create.cpp.file.description": "[Abrir](command:toSide:workbench.action.files.openFile) o [crear](command:toSide:workbench.action.files.newUntitledFile?%7B%22languageId%22%3A%22cpp%22%7D) un archivo de C++. Asegúrese de guardarlo con la extensión \".cpp\", como \"helloworld.cpp\". \n[Crear un archivo de C++](command:toSide:workbench.action.files.newUntitledFile?%7B%22languageId%22%3A%22cpp%22%7D)",
"c_cpp.walkthrough.create.cpp.file.altText": "Abre un archivo de C++ o una carpeta con un proyecto de C++.",
"c_cpp.walkthrough.command.prompt.title": "Volver a iniciar desde el símbolo del sistema del desarrollador",
"c_cpp.walkthrough.command.prompt.description": "Al usar el compilador de Microsoft Visual Studio C++, la extensión de C++ requiere que inicies VS Code desde el símbolo del sistema del desarrollador. Sigue las instrucciones de la derecha para volver a iniciar.\n[Volver a cargar ventana](command:workbench.action.reloadWindow)",
"c_cpp.walkthrough.run.debug.title": "Ejecución y depuración del archivo de C++",
"c_cpp.walkthrough.run.debug.mac.description": "Abre el archivo de C++ y haz clic en el botón reproducir de la esquina superior derecha del editor o presiona F5 cuando estés en el archivo. Selecciona \"clang++ - Compilar y depurar archivo activo\" para ejecutarlo con el depurador.",
"c_cpp.walkthrough.run.debug.linux.description": "Abre el archivo de C++ y haz clic en el botón reproducir de la esquina superior derecha del editor o presiona F5 cuando estés en el archivo. Selecciona \"g++ - Compilar y depurar archivo activo\" para ejecutarlo con el depurador.",
"c_cpp.walkthrough.run.debug.windows.description": "Abre el archivo de C++ y haz clic en el botón reproducir de la esquina superior derecha del editor o presiona F5 cuando estés en el archivo. Selecciona \"cl.exe - Compilar y depurar archivo activo\" para ejecutarlo con el depurador.",
"c_cpp.walkthrough.run.debug.windows.altText": "Imagen que muestra un punto de interrupción en un archivo de C++, el botón f5 y el símbolo de ejecución en la parte superior derecha",
"c_cpp.walkthrough.customize.debugging.title": "Personalizar depuración",
"c_cpp.walkthrough.customize.debugging.mac.description": "Puede personalizar la configuración de depuración (por ejemplo, para pasar argumentos al programa en tiempo de ejecución) seleccionando \"Agregar configuración de depuración\" a la derecha del botón de reproducir. La configuración de depuración personalizada se guarda en el archivo launch.json del proyecto. \n[Más información](https://code.visualstudio.com/docs/cpp/config-linux#_debug-helloworldcpp)",
"c_cpp.walkthrough.customize.debugging.linux.description": "Puede personalizar la configuración de depuración (por ejemplo, para pasar argumentos al programa en tiempo de ejecución) seleccionando \"Agregar configuración de depuración\" a la derecha del botón de reproducir. La configuración de depuración personalizada se guarda en el archivo launch.json del proyecto. \n[Más información](https://code.visualstudio.com/docs/cpp/config-msvc#_debug-helloworldcpp)",
"c_cpp.walkthrough.customize.debugging.windows.description": "Puede personalizar la configuración de depuración (por ejemplo, para pasar argumentos al programa en tiempo de ejecución) seleccionando \"Agregar configuración de depuración\" a la derecha del botón de reproducir. La configuración de depuración personalizada se guarda en el archivo launch.json del proyecto. \n[Más información](https://code.visualstudio.com/docs/cpp/config-clang-mac#_debug-helloworldcpp)",
"c_cpp.walkthrough.customize.debugging.altText": "Imagen que muestra Agregar configuración de depuración en la lista desplegable"
}
@@ -4,25 +4,28 @@
*--------------------------------------------------------------------------------------------*/
// Do not edit this file. It is machine generated.
{
"unable.to.start": "No se puede iniciar el servidor de lenguaje de C/C++. Las características de IntelliSense se deshabilitarán. Error: {0}",
"check.permissions": "EPERM: Compruebe los permisos de \"{0}\"",
"select.compile.commands": "Selecciona un compilador para configurarlo para IntelliSense",
"select.compiler": "Selecciona un compilador para configurarlo para IntelliSense",
"configure.intelliSense.forFolder": "¿Cómo deseas configurar IntelliSense para la carpeta \"{0}\"?",
"configure.intelliSense.thisFolder": "¿Cómo desea configurar IntelliSense para esta carpeta?",
"found.string": "Encontrado en {0}",
"use.compiler": "Uso {0}",
"configuration.providers": "proveedores de configuración",
"compilers": "Compiladores",
"setCompiler.message": "No tiene configurado IntelliSense. A menos que establezca sus propias configuraciones, puede que IntelliSense no funcione.",
"selectCompiler.string": "Selecciona un compilador",
"selectAnotherCompiler.string": "Seleccionar otro compilador en mi máquina",
"selectIntelliSenseConfiguration.string": "Seleccionar configuración de IntelliSense...",
"use.provider": "Uso {0}",
"use.compileCommands": "Uso {0}",
"selectAnotherCompiler.string": "Seleccionar otro compilador en mi máquina...",
"installCompiler.string": "Ayuda para instalar un compilador",
"noConfig.string": "No configurar ningún compilador (no recomendado)",
"noConfig.string": "No configurar con un compilador (no recomendado)",
"selectCompiler.string": "Selecciona un compilador",
"confirmCompiler.string": "Sí",
"selectCompiler.message": "Se encontró el compilador {0}. ¿Desea configurar IntelliSense con este compilador?",
"check.permissions": "EPERM: Compruebe los permisos de \"{0}\"",
"unable.to.start": "No se puede iniciar el servidor de lenguaje de C/C++. Las características de IntelliSense se deshabilitarán. Error: {0}",
"server.crashed.restart": "El servidor de lenguaje se bloqueó. Se está reiniciando...",
"server.crashed2": "El servidor de lenguaje se ha bloqueado cinco veces en los tres últimos minutos. No se reiniciará.",
"loggingLevel.changed": "{0} se cambió a: {1}",
"provider.configure.folder": "{0} desea configurar IntelliSense para la carpeta \"{1}\".",
"provider.configure.this.folder": "{0} desea configurar IntelliSense para esta carpeta.",
"allow.button": "Permitir",
"dont.allow.button": "No permitir",
"ask.me.later.button": "Preguntarme más tarde",
"dismiss.button": "Descartar",
"diable.warnings.button": "Deshabilitar advertencias",
"unable.to.provide.configuration": "{0} no puede proporcionar información de configuración de IntelliSense para \"{1}\". Se utilizará la configuración de \"{2}\" en su lugar.",
@@ -35,6 +38,11 @@
"dont.show.again": "No volver a mostrar",
"update.your.intellisense.settings": "Actualice la configuración de IntelliSense o use Vcpkg para instalar las bibliotecas y buscar los encabezados que faltan.",
"configure.your.intellisense.settings": "Configure las opciones de IntelliSense para buscar los encabezados que faltan.",
"provider.configure.folder": "{0} desea configurar IntelliSense para la carpeta \"{1}\".",
"provider.configure.this.folder": "{0} desea configurar IntelliSense para esta carpeta.",
"allow.button": "Permitir",
"dont.allow.button": "No permitir",
"ask.me.later.button": "Preguntarme más tarde",
"a.compile.commands.file": "un archivo compile_commands.json",
"auto-configure.intellisense.folder": "¿Desea usar {0} para configurar automáticamente IntelliSense para la carpeta \"{1}\"?",
"auto-configure.intellisense.this.folder": "¿Desea usar {0} para configurar automáticamente IntelliSense para esta carpeta?",
@@ -42,6 +50,5 @@
"no.button": "No",
"configurations.received": "Configuraciones personalizadas recibidas:",
"browse.configuration.received": "Configuración de exploración personalizada recibida: {0}",
"no.compilers.found": "No se encontró ningún compilador de C++ en el sistema. Para la plataforma, se recomienda instalar {0} mediante las instrucciones del editor.",
"compilers.found": "Hemos encontrado los siguientes compiladores de C++ en el sistema. Elija un compilador en la configuración de IntelliSense del proyecto."
"fallback.clipboard": " Se copió la declaración o definición."
}
@@ -11,6 +11,5 @@
"configuration.select.first": "Abre primero una carpeta para seleccionar una configuración.",
"configuration.provider.select.first": "Abre primero una carpeta para seleccionar un proveedor de configuración.",
"edit.configurations.open.first": "Abra una carpeta primero para editar las configuraciones",
"code.action.aborted": "No se pudo aplicar la corrección de análisis de código porque el documento ha cambiado.",
"add.includepath.open.first": "Abra primero una carpeta para agregarla a {0}"
"code.action.aborted": "No se pudo aplicar la corrección de análisis de código porque el documento ha cambiado."
}
@@ -7,6 +7,7 @@
"find.all.references": "Buscar todas las referencias",
"peek.references": "Inspeccionar referencias",
"rename": "Cambiar nombre",
"call.hierarchy": "Jerarquía de llamadas",
"confirmed.reference.upper": "REFERENCIA CONFIRMADA",
"confirmation.in.progress.upper": "CONFIRMACIÓN EN CURSO",
"comment.reference.upper": "REFERENCIA DE COMENTARIO",
@@ -0,0 +1,8 @@
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
// Do not edit this file. It is machine generated.
{
"c.cpp.configurations": "Configuración de C/C++"
}

Some files were not shown because too many files have changed in this diff Show More