Compare commits

...
Author SHA1 Message Date
Sean McManus 92384bf0c6 Merge pull request #7812 from microsoft/main
Merge for 1.5.1
2021-07-09 01:55:08 -07:00
Andrew Wang bbe5c42e64 Update Windows Debugger Packages (#7811)
* Fix vsdbg crash on windows x64

Addresses #7808

* Update package version and add CHANGELOG
2021-07-09 01:52:36 -07:00
Sean McManus 9791061ca2 Add localization hint. (#7799) 2021-07-08 21:46:24 -07:00
Colen Garoutte-Carson f87d7a735e Fix issue causing a squiggle in package.json (#7806) 2021-07-08 18:11:11 -07:00
Sean McManus 14055547fa Merge pull request #7805 from microsoft/main
Update package hashes for new packages (#7804)
2021-07-08 14:43:46 -07:00
Andrew Wang 9843f739db Update package hashes for new packages (#7804) 2021-07-08 14:39:36 -07:00
Sean McManus 3a3a3453e7 Merge pull request #7801 from microsoft/main
Merge for 1.5.0
2021-07-07 19:33:29 -07:00
Sean McManus 0228b9725e Merge branch 'release' into main 2021-07-07 19:22:36 -07:00
Sean McManus 385a267208 Update changelog for 1.5.0. (#7797)
* Update changelog for 1.5.0.
* Update fwlinks.
2021-07-07 19:20:03 -07:00
Austen OttandAndrew Wang bbf217f090 Add Windows ARM64 Debugger Packages (#7798)
* Add arm64 vsdbg package and update to newer versions.

* Remove arm64 block.

Co-authored-by: Andrew Wang <[email protected]>
2021-07-07 16:44:53 -07:00
Sean McManus f474c284f4 Fix code foldering with nested ifs. (#7793) 2021-07-07 15:30:52 -07:00
Elaheh Rashedi 3967429440 fix debugger for clang compilers (#7765) 2021-07-01 13:31:51 -07:00
Sean McManus 29b0b0611a Fix debug configuration selection cancellation. (#7763) 2021-07-01 12:05:23 -07:00
Sean McManus 2a9afe8046 Update changelog. (#7757) 2021-06-30 17:39:50 -07:00
csigsandSean McManus 51b983509d [Auto] Localization - Translated Strings (#7754)
* Localization - Translated Strings
* Add space before ":".

Co-authored-by: Sean McManus <[email protected]>
2021-06-30 10:53:47 -07:00
Elaheh Rashedi 36939092fb don't squiggle for "cl.exe" or "cl" path (#7752) 2021-06-28 17:57:59 -07:00
csigs 598ac0aff3 [Auto] Localization - Translated Strings (#7724)
* Localization - Translated Strings
Co-authored-by: Sean McManus <[email protected]>
2021-06-28 12:11:14 -07:00
Colen Garoutte-Carson ae14e4bb3d Use setTextDocumentLanguage to temporarily set language ID for CUDA sources, and headers (#7745) 2021-06-25 14:20:14 -07:00
Sean McManus ef52c25aa6 1.5.0-insiders2 changelog (#7733)
* Update changelog.
2021-06-21 15:42:14 -07:00
Sean McManus 54bf446cbc Merge pull request #7658 from microsoft/1_4_1
1.4.1
2021-06-07 18:02:47 -07:00
Sean McManus ecfe50be26 Update changelog for 1.4.1. (#7657)
* Update changelog for 1.4.1.
2021-06-07 17:43:28 -07:00
Sean McManus 623029cc62 Better fix for settings UI not getting updated. (#7656)
* Better fix for settings UI not getting updated.
2021-06-07 16:23:16 -07:00
Sean McManus 4076edd843 Workaround for webViewPanel.postMessage getting dropped. (#7647)
* Workaround for webViewPanel.postMessage getting dropped.
2021-06-07 16:23:10 -07:00
Sean McManus 1ad52f98b1 Merge pull request #7612 from microsoft/main
Fix Walkthrough property (#7611)
2021-05-27 15:08:21 -07:00
Sean McManus 034390f36c Merge pull request #7608 from microsoft/seanmcm/1_4_0_release
1.4.0-release
2021-05-27 13:09:10 -07:00
Sean McManus 6d85f9cdf9 Merge branch 'main' into seanmcm/1_4_0_release 2021-05-27 13:03:49 -07:00
Sean McManus 1d0a886ec6 Merge branch 'main' into seanmcm/1_4_0_release 2021-05-27 11:57:43 -07:00
Sean McManus 1246f5a62c Merge pull request #7392 from microsoft/main
Merge for 1.3.1
2021-04-19 15:07:20 -07:00
Michelle Matias 52f7999233 Merge pull request #7352 from microsoft/mimatias/r1-3-0
1.3.0 release
2021-04-12 22:45:17 -07:00
Michelle Matias 173f79ca4e Merge branch 'main' into mimatias/r1-3-0 2021-04-12 22:38:09 -07:00
Michelle Matias 7bac5a7101 Merge pull request #7053 from microsoft/mimatias/main122
Merge main to release for 1.2.2
2021-02-25 14:38:00 -08:00
Michelle Matias 736cf279c3 Merge branch 'release' into mimatias/main122 2021-02-25 14:36:54 -08:00
Elaheh Rashedi 8401086544 Merge pull request #6977 from microsoft/release1.2.1_2
remove main from version
2021-02-16 17:59:36 -05:00
Elaheh Rashedi 5b44545fd2 remove main from version 2021-02-16 17:54:34 -05:00
Elaheh Rashedi 52b2b8f6df Merge pull request #6961 from microsoft/release1.2.1
Release1.2.1
2021-02-12 14:00:28 -05:00
Elaheh Rashedi 67345e0e6d Merge branch 'main' into release1.2.1 2021-02-12 13:44:10 -05:00
Sean McManus ecf57ce8d2 Merge pull request #6892 from microsoft/seanmcm/1_2_0_release3
Update 1.2.0
2021-02-02 13:31:31 -08:00
Sean McManus 0259eeeb5d Merge branch 'main' into seanmcm/1_2_0_release3 2021-02-02 13:25:59 -08:00
Sean McManus 0a13cdec11 Merge pull request #6888 from microsoft/seanmcm/1_2_0_release_2
1.2.0 release 2nd try
2021-02-01 20:36:01 -08:00
Sean McManus 6ff23b461c Merge branch 'main' into seanmcm/1_2_0_release_2 2021-02-01 20:27:47 -08:00
Sean McManus 978d9ae574 Merge pull request #6885 from microsoft/seanmcm/1_2_0
1.2.0
2021-02-01 14:19:22 -08:00
Sean McManus 399b43666f Merge for 1.2.0. 2021-02-01 14:09:10 -08:00
Sean McManus 25d74973b0 Update TPN for release. (#6622) 2020-12-03 17:44:20 -08:00
Sean McManus adf99597f6 Merge pull request #6620 from microsoft/seanmcm/cherryPick6619
cherry pick6619
2020-12-03 16:12:07 -08:00
Sean McManus 52fe7952d6 Update changelog. 2020-12-03 14:14:30 -08:00
Sean McManus aa4c5df4b7 Fix cwd. (#6619)
Fixes #6618
2020-12-03 14:11:07 -08:00
Sean McManus a3de2f9bee Merge pull request #6614 from microsoft/seanmcm/cherryPick6609
cherry pick 6609
2020-12-02 22:17:06 -08:00
Colen Garoutte-Carson 28f6dd66d2 Add field to activation telemetry for web-based Codespaces (#6609) 2020-12-02 22:15:07 -08:00
Colen Garoutte-Carson 89fd6a960c Remove telemetry for remoteName (#6537) 2020-12-02 22:10:26 -08:00
Sean McManus 8b06e7d04f Merge pull request #6607 from microsoft/seanmcm/1_1_3
Merge for 1.1.3 release
2020-12-01 20:53:46 -08:00
Sean McManus b1021432ec Update changelog and @types/vscode 2020-12-01 17:41:56 -08:00
Sean McManus 2cca514128 Fix infinite loop after cpptools crashes. (#6604)
* Fix infinite loop after cpptools crashes: https://github.com/microsoft/vscode-cpptools/issues/6603
2020-12-01 17:25:04 -08:00
Sean McManus 2e33027272 Fix cppbuild task warnings. (#6557)
* Fix cppbuild task warnings: https://github.com/microsoft/vscode-cpptools/issues/6556
2020-12-01 17:21:30 -08:00
Elaheh Rashedi 73a0b95df7 Add localization to strings in LanguageServer\cppBuildTaskProvider.ts (#6544)
* localizing for task provider

* localize single_file_mode_not_available

* remove end of line from localalized string

* modify error(s)

* remove space from localized string

* remove space from localized string
2020-12-01 17:20:56 -08:00
Sean McManus 39f32a3b45 Fix build task bugs. (#6539)
* Fix build task bugs.
* Use VS Code's variable resolution.
2020-12-01 17:20:42 -08:00
Sean McManus 16f352169c 1_1_2 release (#6532)
* Fix fileDirname. (#6482)
* Update changelog.
* Update the version.
2020-11-17 18:02:59 -08:00
Sean McManus adff6e66d5 Merge pull request #6481 from microsoft/seanmcm/1_1_1_release
1_1_1 release
2020-11-09 16:05:21 -08:00
Sean McManus 1877aed36a Merge. 2020-11-09 16:01:38 -08:00
Sean McManus 50c1efadd8 Fix version. (#6449) 2020-11-05 15:41:17 -08:00
Sean McManus 83df90082a Merge pull request #6448 from microsoft/seanmcm/1_1_0_release
1_1_0 release
2020-11-05 15:30:17 -08:00
Sean McManus b1d7d19ed7 Merge branch 'master' into seanmcm/1_1_0_release 2020-11-05 15:25:21 -08:00
Andrew Wang 80ea255a7c Merge branch 'master' into release 2020-10-06 13:05:19 -07:00
Bob Brown (DEVDIV) f3f151075b removing duplicate cleanup stage 2020-09-22 10:28:05 -07:00
37 changed files with 149 additions and 67 deletions
+25 -2
View File
@@ -1,12 +1,26 @@
# C/C++ for Visual Studio Code Change Log
## Version 1.5.0-insiders: June 14, 2021
## Version 1.5.1: July 9, 2021
### Bug Fixes
* cppvsdbg Debugging becomes no-op between 1.4.1 and 1.5.0 [#7808](https://github.com/microsoft/vscode-cpptools/issues/7808)
## Version 1.5.0: July 8, 2021
### New Feature
* Add the "Inline macro" code action. [#4183](https://github.com/microsoft/vscode-cpptools/issues/4183)
* Add a Windows ARM64 debugger. [PR #7798](https://github.com/microsoft/vscode-cpptools/pull/7798)
### Enhancements
* 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.
### Bug Fixes
* Fix switch header/source not checking `files.exclude`. [#4429](https://github.com/microsoft/vscode-cpptools/issues/4429)
* Fix code folding causing `} else if` lines to be hidden. [#5521](https://github.com/microsoft/vscode-cpptools/issues/5521)
* Add abort handling to recursive includes directory iteration. [#6461](https://github.com/microsoft/vscode-cpptools/issues/6461)
* Fix include completion with recursive includes in header files. [#6842](https://github.com/microsoft/vscode-cpptools/issues/6842)
* Add the get-task-allow entitlement to macOS binaries to enable call stacks to be obtained when SIP is enabled. [#7412](https://github.com/microsoft/vscode-cpptools/issues/7412)
* Fix Find All References reporting certain references in headers as inactive. [#7609](https://github.com/microsoft/vscode-cpptools/issues/7609)
* Fix IntelliSense process crash and tag parser failure with columns > 65535. [#7621](https://github.com/microsoft/vscode-cpptools/issues/7621)
* Fix incorrect localization translations.
@@ -16,9 +30,18 @@
* Change references of "OS X" to "macOS".
* Tyler Davis (@TylerADavis) [PR #7636](https://github.com/microsoft/vscode-cpptools/pull/7636)
* Prevent the root path from being added to the `browse.path`. [#7648](https://github.com/microsoft/vscode-cpptools/issues/7648)
* Fix configuration squiggle when `${workspaceFolder}` is used with `compilerPath`. [#7649](https://github.com/microsoft/vscode-cpptools/issues/7649)
* Fix a configuration squiggle when `${workspaceFolder}` is used with `compilerPath`. [#7649](https://github.com/microsoft/vscode-cpptools/issues/7649)
* Fix an issue causing editorConfig not to be used or cached. [PR #7666](https://github.com/microsoft/vscode-cpptools/pull/7666)
* Fix document symbols nesting with templates. [#7673](https://github.com/microsoft/vscode-cpptools/issues/7673)
* Fix include paths not being found when the paths start with /D or /I. [#7701](https://github.com/microsoft/vscode-cpptools/issues/7701), [#7757](https://github.com/microsoft/vscode-cpptools/issues/7756)
* Fix Find All References on a global variable giving incorrect references to local variables. [#7702](https://github.com/microsoft/vscode-cpptools/issues/7702)
* Fix `vcFormat` not working near the end of the file with UTF-8 characters > 1 byte. [#7704](https://github.com/microsoft/vscode-cpptools/issues/7704)
* Fix a configuration squiggle for a recursively resolved `forcedInclude`. [PR #7722](https://github.com/microsoft/vscode-cpptools/pull/7722)
* Fix `Build and Debug Active File` for certain file extensions (.cu, .cp, etc.).
* jogo- (@jogo-) [PR #7726](https://github.com/microsoft/vscode-cpptools/pull/7726)
* Fix `browse.path` being incorrect if an invalid `compileCommands` is set. [#7737](https://github.com/microsoft/vscode-cpptools/issues/7737)
* Fix an incorrect error message when `C_Cpp.errorSquiggles` is `"Enabled"`. [#7744](https://github.com/microsoft/vscode-cpptools/issues/7744)
* Fix compiler querying sometimes not working with Cygwin. [#7751](https://github.com/microsoft/vscode-cpptools/issues/7751)
* Fix a duplicate IntelliSense update when a new C/C++ file is opened and after switching from a non-C/C++ file and back.
* Fix a potential IntelliSense process crash on shutdown.
+1
View File
@@ -946,6 +946,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
IN THE SOFTWARE.
---------------------------------------------------------
---------------------------------------------------------
@@ -37,4 +37,4 @@
"no.compilers.found": "系统上未找到任何 C++ 编译器。对于你的平台,建议使用编辑器中的说明安装 {0}。",
"compilers.found": "我们在系统上发现了以下 C++ 编译器:",
"compilers.found.message": "可在项目的 IntelliSense 配置中指定要使用的编译器。"
}
}
@@ -212,5 +212,6 @@
"nvcc_host_compiler_not_found": "找不到 nvcc 主机编译器: {0}",
"invoking_nvcc": "正在使用命令行调用 nvcc: {0}",
"nvcc_host_compile_command_not_found": "在 nvcc 的输出中找不到主机编译命令。",
"unable_to_locate_forced_include": "找不到 forced include: {0}"
"unable_to_locate_forced_include": "找不到 forced include: {0}",
"inline_macro": "内联宏"
}
@@ -37,4 +37,4 @@
"no.compilers.found": "在您的系統 C++ 上找不到編譯器。針對您的平台,建議您使用編輯器中的指示來安裝 {0}。",
"compilers.found": "我們在您的系統上找到下列 C++ 編譯器:",
"compilers.found.message": "您可以在專案的 IntelliSense 設定中指定要使用的編譯器。"
}
}
@@ -212,5 +212,6 @@
"nvcc_host_compiler_not_found": "找不到 nvcc 主機編譯器: {0}",
"invoking_nvcc": "正在使用命令列 {0} 叫用 nvcc",
"nvcc_host_compile_command_not_found": "在 nvcc 的輸出中找不到主機編譯命令。",
"unable_to_locate_forced_include": "找不到強制的 include: {0}"
"unable_to_locate_forced_include": "找不到強制的 include: {0}",
"inline_macro": "內嵌巨集"
}
+1 -1
View File
@@ -176,7 +176,7 @@
"c_cpp.configuration.filesExcludeWhen.description": "Další kontrola položek na stejné úrovni u odpovídajícího souboru. Jako proměnnou názvu odpovídajícího souboru použijte $(basename).",
"c_cpp.configuration.debugger.useBacktickCommandSubstitution.description": "Když se nastaví na true, nahrazování příkazů shellu ladicího programu bude používat starou verzi obrácené čárky (`).",
"c_cpp.contributes.views.cppReferencesView.title": "C/C++: výsledky jiných odkazů",
"c_cpp.contributes.viewsWelcome.contents": "Další informace o launch.json najdete tady: [konfigurace C/C++ Ladění](https://code.visualstudio.com/docs/cpp/launch-json-reference).",
"c_cpp.contributes.viewsWelcome.contents": "Další informace o launch.json najdete tady: [konfigurace C/C++ ladění](https://code.visualstudio.com/docs/cpp/launch-json-reference).",
"c_cpp.debuggers.pipeTransport.description": "Pokud je k dispozici, předá ladicímu programu informaci, aby se připojil ke vzdálenému počítači pomocí dalšího spustitelného souboru jako kanál, který bude přenášet standardní vstup a výstup mezi nástrojem VS Code a spustitelným souborem back-endu ladicího programu s podporou MI (třeba gdb).",
"c_cpp.debuggers.pipeTransport.default.pipeProgram": "zadejte plně kvalifikovanou cestu názvu programu kanálu, třeba /usr/bin/ssh",
"c_cpp.debuggers.pipeTransport.default.debuggerPath": "Úplná cesta k ladicímu programu na cílovém počítači, například /usr/bin/gdb",
@@ -37,4 +37,4 @@
"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": "V systému jsme našli následující kompilátory jazyka C++:",
"compilers.found.message": "V konfiguraci IntelliSense vašeho projektu můžete zadat, který kompilátor se má použít."
}
}
@@ -212,5 +212,6 @@
"nvcc_host_compiler_not_found": "Nepovedlo se najít kompilátor hostitele nvcc: {0}",
"invoking_nvcc": "Volá se nvcc pomocí příkazového řádku: {0}",
"nvcc_host_compile_command_not_found": "Ve výstupu nástroje nvcc se nepovedlo najít příkaz pro kompilaci hostitele.",
"unable_to_locate_forced_include": "Nepovedlo se najít vynuceně zahrnované soubory: {0}"
"unable_to_locate_forced_include": "Nepovedlo se najít vynuceně zahrnované soubory: {0}",
"inline_macro": "Vložené makro"
}
@@ -37,4 +37,4 @@
"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 dem System gefunden:",
"compilers.found.message": "Sie können angeben, welcher Compiler in der IntelliSense-Konfiguration Ihres Projekts verwendet werden soll."
}
}
@@ -212,5 +212,6 @@
"nvcc_host_compiler_not_found": "Der nvcc-Hostcompiler wurde nicht gefunden: {0}",
"invoking_nvcc": "nvcc wird über Befehlszeile aufgerufen: {0}",
"nvcc_host_compile_command_not_found": "Der Hostkompilierbefehl wurde in der Ausgabe von nvcc nicht gefunden.",
"unable_to_locate_forced_include": "Erzwungene Includedatei wurde nicht gefunden: {0}"
"unable_to_locate_forced_include": "Erzwungene Includedatei wurde nicht gefunden: {0}",
"inline_macro": "Inlinemakro"
}
@@ -37,4 +37,4 @@
"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": "Se encontraron los siguientes compiladores de C++ en el sistema:",
"compilers.found.message": "Puede especificar el compilador que se va a usar en la configuración de IntelliSense del proyecto."
}
}
@@ -212,5 +212,6 @@
"nvcc_host_compiler_not_found": "No se encuentra el compilador host nvcc: {0}",
"invoking_nvcc": "Invocando nvcc con la línea de comandos: {0}",
"nvcc_host_compile_command_not_found": "No se encuentra el comando de compilación del host en la salida de nvcc.",
"unable_to_locate_forced_include": "No se encuentra la inclusión forzada: {0}"
"unable_to_locate_forced_include": "No se encuentra la inclusión forzada: {0}",
"inline_macro": "Macro insertada"
}
+3 -3
View File
@@ -193,8 +193,8 @@
"c_cpp.debuggers.logging.engineLogging.description": "Indicateur facultatif pour déterminer si les messages du moteur de débogage de diagnostic doivent être journalisés dans la console de débogage. La valeur par défaut est false.",
"c_cpp.debuggers.logging.trace.description": "Indicateur facultatif pour déterminer si le suivi de commande de l'adaptateur de diagnostic doit être journalisé dans la console de débogage. La valeur par défaut est false.",
"c_cpp.debuggers.logging.traceResponse.description": "Indicateur facultatif pour déterminer si le suivi de commande et de réponse de l'adaptateur de diagnostic doit être journalisé dans la console de débogage. La valeur par défaut est false.",
"c_cpp.debuggers.cppvsdbg.logging.threadExit.description": "Indicateur facultatif pour déterminer si les messages indiquant la sortie du thread doivent être journalisés dans la console de débogage. Valeur par défaut: 'false'.",
"c_cpp.debuggers.cppvsdbg.logging.processExit.description": "Indicateur facultatif pour déterminer si les messages indiquant la sortie du processus cible doivent être journalisés dans la console de débogage. Valeur par défaut: 'true'.",
"c_cpp.debuggers.cppvsdbg.logging.threadExit.description": "Indicateur facultatif pour déterminer si les messages indiquant la sortie du thread doivent être journalisés dans la console de débogage. Valeur par défaut : 'false'.",
"c_cpp.debuggers.cppvsdbg.logging.processExit.description": "Indicateur facultatif pour déterminer si les messages indiquant la sortie du processus cible doivent être journalisés dans la console de débogage. Valeur par défaut : 'true'.",
"c_cpp.debuggers.text.description": "Commande de débogueur à exécuter.",
"c_cpp.debuggers.description.description": "Description facultative de la commande.",
"c_cpp.debuggers.ignoreFailures.description": "Si la valeur est true, les échecs de la commande doivent être ignorés. La valeur par défaut est false.",
@@ -218,7 +218,7 @@
"c_cpp.debuggers.miDebuggerArgs.description": "Arguments supplémentaires pour le débogueur MI (par exemple gdb).",
"c_cpp.debuggers.miDebuggerServerAddress.description": "Adresse réseau du serveur du débogueur MI auquel se connecter (par exemple : localhost:1234).",
"c_cpp.debuggers.stopAtEntry.description": "Paramètre facultatif. Si la valeur est true, le débogueur doit s'arrêter au point d'entrée de la cible. Si processId est passé, le paramètre n'a aucun effet.",
"c_cpp.debuggers.debugServerPath.description": "Chemin complet facultatif au serveur de débogage à lancer (valeur par défaut: null). Utilisé conjointement avec \"miDebugServerAddress\" ou votre propre serveur avec \"customSetupCommand\" qui exécute \"-target-select remote <server:port>\".",
"c_cpp.debuggers.debugServerPath.description": "Chemin complet facultatif au serveur de débogage à lancer (valeur par défaut : null). Utilisé conjointement avec \"miDebugServerAddress\" ou votre propre serveur avec \"customSetupCommand\" qui exécute \"-target-select remote <server:port>\".",
"c_cpp.debuggers.debugServerArgs.description": "Arguments facultatifs du serveur de débogage. La valeur par défaut est null.",
"c_cpp.debuggers.serverStarted.description": "Modèle facultatif de démarrage du serveur à rechercher dans la sortie du serveur de débogage. La valeur par défaut est null.",
"c_cpp.debuggers.filterStdout.description": "Permet de rechercher dans le flux stdout le modèle correspondant au démarrage du serveur, et de journaliser stdout dans la sortie de débogage. La valeur par défaut est true.",
@@ -37,4 +37,4 @@
"no.compilers.found": "Aucun C++ compilateur na été trouvé sur votre système. Pour votre plateforme, nous vous recommandons dinstaller {0} à laide des instructions de l’éditeur.",
"compilers.found": "Nous avons trouvé les C++ compilateur(s) suivant(s) sur votre système :",
"compilers.found.message": "Vous pouvez spécifier le compilateur à utiliser dans la configuration IntelliSense de votre projet."
}
}
@@ -212,5 +212,6 @@
"nvcc_host_compiler_not_found": "Impossible de localiser le compilateur hôte pour nvcc : {0}",
"invoking_nvcc": "Appel de nvcc avec la ligne de commande : {0}",
"nvcc_host_compile_command_not_found": "La commande de compilation hôte est introuvable dans la sortie de nvcc.",
"unable_to_locate_forced_include": "Impossible de localiser le fichier include forcé : {0}"
"unable_to_locate_forced_include": "Impossible de localiser le fichier include forcé : {0}",
"inline_macro": "Macro inlined"
}
@@ -37,4 +37,4 @@
"no.compilers.found": "Nel sistema non sono stati trovati compilatori C++. Per la piattaforma, è consigliabile installare {0} usando le istruzioni nell'editor.",
"compilers.found": "Nel sistema sono stati trovati i seguenti compilatori C++:",
"compilers.found.message": "È possibile specificare il compilatore da utilizzare nella configurazione IntelliSense del progetto."
}
}
@@ -212,5 +212,6 @@
"nvcc_host_compiler_not_found": "Non è possibile individuare il compilatore host nvcc: {0}",
"invoking_nvcc": "Chiamata di nvcc con la riga di comando: {0}",
"nvcc_host_compile_command_not_found": "Non è possibile trovare il comando di compilazione host nell'output di nvcc.",
"unable_to_locate_forced_include": "Non è possibile individuare la direttiva include forzata: {0}"
"unable_to_locate_forced_include": "Non è possibile individuare la direttiva include forzata: {0}",
"inline_macro": "Macro inline"
}
@@ -37,4 +37,4 @@
"no.compilers.found": "お使いのシステムで C++ コンパイラが見つかりませんでした。プラットフォーム向けに、エディターの指示に従って {0} をインストールすることをお勧めします。",
"compilers.found": "システムに次の C++ コンパイラが見つかりました:",
"compilers.found.message": "プロジェクトの IntelliSense 構成で使用するコンパイラを指定できます。"
}
}
@@ -212,5 +212,6 @@
"nvcc_host_compiler_not_found": "nvcc ホスト コンパイラが見つかりません: {0}",
"invoking_nvcc": "コマンド ラインで nvcc を呼び出しています: {0}",
"nvcc_host_compile_command_not_found": "nvcc の出力でホスト コンパイル コマンドが見つかりません。",
"unable_to_locate_forced_include": "強制インクルードが見つかりません: {0}"
"unable_to_locate_forced_include": "強制インクルードが見つかりません: {0}",
"inline_macro": "インライン マクロ"
}
@@ -37,4 +37,4 @@
"no.compilers.found": "C++시스템에서 컴파일러를 찾을 수 없습니다. 플랫폼의 경우 편집기의 지침을 사용하여 {0}을(를) 설치하는 것이 좋습니다.",
"compilers.found": "시스템에서 다음 C++ 컴파일러를 찾았습니다.",
"compilers.found.message": "프로젝트의 IntelliSense 구성에서 사용할 컴파일러를 지정할 수 있습니다."
}
}
@@ -212,5 +212,6 @@
"nvcc_host_compiler_not_found": "nvcc 호스트 컴파일러를 찾을 수 없음: {0}",
"invoking_nvcc": "명령줄 {0}을(를) 사용하여 nvcc를 호출하는 중",
"nvcc_host_compile_command_not_found": "nvcc의 출력에서 호스트 컴파일 명령을 찾을 수 없습니다.",
"unable_to_locate_forced_include": "강제 포함을 찾을 수 없음: {0}"
"unable_to_locate_forced_include": "강제 포함을 찾을 수 없음: {0}",
"inline_macro": "인라인 매크로"
}
@@ -37,4 +37,4 @@
"no.compilers.found": "W systemie nie odnaleziono żadnych kompilatorów języka C++. W przypadku Twojej platformy zalecamy zainstalowanie {0} przy użyciu instrukcji w edytorze.",
"compilers.found": "Znaleźliśmy następujące kompilatory C++ w systemie:",
"compilers.found.message": "Możesz określić, który kompilator ma być używany w konfiguracji IntelliSense projektu."
}
}
@@ -212,5 +212,6 @@
"nvcc_host_compiler_not_found": "Nie można zlokalizować kompilatora hosta nvcc: {0}",
"invoking_nvcc": "Wywoływanie narzędzia nvcc za pomocą wiersza polecenia: {0}",
"nvcc_host_compile_command_not_found": "Nie można znaleźć polecenia kompilacji hosta w danych wyjściowych narzędzia nvcc.",
"unable_to_locate_forced_include": "Nie można zlokalizować wymuszonego dołączenia: {0}"
"unable_to_locate_forced_include": "Nie można zlokalizować wymuszonego dołączenia: {0}",
"inline_macro": "Makro śródwierszowe"
}
@@ -37,4 +37,4 @@
"no.compilers.found": "Não foram encontrados compiladores C++ em seu sistema. Para sua plataforma, recomendamos instalar {0} usando as instruções do editor.",
"compilers.found": "Encontramos o(s) seguinte(s) compilador(es) C++ em seu sistema:",
"compilers.found.message": "Você pode especificar qual compilador usar na Configuração IntelliSense de seu projeto."
}
}
@@ -212,5 +212,6 @@
"nvcc_host_compiler_not_found": "Não é possível localizar o compilador de host NVCC: {0}",
"invoking_nvcc": "Invocando NVCC com a linha de comando: {0}",
"nvcc_host_compile_command_not_found": "Não é possível localizar o comando de compilação de host na saída de NVCC.",
"unable_to_locate_forced_include": "Não é possível localizar a inclusão forçada: {0}"
"unable_to_locate_forced_include": "Não é possível localizar a inclusão forçada: {0}",
"inline_macro": "Macro embutida"
}
@@ -37,4 +37,4 @@
"no.compilers.found": "В системе не найдены компиляторы C++. Для вашей платформы рекомендуется установить {0}. Необходимые инструкции см. в редакторе.",
"compilers.found": "В системе обнаружены следующие компиляторы C++:",
"compilers.found.message": "Вы можете указать, какой компилятор использовать в конфигурации IntelliSense проекта."
}
}
@@ -212,5 +212,6 @@
"nvcc_host_compiler_not_found": "Не удалось найти компилятор узла nvcc: {0}",
"invoking_nvcc": "Идет вызов nvcc с помощью командной строки: {0}",
"nvcc_host_compile_command_not_found": "Не удалось найти команду компиляции узла в выходных данных nvcc.",
"unable_to_locate_forced_include": "Не удалось найти принудительное включение: {0}"
"unable_to_locate_forced_include": "Не удалось найти принудительное включение: {0}",
"inline_macro": "Встроенный макрос"
}
@@ -37,4 +37,4 @@
"no.compilers.found": "Sisteminizde C++ derleyicisi bulunamadı. Platformunuz için, düzenleyicideki yönergeleri takip ederek {0} derleyicisini yüklemenizi öneririz.",
"compilers.found": "Sisteminizde şu C++ derleyicileri bulundu:",
"compilers.found.message": "Projenizin IntelliSense Yapılandırmasında kullanılacak derleyiciyi belirtebilirsiniz."
}
}
@@ -212,5 +212,6 @@
"nvcc_host_compiler_not_found": "Nvcc konak derleyicisi bulunamıyor: {0}",
"invoking_nvcc": "Komut satırı ile nvcc çağrılıyor: {0}",
"nvcc_host_compile_command_not_found": "Nvcc çıkışındaki konak derleme komutu bulunamıyor.",
"unable_to_locate_forced_include": "Zorlamalı ekleme bulunamıyor: {0}"
"unable_to_locate_forced_include": "Zorlamalı ekleme bulunamıyor: {0}",
"inline_macro": "Satır içi makro"
}
+32 -19
View File
@@ -2,7 +2,7 @@
"name": "cpptools",
"displayName": "C/C++",
"description": "C/C++ IntelliSense, debugging, and code browsing.",
"version": "1.5.0-main",
"version": "1.5.1-main",
"publisher": "ms-vscode",
"icon": "LanguageCCPP_color_128x.png",
"readme": "README.md",
@@ -54,7 +54,6 @@
"id": "cppWelcome",
"title": "Get Started with C++ Development",
"description": "Dive into VS Code's rich C++ development experience.",
"primary": true,
"when": "false",
"steps": [
{
@@ -2797,7 +2796,7 @@
"runtimeDependencies": [
{
"description": "C/C++ language components (Linux / x86_64)",
"url": "https://go.microsoft.com/fwlink/?linkid=2164295",
"url": "https://go.microsoft.com/fwlink/?linkid=2167520",
"platforms": [
"linux"
],
@@ -2808,11 +2807,11 @@
"./bin/cpptools",
"./bin/cpptools-srv"
],
"integrity": "2E6E25B3B9C10ECC25A5B523C413182D185F13492602CF92896C658E6959CBFA"
"integrity": "32AC1D58A5A21527AA24583011F5A3694FCEFB5920677D0CA8D13F70BC0102BE"
},
{
"description": "C/C++ language components (Linux / armhf)",
"url": "https://go.microsoft.com/fwlink/?linkid=2164297",
"url": "https://go.microsoft.com/fwlink/?linkid=2167624",
"platforms": [
"linux"
],
@@ -2823,11 +2822,11 @@
"./bin/cpptools",
"./bin/cpptools-srv"
],
"integrity": "25F5776247184254D49B9FCC25D0D018AECF1D8930FC517F25C9FCC0A9E650AC"
"integrity": "9CB1C36A34DD2F7A53FF5471F1FBB5C0AD65A9E67C17013C7FBF65CDDAF7A7E1"
},
{
"description": "C/C++ language components (Linux / aarch64)",
"url": "https://go.microsoft.com/fwlink/?linkid=2165100",
"url": "https://go.microsoft.com/fwlink/?linkid=2167623",
"platforms": [
"linux"
],
@@ -2838,11 +2837,11 @@
"./bin/cpptools",
"./bin/cpptools-srv"
],
"integrity": "186614524A13EC75BF68798861818D25CE82FDE293C57B725C11F62B0694EC55"
"integrity": "D8F6A5A4A8A13F6F872C94BD522602A7C0E5E5CCA58CE7CE1ED3DC32F82850AC"
},
{
"description": "C/C++ language components (macOS / x86_64)",
"url": "https://go.microsoft.com/fwlink/?linkid=2164296",
"url": "https://go.microsoft.com/fwlink/?linkid=2167518",
"platforms": [
"darwin"
],
@@ -2853,11 +2852,11 @@
"./bin/cpptools",
"./bin/cpptools-srv"
],
"integrity": "8E19E1BDD95FCC80F74529E6B5C24AB761F7D84B92CF44C33DAE38A8F11F6FB5"
"integrity": "3EF54224CED1BCC6D64B2A93BFA8093E3D75510C8F96E943049CCB4C656161A2"
},
{
"description": "C/C++ language components (macOS / ARM64)",
"url": "https://go.microsoft.com/fwlink/?linkid=2164187",
"url": "https://go.microsoft.com/fwlink/?linkid=2167519",
"platforms": [
"darwin"
],
@@ -2868,11 +2867,11 @@
"./bin/cpptools",
"./bin/cpptools-srv"
],
"integrity": "1225791C05E0DBD708D0EE9598ACBC94B742E25C7CAE92C5C89791AF924D4B96"
"integrity": "02F2BE96493256237995EF51D4E0CD0345727D27A61135C6FCDB88608406C908"
},
{
"description": "C/C++ language components (Windows)",
"url": "https://go.microsoft.com/fwlink/?linkid=2164298",
"url": "https://go.microsoft.com/fwlink/?linkid=2167517",
"platforms": [
"win32"
],
@@ -2884,11 +2883,11 @@
"./bin/cpptools.exe",
"./bin/cpptools-srv.exe"
],
"integrity": "8D9E008B789D13DF4175795400E9402D43D199846CEC1DC4DD1F319B4C0D5492"
"integrity": "1E23884810A6EBF56BC7C5C4CB5317723CC3519039D56BF07310735870163E77"
},
{
"description": "C/C++ language components (Windows ARM64)",
"url": "https://go.microsoft.com/fwlink/?linkid=2165101",
"url": "https://go.microsoft.com/fwlink/?linkid=2167516",
"platforms": [
"win32"
],
@@ -2899,7 +2898,7 @@
"./bin/cpptools.exe",
"./bin/cpptools-srv.exe"
],
"integrity": "4B94A64721FE8D0E1F93AACBA1190A9DC00DF7225E20BF628AC57BEC6301AA7D"
"integrity": "26CCA79735F15BE0595510E2A170794CBF7E2EE72F2A565CD9D26970EA35547F"
},
{
"description": "ClangFormat (Linux / x86_64)",
@@ -3107,7 +3106,7 @@
},
{
"description": "Visual Studio Windows Debugger",
"url": "https://go.microsoft.com/fwlink/?linkid=2162486",
"url": "https://go.microsoft.com/fwlink/?linkid=2167539",
"platforms": [
"win32"
],
@@ -3118,7 +3117,21 @@
"binaries": [
"./debugAdapters/vsdbg/bin/vsdbg.exe"
],
"integrity": "E5046509D510086B99F171595114220AD8E9F820E7238B6A5199CD78B9AD2078"
"integrity": "3E71A1FDD78FBD9FD46ADEE0DF1283349363078B273CAE765978ACF1BA9C2DB1"
},
{
"description": "Visual Studio Windows ARM64 Debugger",
"url": "https://go.microsoft.com/fwlink/?linkid=2167648",
"platforms": [
"win32"
],
"architectures": [
"arm64"
],
"binaries": [
"./debugAdapters/vsdbg/bin/vsdbg.exe"
],
"integrity": "698BA3D45B925F998AACE9ED387ADE4927FFE569860408570FD074DD0CD56252"
}
]
}
}
@@ -71,7 +71,7 @@ export class QuickPickConfigurationProvider implements vscode.DebugConfiguration
const selection: MenuItem | undefined = await vscode.window.showQuickPick(items, {placeHolder: localize("select.configuration", "Select a configuration")});
if (!selection) {
return []; // User canceled it.
throw Error(localize("debug.configuration.selection.canceled", "Debug configuration selection canceled")); // User canceled it.
}
if (selection.label.startsWith("cl.exe")) {
if (!process.env.DevEnvDir) {
@@ -161,11 +161,11 @@ class CppConfigurationProvider implements vscode.DebugConfigurationProvider {
return false;
}
if (defaultConfig.name.startsWith("(Windows) ")) {
if (command.includes("cl.exe")) {
if (command.startsWith("cl.exe")) {
return true;
}
} else {
if (!command.includes("cl.exe")) {
if (!command.startsWith("cl.exe")) {
return true;
}
}
@@ -203,9 +203,16 @@ class CppConfigurationProvider implements vscode.DebugConfigurationProvider {
let debuggerName: string;
if (compilerName.startsWith("clang")) {
newConfig.MIMode = "lldb";
const suffixIndex: number = compilerName.indexOf("-");
const suffix: string = suffixIndex === -1 ? "" : compilerName.substr(suffixIndex);
debuggerName = "lldb-mi" + suffix;
debuggerName = "lldb-mi";
// Search for clang-8, clang-10, etc.
if ((compilerName !== "clang-cl.exe") && (compilerName !== "clang-cpp.exe")) {
const suffixIndex: number = compilerName.indexOf("-");
if (suffixIndex !== -1) {
const suffix: string = compilerName.substr(suffixIndex);
debuggerName += suffix;
}
}
newConfig.type = "cppdbg";
} else if (compilerName === "cl.exe") {
newConfig.miDebuggerPath = undefined;
newConfig.type = "cppvsdbg";
@@ -213,11 +220,9 @@ class CppConfigurationProvider implements vscode.DebugConfigurationProvider {
} else {
debuggerName = "gdb";
}
if (isWindows) {
debuggerName += ".exe";
debuggerName = debuggerName.endsWith(".exe") ? debuggerName : (debuggerName + ".exe");
}
const compilerDirname: string = path.dirname(compilerPath);
const debuggerPath: string = path.join(compilerDirname, debuggerName);
if (isWindows) {
+1 -1
View File
@@ -37,7 +37,7 @@ export function initialize(context: vscode.ExtensionContext): void {
// On non-windows platforms, the cppvsdbg debugger will not be registered for initial configurations.
// This will cause it to not show up on the dropdown list.
let vsdbgProvider: CppVsDbgConfigurationProvider | null = null;
if (os.platform() === 'win32' && os.arch() !== 'arm64') {
if (os.platform() === 'win32') {
vsdbgProvider = new CppVsDbgConfigurationProvider(configurationProvider);
disposables.push(vscode.debug.registerDebugConfigurationProvider('cppvsdbg', new QuickPickConfigurationProvider(vsdbgProvider)));
}
@@ -28,12 +28,18 @@ export class FoldingRangeProvider implements vscode.FoldingRangeProvider {
}
const result: vscode.FoldingRange[] = [];
ranges.ranges.forEach((r: CppFoldingRange, index: number, array: CppFoldingRange[]) => {
let nextNonNestedIndex: number = index + 1; // Skip over nested if's.
for (; nextNonNestedIndex < array.length; ++nextNonNestedIndex) {
if (array[nextNonNestedIndex].range.start.line >= r.range.end.line) {
break;
}
}
const foldingRange: vscode.FoldingRange = {
start: r.range.start.line,
// Move the end range up one if it overlaps with the next start range, because
// VS Code doesn't support column-based folding: https://github.com/microsoft/vscode/issues/50840
end: r.range.end.line - (index + 1 >= array.length ? 0 :
(array[index + 1].range.start.line !== r.range.end.line ? 0 : 1))
end: r.range.end.line - (nextNonNestedIndex >= array.length ? 0 :
(array[nextNonNestedIndex].range.start.line !== r.range.end.line ? 0 : 1))
};
switch (r.kind) {
case FoldingRangeKind.Comment:
+16
View File
@@ -449,6 +449,12 @@ interface GoToDirectiveInGroupParams {
next: boolean;
};
interface SetTemporaryTextDocumentLanguageParams {
path: string;
isC: boolean;
isCuda: boolean;
}
// Requests
const QueryCompilerDefaultsRequest: RequestType<QueryCompilerDefaultsParams, configs.CompilerDefaults, void, void> = new RequestType<QueryCompilerDefaultsParams, configs.CompilerDefaults, void, void>('cpptools/queryCompilerDefaults');
const QueryTranslationUnitSourceRequest: RequestType<QueryTranslationUnitSourceParams, QueryTranslationUnitSourceResult, void, void> = new RequestType<QueryTranslationUnitSourceParams, QueryTranslationUnitSourceResult, void, void>('cpptools/queryTranslationUnitSource');
@@ -509,6 +515,7 @@ const ShowWarningNotification: NotificationType<ShowWarningParams, void> = new N
const ReportTextDocumentLanguage: NotificationType<string, void> = new NotificationType<string, void>('cpptools/reportTextDocumentLanguage');
const SemanticTokensChanged: NotificationType<string, void> = new NotificationType<string, void>('cpptools/semanticTokensChanged');
const IntelliSenseSetupNotification: NotificationType<IntelliSenseSetup, void> = new NotificationType<IntelliSenseSetup, void>('cpptools/IntelliSenseSetup');
const SetTemporaryTextDocumentLanguageNotification: NotificationType<SetTemporaryTextDocumentLanguageParams, void> = new NotificationType<SetTemporaryTextDocumentLanguageParams, void>('cpptools/setTemporaryTextDocumentLanguage');
let failureMessageShown: boolean = false;
@@ -1971,6 +1978,7 @@ export class DefaultClient implements Client {
this.languageClient.onNotification(ReportTextDocumentLanguage, (e) => this.setTextDocumentLanguage(e));
this.languageClient.onNotification(SemanticTokensChanged, (e) => this.semanticTokensProvider?.invalidateFile(e));
this.languageClient.onNotification(IntelliSenseSetupNotification, (e) => this.logIntellisenseSetupTime(e));
this.languageClient.onNotification(SetTemporaryTextDocumentLanguageNotification, (e) => this.setTemporaryTextDocumentLanguage(e));
setupOutputHandlers();
}
@@ -1984,6 +1992,14 @@ export class DefaultClient implements Client {
}
}
private async setTemporaryTextDocumentLanguage(params: SetTemporaryTextDocumentLanguageParams): Promise<void> {
const languageId: string = params.isC ? "c" : (params.isCuda ? "cuda-cpp" : "cpp");
const document: vscode.TextDocument = await vscode.workspace.openTextDocument(params.path);
if (!!document && document.languageId !== languageId) {
vscode.languages.setTextDocumentLanguage(document, languageId);
}
}
private associations_for_did_change?: Set<string>;
/**
@@ -1656,8 +1656,10 @@ export class CppProperties {
let compilerPathNeedsQuotes: boolean = false;
let compilerMessage: string | undefined;
const compilerPathAndArgs: util.CompilerPathAndArgs = util.extractCompilerPathAndArgs(compilerPath);
// Don't squiggle invalid cl.exe paths because it could be for an older preview build.
if (compilerPathAndArgs.compilerName.toLowerCase() !== "cl.exe" && compilerPathAndArgs.compilerPath !== undefined) {
const compilerLowerCase: string = compilerPathAndArgs.compilerName.toLowerCase();
const isClCompiler: boolean = compilerLowerCase === "cl" || compilerLowerCase === "cl.exe";
// Don't squiggle for invalid cl and cl.exe paths.
if (compilerPathAndArgs.compilerPath && !isClCompiler) {
// Squiggle when the compiler's path has spaces without quotes but args are used.
compilerPathNeedsQuotes = (compilerPathAndArgs.additionalArgs && compilerPathAndArgs.additionalArgs.length > 0)
&& !compilerPath.startsWith('"')
@@ -1676,7 +1678,7 @@ export class CppProperties {
}
const isWSL: boolean = isWindows && compilerPath.startsWith("/");
let compilerPathExists: boolean = true;
if (this.rootUri) {
if (this.rootUri && !isClCompiler) {
const checkPathExists: any = util.checkPathExistsSync(compilerPath, this.rootUri.fsPath + path.sep, isWindows, isWSL, true);
compilerPathExists = checkPathExists.pathExists;
compilerPath = checkPathExists.path;
+4 -1
View File
@@ -229,5 +229,8 @@
"invoking_nvcc": "Invoking nvcc with command line: {0}",
"nvcc_host_compile_command_not_found": "Unable to find host compile command in output of nvcc.",
"unable_to_locate_forced_include": "Unable to locate forced include: {0}",
"inline_macro": "Inline macro"
"inline_macro": {
"text": "Inline macro",
"hint": "'Inline' is a command and not an adjective, i.e. like 'Expand macro'."
}
}