Getting Started with VS Code
Opening a Cycle Project
To open a Cycle project from VS Code, go to the menu, select "File", and then select "Open Folder..."
In the file selection popup, select the root folder of the Cycle project to open.
Do not select the .cycproj
file or any other individual files.
VS Code opens a project based on the folder containing the project.
Viewing Feature Files
Finding Files
The Explorer pane on the left side of the editor shows all the files and folders in the project. It displays the Cycle logo for feature files.
Opening Files
Double-click on any file to open it. Open feature files have color-coded syntax highlighting similar to the scheme used by the Cycle Desktop IDE.
Viewing Outlines
Once a file is open, the Explorer pane's "Outline" section shows an outline of the feature file. This outline makes it easier to see all the scenarios a feature file contains at a glance.
Running Commands
The Cycle Testing extension exposes several Cycle commands to VS Code through the
Command Palette.
To open the Command Palette, type F1
or Ctrl-Shift-P
in VS Code.
An input box for all available commands will appear at the top-center of the editor.
Enter "Cycle:" into this input box to see all available Cycle commands.
Configuring the Display Language
To set the display languages in VS Code, enter "Configure Display Language" into the Command Palette. Then, select the desired language from the list of options. VS Code provides several language packs, but the Cycle Testing extension provides locales only for the following languages:
- French