Pancake Syntax Highlighting Extension
This VS Code extension provides syntax highlighting for the Pancake programming language.
Features
- Syntax highlighting for Pancake language keywords, functions, variables, and more.
- Support for both light and dark color themes.

Pancake syntax highlighting with a light color theme

Pancake syntax highlighting with a dark color theme
Installation
Method 1: VS Code Marketplace (Recommended)
- Open VS Code extension side tab (
Ctrl+Shift+X
(Windows, Linux) /Cmd+Shift+X
(macOS))
- Search for "Pancake Syntax" in the Extensions view search bar.
- Click the "Install" button for the "Pancake Syntax" extension.
- Once installed, the extension will be work for
.pnk
or .🥞
files.
This way allows you to easily update the extension with changes we make.
Method 2: Install from VSIX File
- Download the `pancake-syntax-.vsix> file from this repository
- Open VS Code extension side tab (
Ctrl+Shift+X
(Windows, Linux) /Cmd+Shift+X
(macOS))
- Click the "..." menu from the right upper corner and select "Install from VSIX..."
- Select the downloaded
.vsix
file.
To create your own VSIX file
- Clone this repository:
git clone https://github.com/JunmingZhao42/pancake-vscode-highlight.git
- Install dependencies:
npm install
- Package the extension:
vsce package
(Optional) For supporting better annotation highlighting, add this to your settings.json
and adjust as needed:
{
"editor.tokenColorCustomizations": {
"textMateRules": [
{ "scope": "meta.specification.block.pancake",
"settings": {
"fontStyle": "italic"
}},
{ "scope": "keyword.annotation.pancake",
"settings": {
"foreground": "#9f4575",
"fontStyle": "bold"
}}
]
}
}
Contributing
If you encounter any issues or have suggestions for improvements, please feel free to open an issue or submit a pull request on the GitHub repository.
Enjoy coding in Pancake with enhanced syntax highlighting!