Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ogrecave/language-ogre-script
Syntax highlighting for Ogre Scripts in Atom/ VSCode
https://github.com/ogrecave/language-ogre-script
atom-syntax ogre3d vscode-language
Last synced: 15 days ago
JSON representation
Syntax highlighting for Ogre Scripts in Atom/ VSCode
- Host: GitHub
- URL: https://github.com/ogrecave/language-ogre-script
- Owner: OGRECave
- License: mit
- Created: 2015-02-25T16:24:05.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2024-08-05T23:04:53.000Z (4 months ago)
- Last Synced: 2024-08-06T01:50:14.122Z (4 months ago)
- Topics: atom-syntax, ogre3d, vscode-language
- Language: JavaScript
- Homepage: https://marketplace.visualstudio.com/items?itemName=paroj.language-ogre-script
- Size: 337 KB
- Stars: 10
- Watchers: 5
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Ogre Scripts support
Syntax highlighting for [Ogre Scripts](https://ogrecave.github.io/ogre/api/latest/_scripts.html) in Atom and VSCode.
Based on the [Sublime Plugin](https://github.com/TheSHEEEP/ST-OgreScripts). Extended for particle scripts.
Supports symbol outline and colour picking for .material files on VSCode.
**Ogre1 Materials**
![](https://raw.githubusercontent.com/paroj/language-ogre-script/master/preview1.png)**Ogre2 Materials**
![](https://raw.githubusercontent.com/paroj/language-ogre-script/master/preview2.png)## Structure
* ogre-common: grammar present in all ogre script files
* ogre-material: material specific grammar
* ogre-particle: particle specific grammar
* ogre-compositor: compositor specific grammar
* ogre-overlay: overlay specific grammar
* ogre-fontdef: fontdef specific grammar## TODO
* refactor the plugin to work on tokens. Currently it tries to verify property values, which causes code duplication and does not cope with variables (`$foo`)
* split more of ogre-common into script specific files to reduce false positives