-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Enable setting the VS dev environment without running from Dev Command Prompt #13571
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
bobbrow
wants to merge
31
commits into
main
Choose a base branch
from
bobbrow/devEnvironment
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 25 commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
622d67b
WIP - migrate devcmd to cpptools
bobbrow 12f31c1
Update walkthrough and make runAndDebug work
bobbrow afbecf9
localize
bobbrow aefe4cc
rename variable
bobbrow ff1a8fe
Reset translations for string without args to fix gulp task
bobbrow af6374d
delete the strings instead
bobbrow cf58757
add telemetry
bobbrow a6dde1b
add a test for Windows
bobbrow 8075e84
test for linux/mac
bobbrow facd749
Additional walkthrough tuning
bobbrow 76c577e
Merge branch 'bobbrow/devEnvironment' of https://github.com/microsoft…
bobbrow f2b66ad
fix the setting scope
bobbrow 6c97412
telemetry for build and debug
bobbrow 540537a
cleanup in devcmd.ts
bobbrow bf9bb26
one more update to the walkthrough text
bobbrow 80c9d8e
PR feedback
bobbrow 6c43354
Merge branch 'main' into bobbrow/devEnvironment
sean-mcmanus 5281786
Address PR feedback
bobbrow 5c03666
Merge branch 'bobbrow/devEnvironment' of https://github.com/microsoft…
bobbrow 9013124
rename telemetry property
bobbrow 98f430e
PR feedback
bobbrow b68f025
consistency in commands and user-visible text
bobbrow a79eef9
fix environment overriding and some string capitalization
bobbrow 614795b
update the settings wrapper
bobbrow 4482734
update locked string
bobbrow bebdaeb
PR feedback
bobbrow 14ffb78
handle outdated vs environment
bobbrow d8f7b19
Merge branch 'main' into bobbrow/devEnvironment
bobbrow 63be00c
PR feedback
bobbrow c5a1fe5
Merge branch 'main' into bobbrow/devEnvironment
bobbrow b77c31e
Merge branch 'main' into bobbrow/devEnvironment
bobbrow File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,6 +37,8 @@ | |
"c_cpp.command.RemoveAllCodeAnalysisProblems.title": "Clear All Code Analysis Problems", | ||
"c_cpp.command.BuildAndDebugFile.title": "Debug C/C++ File", | ||
"c_cpp.command.BuildAndRunFile.title": "Run C/C++ File", | ||
"c_cpp.command.SetVsDeveloperEnvironment.title": "Set Visual Studio Developer Environment", | ||
"c_cpp.command.ClearVsDeveloperEnvironment.title": "Clear Visual Studio Developer Environment", | ||
"c_cpp.command.AddDebugConfiguration.title": "Add Debug Configuration", | ||
"c_cpp.command.GenerateDoxygenComment.title": "Generate Doxygen Comment", | ||
"c_cpp.command.addSshTarget.title": "Add SSH target", | ||
|
@@ -843,6 +845,7 @@ | |
] | ||
}, | ||
"c_cpp.configuration.debugShortcut.description": "Show the \"Run and Debug\" play button and \"Add Debug Configuration\" gear in the editor title bar for C++ files.", | ||
"c_cpp.configuration.persistVsDeveloperEnvironment.markdownDescription": "Remember the last used Visual Studio developer environment for the current workspace. This setting is only applicable for Windows.", | ||
bobbrow marked this conversation as resolved.
Show resolved
Hide resolved
|
||
"c_cpp.debuggers.pipeTransport.description": "When present, this tells the debugger to connect to a remote computer using another executable as a pipe that will relay standard input/output between VS Code and the MI-enabled debugger backend executable (such as gdb).", | ||
"c_cpp.debuggers.pipeTransport.default.pipeProgram": "enter the fully qualified path for the pipe program name, for example '/usr/bin/ssh'.", | ||
"c_cpp.debuggers.pipeTransport.default.debuggerPath": "The full path to the debugger on the target machine, for example /usr/bin/gdb.", | ||
|
@@ -1003,9 +1006,9 @@ | |
"c_cpp.debuggers.logging.category.warning.description": "Logs that highlight an abnormal or unexpected event in the application flow, but do not otherwise cause the application execution to stop.", | ||
"c_cpp.debuggers.logging.category.error.description": "Logs that highlight when the current flow of execution is stopped due to a failure. These should indicate a failure in the current activity, not an application-wide failure.", | ||
"c_cpp.debuggers.logging.category.none.description": "Not used for writing log messages. Specifies that a logging category should not write any messages.", | ||
"c_cpp.walkthrough.title": "Get Started with C++ Development", | ||
"c_cpp.walkthrough.title": "Get started with C++ development", | ||
"c_cpp.walkthrough.description": "Dive into VS Code's rich C++ development experience.", | ||
"c_cpp.walkthrough.set.up.title": "Set up your C++ Environment", | ||
"c_cpp.walkthrough.set.up.title": "Set up your C++ environment", | ||
"c_cpp.walkthrough.activating.description": "Activating the C++ extension to determine whether your C++ Environment has been set up.\nActivating Extension...", | ||
"c_cpp.walkthrough.no.compilers.windows.description": "We could not find a C++ compiler on your machine, which is required to use the C++ extension. Follow the instructions on the right to install one, then click “Find my new Compiler” below.\n[Find my new Compiler](command:C_Cpp.RescanCompilers?%22walkthrough%22)", | ||
"c_cpp.walkthrough.no.compilers.description": { | ||
|
@@ -1025,15 +1028,15 @@ | |
}, | ||
"c_cpp.walkthrough.create.cpp.file.altText": "Open a C++ file or a folder with a C++ project.", | ||
"c_cpp.walkthrough.command.prompt.title": { | ||
"message": "Launch from the Developer Command Prompt for VS", | ||
"message": "Apply the Visual Studio developer environment", | ||
"comment": [ | ||
"{Locked=\"Developer Command Prompt for VS\"}" | ||
"{Locked=\"Visual Studio\"}" | ||
] | ||
}, | ||
"c_cpp.walkthrough.command.prompt.description": { | ||
"message": "When using the Microsoft Visual Studio C++ compiler, the C++ extension requires you to launch VS Code from the Developer Command Prompt for VS. Follow the instructions on the right to relaunch.\n[Reload Window](command:workbench.action.reloadWindow)", | ||
"message": "When using the Microsoft Visual Studio C++ compiler, the Visual Studio developer environment must be present.\n\nFollow the instructions on the right to relaunch or click the button below.\n[Set Developer Environment](command:C_Cpp.SetVsDeveloperEnvironment?%22walkthrough%22)", | ||
"comment": [ | ||
"{Locked=\"Visual Studio\"} {Locked=\"C++\"} {Locked=\"VS Code\"} {Locked=\"Developer Command Prompt for VS\"} {Locked=\"\\\n[\"} {Locked=\"](command:workbench.action.reloadWindow)\"}" | ||
"{Locked=\"Visual Studio\"} {Locked=\"C++\"} {Locked=\"\\\n[\"} {Locked=\"](command:C_Cpp.SetVsDeveloperEnvironment?%22walkthrough%22)\"}" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
should be
|
||
] | ||
}, | ||
"c_cpp.walkthrough.run.debug.title": "Run and debug your C++ file", | ||
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.