# Scheme [Repository URL](https://github.com/absop/Scheme) A Sublime Text 4 plugin for the [Scheme](http://www.r6rs.org/final/r6rs.pdf) language, with the following features: - syntactic code highlighting - code formatting - goto definition For more information about the **Scheme** language, see the r6rs spec: ## Screenshots ![1](images/expression-comment.png) ![2](images/2.png) ![3](images/quasiquote.png) ## Usage ### Syntax Highlighting 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. ```json { "rules": [ { "scope": "meta.comment", "foreground_adjust": "l(- 15%) s(- 30%)", "background": "var(--background)" } ] } ``` ### Code Formatting #### Key bindings | key | Command | Context | | :---------------------: | ------------------ | ------------- | | ctrl+alt+f | Format Scheme Code | source.scheme | #### Before Formatting ![original](images/original.png) #### After Formatting ![formatted](images/formatted.png) #### How to Use Select a region of code (with some expressions in it), and then press down the shortcuts ( ctrl+alt+f ). ### Code Editing In order to get a better Scheme code editor experience, you will need to install another plugin: [RainbowBrackets](https://github.com/absop/RainbowBrackets), it gives you rainbow brackets and the ability to quickly edit brackets.