@@ -25,7 +25,7 @@ The configurations include different board setups for the C/C++ extension, this
## Building with SBS
The easiest way to build and flash the code is to open the terminal with `cmd + J` and use the build system directly, for example `./sbs -f test-serial` will build the `test-serial` entrypoint and flash it on to the board.
The easiest way to build and flash the code is to open the terminal with `Ctrl + J` ('cmd + j' on Mac) and use the build system directly, for example `./sbs -f test-serial` will build the `test-serial` entrypoint and flash it on to the board.
Another way to do this is thanks to the configuration files mentioned above. VSCode tasks have been prepared to build and flash a project to your board.
...
...
@@ -36,7 +36,7 @@ Also the `st-flash` command is used to flash the executable to the board. You sh
### Commands
By using the VSCode shortcut `cmd+P` a top bar opens. If you write `task` and hit space, the list of all possible commands will show up.\
By using the VSCode shortcut `Ctrl+P` ('cmd + p' on Mac) a top bar opens. If you write `task` and hit space, the list of all possible commands will show up.\
These commands include:
-**BUILD current-entrypoint**: build the entrypoint that has the focus in the VSCode editor, according to the entrypoint configuration specified in `CMakeLists.txt`.
...
...
@@ -49,9 +49,9 @@ These commands include:
### Shortcuts
It can be very useful to know that the keyboard shortcut `cmd+Shift+B` triggers the `BUILD+RUN current-entrypoint` command.
It can be very useful to know that the keyboard shortcut `Ctrl+Shift+B`('cmd + shift + b' on Mac) triggers the `BUILD+RUN current-entrypoint` command.
For what concerns `clang-format` you can use the shortcut `Ctrl+Shift+I` (or `Ctrl+Shift+F` on Windows). It should automatically format your code according to Skyward's `.clang-format` style. If it doesn't, configure the command to use it.\
For what concerns `clang-format` you can use the shortcut `Ctrl+Shift+F` ('shift + option + f' on Mac; note that the first time you will have to choose clang-format as default). It should automatically format your code according to Skyward's `.clang-format` style. If it doesn't, configure the command to use it.\
You can also set it to be executed every time you save a file which is very comfortable.