A simple Visual Studio Code extension for the programming language Rosemary, located here.
Install me by clicking here!
Support for the browser on vscode.dev
Partial support is on the browser counterpart of VS Code. This includes:
- Syntax highlighting
- Partial IntelliSense in open files
Don't always expect to get the latest features with the web release, however.
This extension has simple syntax highlighting, with the following:
- Keywords, such as
- Constants, such as
- Commands, such as
- Brackets are automatically completed
- List of keywords and commands
(Errors shown using the Error Lens extension on VSC.)
Basic linting with more to come.
type = without an identifier
- Commands such as
extern without a value
elif statement without condition
elif statement without brackets
- Semantic highlighting (functions)
- Variable highlighting implemented without semantic highlighting
- Function highlighting needed
- More to come
- ~~Linting (error checking)~~ (partially implemented)
return outside of a function
elif without an
- Undefined functions
- Embed C support in
- Rosemary code snippets (maybe in a different extension)!
To use Semantic highlighting in VSCode, turn it on in your Settings by searching
semantic and turning Semantic Highlighting to
Sometimes IntelliSense is a bit slow to start, working on optimizing it as a low priority job
If you see two of each keyword in the completion list, restart! I don't know why it happens
I can't see the highlighting!
That's not my fault. Try a different theme (Dark+ is a good one) and go into your settings.
There is no highlighting on functions/random thing!
Please, please only make an issue if it's a Rosemary keyword/command that has not been added to the extension within a fortnight of being added to Rosemary. I have to juggle around my time too!
This extension uses the Semantic Versioning System, which goes like this: MAJOR.MINOR.HOTFIX
- Add highlighting of functions.
- Fix a server communication error.
- Bundle is now a smaller size for performance.
- Fix comments being # to //.
- Fix func printn() returning an error.
Fix a few major bugs I made in 1.0.0.
For now, removing the 'variable without type' errors.
Also use esbuild for bundling the extension for performance.
(Variable highlighting has also been implemented)
New major update
- Added linting.
- Also restructured the extension so that IntelliSense and linting are now inside a LSP.
Full browser support has been implemented. Try it out at vscode.dev.
Add experimental browser support at vscode.dev.
Fix a small mistake I made in
First release of the extension.
Features include basic IntelliSense and syntax highlighting. More to come!