Skip to main content
Version: 2.28

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..."

File -> 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.

Explorer Showing 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.

Feature File Syntax Highlighting

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.

Explorer Outline

Running Commands

The Cycle Testing extension provides several commands for managing projects and learning more about Cycle.

Activity Bar

All Cycle commands are available through the Cycle Testing activity bar container. To open it, click on the Cycle logo in the activity bar on the left side of the window. The view has three sections:

  1. Projects: commands for creating files and projects
  2. Management: commands for managing Cycle components
  3. Resources: commands for downloading Cycle and learning more

Click on the commands to run them.

Cycle Testing Activity Bar

Command Palette

All Cycle commands are also available 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.

Cycle Commands in the Command Palette

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

Selecting Display Language

note

The display language does not localize CycleScript code. CycleScript steps will remain entirely in English. Changing the display language affects only the VS Code interface (menus, commands, and options).