YLang VS Code Extension
Adds syntax highlighting and basic language support for YLang, a C-based programming language extended with object-oriented features.
Features
- Syntax highlighting for YLang keywords, classes, comments, and strings
- Language configuration for brackets, auto-closing pairs, and line comments (
// )
- Code snippets for common constructs like class definitions
- Lightweight and fast support to improve editing experience
Installation
Install the extension from the Visual Studio Code Marketplace or
- Download the
.vsix package
- In VS Code, open the Extensions sidebar (
Ctrl+Shift+X )
- Click on the
... menu → Install from VSIX...
- Select the downloaded
.vsix file
Usage
- Open or create a file with the
.yc extension
- Enjoy syntax highlighting, bracket matching, and snippets for YLang code
- Use the
class snippet by typing class and pressing Tab to quickly scaffold a class
Example
class MyClass {
int age;
void greet() {
// Say hello
print("Hello, world!");
}
}
| |