LissyStructural editing for Fennel. Heavily inspired by the Emacs package lispy. Have a look at its README for an overview of theoretically possible commands, of which most are not (yet) implemented here. And those that are behave slightly differently. Have fun! StatusExperimental. Currently, This extension does not add Fennel language support.
Another extension is required! For example Most of the heavy lifting is done by tree-sitter with a simple s-expression grammar for Fennel. The simple grammar wont provide much detail about the code, but is much more error resistant, than a complete Fennel grammar. Only worry about unterminated strings. Command referenceI am too lazy to list all commands here. And would probably forget to update this list anyway. Please have a look at the source code instead: https://codeberg.org/adjuvant/vscode-lissy/src/branch/main/src/keymap.ts You can read more about how the commands should behave in the Lispy function reference: http://oremacs.com/lispy/ Warning: VSCode 'type' commandThis extension registers the special TODO: Do not register ConfigurationTwo keymaps:
For example: To remove the default mapping of
You can also bind To deactivate the default mappings, set Known problems
Differences to lispy
TODO
DevelopmentStart the "Run Extension" task in vscode (F5) The Installation
SourceThe source code of this extension is available at https://codeberg.org/adjuvant/vscode-lissy LicenseThe source code of this extension is licensed under the Mozilla Public License Version 2.0. See file LICENSE. See
|