scheme
).#;
only comments out until the first closing bracket. I'd rather have wrong comment syntax highlighting than no indication at all.NAN
s or INF
s.Either
yarn install
and yarn package
in the root directory of the cloned repo.chezScheme.evalLastSexp
):
<Ctrl>+<Enter>
<Control>+<Enter>
(remark: control
not command
!)chezScheme.sendLastSexp
)
<Ctrl>+<Shift>+<Enter>
<Control>+<Shift>+<Enter>
(remark: control
not command
!)chezScheme.expandLastSexp
):
<Alt>+<Enter>
<Option>+<Enter>
Chez Scheme REPL: Start REPL
(chezScheme.startREPL
) - start a Chez Scheme REPL in a terminal pane to the side of the current active window.Chez Scheme REPL: Send selected s-expression to the REPL.
(chezScheme.sendSelectionToREPL
) - send the current selected s-expression to the REPL. Opens a new REPL window if no REPL is running.Chez Scheme REPL: Send s-expression left of the cursor to the REPL.
(chezScheme.sendLastSexp
) - send the s-expression to the left of the cursor to the REPL. Opens a new REPL window if no REPL is running.Chez Scheme REPL: Send the whole current file to the REPL
(chezScheme.sendFileToREPL
) - send the contents of the currently active source file to the REPL. Opens a new REPL window if no REPL is running.Chez Scheme REPL: Eval the selected s-expression.
(chezScheme.evalSelection
) - evaluate the selected s-expression and print the value inline after the selected s-expression.Chez Scheme REPL: Eval s-expression left of the cursor.
(chezScheme.evalLastSexp
) - evaluate the s-expression to the left of the cursor and print the value inline after this s-expression.Chez Scheme REPL: Remove all evaluated values from the view.
(chezScheme.removeEvalVals
) - remove all evaluated values from the current view.Chez Scheme REPL: Expand all macros in the selected s-expression.
(chezScheme.expandSelection
) - expand all macros in the selected s-expression in the REPL. Opens a new REPL window if no REPL is running.Chez Scheme REPL: Expand all macros in the s-expression left of the cursor.
(chezScheme.expandLastSexp
) - expand all macros in the s-expression to the left of the cursor in the REPL. Opens a new REPL window if no REPL is running.Chez Scheme REPL: Check the current file for errors.
(chezScheme.checkFile
) - check the current file by loading it into the REPL. Errors are shown in the Problems
tab. Called on save of a Chez Scheme file.The following list of extensions is recognized as a Chez Scheme source file:
.ss
.sps
.scm
.sch
.sls
chezScheme.schemePath
- Path to the Chez Scheme executable scheme
. Can be either an absolute path or relative to the workspace root. Default: scheme
, which works if scheme
is in your PATH
.chezScheme.replDelay
- The delay in milliseconds ms
to wait after starting a terminal for the interactive REPL until sending sources to it. Default: 1000ms, 1s.chezScheme.waiterPrompt
- The string to display as an interactive REPL prompt. Default: λ>
.The extension adds the following Scheme specific configuration, which you can change in the settings file:
"[scheme]": {
"editor.insertSpaces": true,
"editor.tabSize": 2,
"editor.indentSize": 2,
"editor.wordSeparators": "`()[];'\","
}
You could also dim the bracket pair colors, but sadly only global for all file types and languages:
"workbench.colorCustomizations": {
"editorBracketHighlight.foreground1": "#0095ff6a",
"editorBracketHighlight.foreground2": "#cc00ff71",
"editorBracketHighlight.foreground3": "#32833877",
"editorBracketHighlight.foreground4": "#ff003768",
"editorBracketHighlight.foreground5": "#6066078e",
"editorBracketHighlight.foreground6": "#ff99008f",
"editorBracketHighlight.unexpectedBracket.foreground": "#ff0000",
},
Editor › Bracket Pair Colorization: Enabled
. "editor.bracketPairColorization.enabled": true,
Editor › Bracket Pair Colorization: Independent Color Pool Per Bracket Type
."editor.bracketPairColorization.independentColorPoolPerBracketType": true,
See file CHANGELOG.md.
See file CONTRIBUTING.md
Chez Scheme REPL for Visual Studio Code is licensed under MIT license. See file LICENSE.
The documentation of the Chez Scheme identifiers is automatically generated from Chez Scheme Version 10 User's Guide. Chez Scheme Version 10 User's Guide is licensed under the Apache License Version 2, see https://cisco.github.io/ChezScheme/csug10.0/canned/copyright.html