Skip to content

funatsufumiya/vscode-cakelisp

Repository files navigation

Cakelisp language support for Visual Studio Code (Unofficial)

marketplace-badge

Unofficial syntax highlighting support for Cakelisp in Visual Studio Code.

Screenshots

screenshot

Features

  • Syntax highlighting

Install from Marketplace

https://marketplace.visualstudio.com/items?itemName=funatsu-fumiya.vscode-cakelisp marketplace-badge

Local install

# First, make sure you have Node.js version 14 or greater installed. 

# Clone the extension.
$ git clone https://github.com/funatsufumiya/vscode-cakelisp.git
$ cd vscode-cakelisp

# Install vscode-cakelisp dependencies.
$ npm install

# Generate the vscode extension (VSIX) file using vsce. 
$ npx vsce package

# Install the extension.
$ code --install-extension vscode-cakelisp-0.0.1.vsix

# Finally reload the vscode window (cmd + shift + P > Developer: Reload Window).

Alternatively you can clone the extension right into vscode's extention directory. This is easier, but can be unreliable as vscode will sometimes clean up the extension directory and remove vscode-cakelisp.

# Clone the extension.
$ cd ~/.vscode/extensions
$ git clone https://github.com/funatsufumiya/vscode-cakelisp.git

# Force vscode to regenerate the extensions.json file.
$ mv extensions.json /tmp/ 

# Finally reload the vscode window (cmd + shift + P > Developer: Reload Window).

# If you're finding that vscode isn't loading the extension, you can force it to
# regenerate the extensions.json file by removing ~/.vscode/extensions/extensions.json.

Debug this extension

  • Run npm install in terminal to install dependencies
  • Run the Run Extension target in the Debug View in VS Code. This will:
    • Start a task npm: watch to compile the code
    • Run the extension in a new VS Code window

Limitations (How to customize)

To customize keywords, such as macros or function names of C/C++, recommend local installation modifying syntaxes/cakelisp.tmLanguage.json.

Acknowledgements

This repository was created as a fork from janet-lang/vscode-janet at commit 0225a87.

About

Cakelisp language support for Visual Studio Code (Unofficial)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published