Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alanvf/vscode-pascal-magic
High-quality Pascal highlighting for VSCode
https://github.com/alanvf/vscode-pascal-magic
pascal pascal-magic syntax-highlighting vscode
Last synced: about 1 month ago
JSON representation
High-quality Pascal highlighting for VSCode
- Host: GitHub
- URL: https://github.com/alanvf/vscode-pascal-magic
- Owner: ALANVF
- License: mit
- Created: 2020-10-09T21:28:28.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2021-07-18T01:10:54.000Z (over 3 years ago)
- Last Synced: 2023-10-27T01:34:00.537Z (about 1 year ago)
- Topics: pascal, pascal-magic, syntax-highlighting, vscode
- Homepage:
- Size: 108 KB
- Stars: 6
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Pascal magic
High-quality Pascal highlighting made by an actual Pascal programmer
This extension provides snippets and extensive highlighting support for the Pascal programming language.
![screenshot](https://raw.githubusercontent.com/ALANVF/vscode-pascal-magic/master/assets/example.png)
## Contributing
Please edit the [REON](https://github.com/ALANVF/reon) files instead of the JSON files
## Known issues
- Syntax highlighting does NOT like macros
- Preprocessor directives do not play well with semicolons## Not yet implemented / TODO
- `set` constants
- Complex constant expressions (partially done)
- `objcprotocol` declarations
- `objccategory` declarations
- Custom attributes
- Freestanding generic routines
- Need to add support for calls without `specialize`, but this is otherwise finished
- This syntax: `function IEqualityComparer.GetHashCode = GetHashCode2;`
- Highlight type on right-hand side of `is` and `as` expressions
- Highlight generic args in exprs, even if we don't know if it's a type or routine
- Constant expressions in interface IDs should be allowed
- Wtf is a `dispinterface`?
- Side note: dispid also seems to be an attribute that exists
- `cppclass` (idk what it is, but it's definitely a thing)
- Codepage syntax for `string` types
- Better highlighting for preprocessor directives