A Visual Studio Code extension to add support for the extended version of the WHILE programming language as described in Limits of Computation: From a Programming Perspective - Bernhard Reus. It applies to files with the .while extension.
It includes HWhile integration and compatibility with whilers syntax.
This extension was designed as an alternative to the while-syntax VS Code extension.
Adds a grammar for syntax highlighting of all extended while features with VS Code's built-in themes.
Adds integrations for running HWhile from within VSCode. A path to HWhile needs to be specified in the extension settings for it to work.
Includes a debug adaptor for HWhile's interactive mode. This allows for stepping, breakpoints, and variable state inspection.
The program input, printmode (output type), file to use, and hwhile interpreter to use can be configured in
launch.json.
Adds error highlighting for WHILE programs using HWhile's unparser mode. This can be disabled in the extension settings.

Includes a task for running programs through HWhile more conveniently. It is accessible from the Terminal > Run Task... dialog, the while-language-support.runOpenFileHWhile command, or the play button in the top right of WHILE files.
The program input, printmode (output type), file to use, and hwhile interpreter to use can be configured in tasks.json.
Adds completions for WHILE language features, detected variables and macros.

Includes several common code snippets including:
- Program definition
- while loops
- if and if-else statements
- switch statements
- macro calls
A custom icon for more easily identifying .while files.
A VS Code language configuration for bracket auto-closing, auto-indentation, comment toggling and folding.
Some features of this extension require HWhile. To set it up please download HWhile and set the path to it in the extension settings. If HWhile is located in your system's PATH then set HWhile as the path in settings.
This extension includes the following settings:
hwhile.executablePath: The path to where the HWhile interpreter is located.hwhile.printmode: What printmode to use for HWhile if none is provided inlaunch.jsonortasks.json.hwhile.promptIfMissing: Whether to prompt you to add a path to the HWhile interpreter on startup.hwhile.validation: Whether to use HWhile's unparser mode for validation.while.maxParseSize: The maximum size for a file to be parsed for completions.
Initial release of WHILE Language Support.

