Outline view and jump-to-definition (within a file) for Clojure code.
To install from a .vsix:
# clone repository
git clone https://github.com/sogaiu/vscode-clojure-defs
cd vscode-clojure-defs
# command line install of extension
visual-studio-code --install-extension clojure-defs-*.vsix
Alternatively, via the VSCode GUI:
- Navigate to Extensions
- Click on the
...
at the top right of the EXTENSIONS area - Choose
Install from VSIX...
and find the .vsix file
To run the extension from source:
# clone repository
git clone https://github.com/sogaiu/vscode-clojure-defs
cd vscode-clojure-defs
# create `node_modules` and populate with dependencies
npm install
# open the root folder in VSCode
visual-studio-code . # or whatever vscode is called on your system
Now run the extension in an Extension Development Host by pressing F5
, or choosing Debug
> Start
View some Clojure code and enjoy the outline view.
Jump-to-definition with F12 might work too.