Skip to content

Commit 1e4f868

Browse files
went through some of the first lines again
1 parent fddcd26 commit 1e4f868

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,22 +14,22 @@ Let's go ahead and open from the application menu bar at the top `File->New Wind
1414
- Select the newly opened window and do `File->Open... (⌘O)` and navigate to the directory which holds the files you wish to debug.
1515
>Tip: Use ⌘↑ to navigate to the parent directory.
1616
17-
- In the Explorer view project directory should appear as the root of the Workspace. This is crucial so that later in the .json files we can call this as \${workspaceFolder}.
17+
- In the Explorer view project directory should appear as the root of the Workspace. This is important so that later in the .json files we can call this as \${workspaceFolder}.
1818

19-
- Open the .c file you wish to debug.
19+
- Open the .c file you wish to debug. `main.c` in case of this repo.
2020

2121
- Choose from the top-bar application menu `Terminal -> Run Build Task (⇧⌘B)`.
2222

23-
- From the list of detected tasks select the cogwheel from the right hand side of the first task `(C/C++: clang build active file, compiler: /usr/bin/clang)`.
23+
- From the popped up list of detected tasks select the cogwheel from the right hand side of the task named`(C/C++: clang build active file, compiler: /usr/bin/clang)`.
2424

25-
- Inside .vscode directory `tasks.json` file should appear with a preconfigured setup.
25+
- Inside .vscode directory (should be inside root of our repo)`tasks.json` file should appear with a preconfigured setup.
2626
**This is one of the two crucial files in debugging with Visual Studio Code. Another one being launch.json**
2727

2828
> Tip: Hover your mouse over the variables for clarifying mouseover texts.
2929

30-
From the file we can notice the `label` for the task; `command` to run, which is our compiler: clang; and the `arguments` to our command.
30+
From the file we can notice the `label` for the task; `command` to run, specifying our compiler: clang; and the `args` list.
3131

32-
- Inside the arguments list we specify our compilation flags and arguments, each divided into a different pair of double quotes whenever our original command would require a whitespace. Observe from the code below.
32+
- Inside the arguments list we specify compilation flags and arguments, enclosed in double quotes and separated by commas and, for the sake of readibility, newlines.
3333

3434
> Tip: Use Control+Spacebar for IntelliSense to see all contextually proper variable names. Navigate your cursor with arrow keys to change context and select an item from the list.
3535

0 commit comments

Comments
 (0)