-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
GCC on Linux: Some minor issues #7252
Comments
Hi @thernstig, thanks for reaching out. In this case, the bold text is correct. The single file playbutton has too modes, a "run" mode and a "debug" mode. For "run", the play button needs to build your code first. This information is provided by |
@AlexandraKemperMS got it, thanks. What confused me was that I confused the play button up there as being similar to the play button inside the "Run and Debug view" here https://code.visualstudio.com/docs/editor/debugging#_run-and-debug-view. They look the same, so I though it was the same. But now I see the play button in a .c or .cpp file is actually something your C/C++ extensions adds specifically. But that means "your" play button uses Aside: I still think vscode-docs/docs/cpp/config-linux.md Line 266 in 0bdf5b0
tasks.json has been done earlier in that document.
|
That's really interesting - you are right, there are two play buttons, which can be confusing. The one on the top right is just for a single file, while the one in the "Run and Debug" view is for your entire project. We need to make this more clear. |
@AlexandraKemperMS Can you follow-up on this issue? |
https://code.visualstudio.com/docs/cpp/config-linux
Is the bold incorrect?
Isn't the play button is about launch configurations i.e.
launch.json
. The current launch configuration contains apreLaunchTask
for which task it will run.This line can probably be removed altogether. It mentions
tasks.json
which has already been described earlier on that page.The text was updated successfully, but these errors were encountered: