Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/janet-lang/vscode-janet
Janet language support for Visual Studio Code
https://github.com/janet-lang/vscode-janet
Last synced: 3 months ago
JSON representation
Janet language support for Visual Studio Code
- Host: GitHub
- URL: https://github.com/janet-lang/vscode-janet
- Owner: janet-lang
- License: mit
- Created: 2019-01-04T19:00:56.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-10-27T21:21:00.000Z (about 1 year ago)
- Last Synced: 2024-05-27T14:49:09.814Z (5 months ago)
- Language: TypeScript
- Size: 92.8 KB
- Stars: 47
- Watchers: 6
- Forks: 13
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-janet - vscode-janet
README
# Janet language support for Visual Studio Code
## Features
- Syntax highlighting
- Eval expression ```alt+e```
- Eval file ```alt+l```## Notes
This extension is not published yet. To install proceed to local install section.
## Local install
```
# First, make sure you have Node.js version 14 or greater installed.# Clone the extension.
git clone https://github.com/janet-lang/vscode-janet.git
cd vscode-janet# Install vscode-janet dependencies.
npm install# Generate the vscode extension (VSIX) file using vsce.
npx vsce package# Install the extension.
code --install-extension vscode-janet-0.0.2.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-janet.
```
# Clone the extension.
cd ~/.vscode/extensions
git clone https://github.com/janet-lang/vscode-janet.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