A Sublime Text 4 plugin for the Scheme language, with the following features:
- syntactic code highlighting
- code formatting
- goto definition
For more information about the Scheme language, see the r6rs spec: http://www.r6rs.org/final/r6rs.pdf
To distinguish expression commented regions from normal regions, exec the command UI: Customize Color Scheme
, and merge the following code into your customized color scheme.
{
"rules":
[
{
"scope": "meta.comment",
"foreground_adjust": "l(- 15%) s(- 30%)",
"background": "var(--background)"
}
]
}
key | Command | Context |
---|---|---|
ctrl+alt+f | Format Scheme Code | source.scheme |
Select a region of code (with some expressions in it), and then press down the shortcuts ( ctrl+alt+f ).
In order to get a better Scheme code editor experience, you will need to install another plugin: RainbowBrackets, it gives you rainbow brackets and the ability to quickly edit brackets.