microsoft / microsoft/vscode-docs

GCC on Linux: Some minor issues

Open
#7,252 4 comments 0 reactions 1 assignee View on GitHub

@AlexandraKemperMS is already working on this.

Since May 6, 2024.

doc-enhancement
Dominant language
Markdown
Stars
6.6k
Forks
5.8k
Avg merge
11h 43m
Merged PRs (30d)
123

Description

https://code.visualstudio.com/docs/cpp/config-linux

From now on, the play button will read from tasks.json to figure out how to build and run your program. You can define multiple build tasks in tasks.json, and whichever task is marked as the default will be used by the play button.

Is the bold incorrect?

Isn't the play button is about launch configurations i.e. launch.json. The current launch configuration contains a preLaunchTask for which task it will run.

Next, you'll create a tasks.json file to tell VS Code how to build (compile) the program. This task will invoke the g++ compiler to create an executable file from the source code.

This line can probably be removed altogether. It mentions tasks.json which has already been described earlier on that page.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.