Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vii1/vscode-div
DIV Games Studio language extension for VSCode
https://github.com/vii1/vscode-div
Last synced: about 23 hours ago
JSON representation
DIV Games Studio language extension for VSCode
- Host: GitHub
- URL: https://github.com/vii1/vscode-div
- Owner: vii1
- Created: 2020-02-09T14:04:11.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-03-26T03:46:21.000Z (over 2 years ago)
- Last Synced: 2024-05-10T07:51:12.974Z (6 months ago)
- Language: TypeScript
- Size: 389 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# DIV support for VSCode
This extension provides language support for DIV Games Studio source files.
Project home: https://github.com/vii1/vscode-div
Install from [Visual Studio Marketplace](https://marketplace.visualstudio.com/items?itemName=vscode-div.div)
## Features
Just syntax highlighting is supported for now.
The only flavor of DIV supported by this extension is **DIV 2**. This means other variants of DIV like BennuGD, Gemix, etc. may be incorrectly highlighted. Support for other flavors of DIV is not planned at the moment.
## Requirements
**IMPORTANT: The parser may fail if you open a file with the wrong encoding.** If you work with a DOS version of DIV, you probably want to default to a DOS codepage when working with .PRG files. For example, if you use codepage 850 (DOS Western Europe), add this to your `settings.json`:
```json
"[div]": {
"files.encoding": "cp850"
},
```You can see a list of available codepages [here](https://docs.microsoft.com/en-us/windows/win32/intl/code-page-identifiers).
You can still [switch encodings](https://code.visualstudio.com/docs/editor/codebasics#_file-encoding-support) on the fly whenever you need.
## Extension Settings
None.
## Known Issues
* `COMPILER_OPTIONS _free_sintax` _(sic)_ is not supported. You shouldn't ever use it, anyway.
* `COMPILER_OPTIONS _case_sensitive` is not supported at the moment.Let me know at https://github.com/vii1/vscode-div/issues if you encounter any issues.
## Release Notes
### Added
- Custom parser powered by [ANTLR4](https://www.antlr.org)
- Symbol navigation supportSee `CHANGELOG.md` for the full history of changes.