Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/patopesto/sublime-text-cuelang-syntax
Sublime Text 4 syntax highlighting for CUE
https://github.com/patopesto/sublime-text-cuelang-syntax
cue cuelang sublime sublime-text syntax-highlighting
Last synced: 5 days ago
JSON representation
Sublime Text 4 syntax highlighting for CUE
- Host: GitHub
- URL: https://github.com/patopesto/sublime-text-cuelang-syntax
- Owner: patopesto
- License: mit
- Created: 2024-02-24T18:17:26.000Z (9 months ago)
- Default Branch: master
- Last Pushed: 2024-04-13T03:39:01.000Z (7 months ago)
- Last Synced: 2024-04-13T16:44:54.524Z (7 months ago)
- Topics: cue, cuelang, sublime, sublime-text, syntax-highlighting
- Language: CUE
- Homepage:
- Size: 13.7 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Cuelang syntax
Sublime Text 4 syntax hightling package for [CUE](https://cuelang.org/).
File extension: `.cue`## Usage
Once installed, the `CUE` syntax will be available in the list of file.
## Installation
### Using Package Control
If you have [Package Control](https://packagecontrol.io/installation) installed: `Command Palette` → `Install Package` → `PIO`
### Manually
Clone this repository in your local packages folder.
If you are unsure as to where your local packages directory is, please consult the [docs](https://docs.sublimetext.io/guide/getting-started/basic-concepts.html#the-data-directory).Example (on MacOS):
```shell
cd ~/Library/Application\ Support/Sublime\ Text/Packages
git clone [email protected]:patopest/sublime-text-cuelang-syntax.git "Cuelang Syntax"
```## Development
- Clone the repository in your local packages.
- Make edits to the `.sublime-syntax` files, the syntax reloads on save.### Tests
- Any file with the names starting with `syntax_test_` can be used as a test.
- Open the file and run `Tools > Build` (or `CMD`+`B` on macOS).Sublime's docs about test files: [here](https://www.sublimetext.com/docs/syntax.html#testing)
### Useful documentation:
- [CUE](https://cuelang.org/)
- [CUE language specification](https://cuelang.org/docs/references/spec/)
- [Sublime Syntax Definitions](https://www.sublimetext.com/docs/syntax.html#testing)
- [Sublime Syntax Scopes](https://www.sublimetext.com/docs/scope_naming.html#)
- [Sublime Community Docs](https://docs.sublimetext.io/guide/extensibility/syntaxdefs.html)