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
- Open Visual Studio Code.
- Open the Extensions view by clicking on the square icon in the Activity Bar on the side of VS Code or by pressing
Ctrl+Shift+X
(Windows, Linux) or 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 automatically activated when you open a file with a
.pnk
or .🥞
extension.
Alternatively, you can clone this repository and copy into your local .vscode/extensions
:
git clone https://github.com/JunmingZhao42/pancake-vscode-highlight.git
cp -r pancake-vscode-highlight $HOME/.vscode/extensions/
- Reload VScode
Alernatively, you can open the VSCode Extensions tab, click on the "..." and then "Install from VSIX". Choose the pancake-syntax-<version>.vsix
file from this repository.
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!