mirror of
https://github.com/tcsenpai/scripting-language-factory.git
synced 2025-06-05 18:55:28 +00:00
better readme
This commit is contained in:
parent
06a8b3db6a
commit
3f985aa196
12
README.md
12
README.md
@ -102,7 +102,7 @@ Compile your custom language to Python bytecode (.pyc files). The `-k` flag keep
|
|||||||
### Generate VS Code Extension
|
### Generate VS Code Extension
|
||||||
|
|
||||||
```
|
```
|
||||||
python transpiler.py -c my_mapping.json vscode -o my-language-extension
|
python vscode_extension_generator.py path/to/mapping.json -o path/to/extension
|
||||||
```
|
```
|
||||||
|
|
||||||
Generate a VS Code extension for syntax highlighting based on your custom language mapping. This creates all the necessary files for a complete VS Code extension, including:
|
Generate a VS Code extension for syntax highlighting based on your custom language mapping. This creates all the necessary files for a complete VS Code extension, including:
|
||||||
@ -112,11 +112,11 @@ Generate a VS Code extension for syntax highlighting based on your custom langua
|
|||||||
- Package manifest with language metadata
|
- Package manifest with language metadata
|
||||||
|
|
||||||
To install the extension:
|
To install the extension:
|
||||||
1. Copy the generated folder to your VS Code extensions directory:
|
1. Open the command palette (Ctrl+Shift+P or Cmd+Shift+P on macOS)
|
||||||
- Windows: `%USERPROFILE%\.vscode\extensions`
|
2. Select "Developer: Install Extension from Location"
|
||||||
- macOS/Linux: `~/.vscode/extensions`
|
3. Choose the extension folder `my-language-extension` directory
|
||||||
2. Restart VS Code
|
4. Restart VS Code
|
||||||
3. Open a file with your language's extension to see the highlighting in action
|
5. Open a file with your language's extension to see the highlighting in action
|
||||||
|
|
||||||
NOTE: Advanced auto-completion is not yet supported, but basic auto-completion is available.
|
NOTE: Advanced auto-completion is not yet supported, but basic auto-completion is available.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user