Security Journey provides supports source code editing in an in-browser version of the Visual Studio Code (VS Code) editor for a select number of coding challenges.
Learners are able to utilize most of VS Code's built-in features to aid in development. This includes features such as:
Find & replace
There are, however, a few features which are limited or are otherwise unavailable for use due to sandbox constraints or for security. These limitations are as follows:
User-level preferences cannot be modified; only Machine or Workspace preferences are editable.
Any preferences that are modified do not get persisted across sandboxes.
If the user resets the sandbox or loads a new sandbox, the settings will change back to their default values.
Files need to be manually saved after editing.
This can be done either by select File -> Save/Save All or by using the keyboard shortcuts:
Mac: ⌘ + S (save current file) or ⌘ + ⌥ + S (save all)
Windows: CTRL + S (save current file)
Note: The application will automatically attempt a rebuild after the code is saved.
The built-in debugging functionality is not available for use.
For a more in-depth guide to VS Code, please see Microsoft's official documentation here: https://code.visualstudio.com/docs