Skip to content

Latest commit

 

History

History
88 lines (48 loc) · 2.91 KB

File metadata and controls

88 lines (48 loc) · 2.91 KB

Microsoft VSCode and Calva extension

VS Code supports Clojure and ClojureScript development through an extension called Calva. A Clojure REPL is run via Leiningen first, then connected to from VSCode.

VSCode Calva extension for Clojure development

Install VS Code

{% tabs first="Debian/Ubuntu", second="MacOSX", third="RedHat", forth="Windows" %}

{% content "first" %} Download the .deb file

Open (double click) the file. The Ubuntu software studio will open. Click the Install button.

VSCode Install on Ubuntu

Enter your password when prompted to install the software.

Close the Ubuntu Software app once the install has finished.

Reference: VSCode on Linux

Running VSCode

To run VSCode, press the Super key and type code, or open a terminal and type the command code.

{% content "second" %}

Download the .zip file

Double-click on the downloaded archive to expand the contents.

Drag Visual Studio Code.app to the Applications folder, making it available in the Launchpad.

Add VS Code to your Dock by right-clicking on the icon and choosing Options, Keep in Dock.

Reference: VSCode on MacOSX

Running VSCode

Launch VSCode from the Dock, or in a command line terminal, type code.

{% content "third" %} Download the .rpm file

Open (double click) the file. The Ubuntu software studio will open. Click the Install button.

Running VSCode

To run VSCode, press the Super key and type code, or open a terminal and type the command code.

Reference: VSCode on Linux

{% content "forth" %}

Download the Windows Installer

Run the installer which should have a name similar to VSCodeUserSetup-{version}.exe.

VS Code is installed under C:\users\{username}\AppData\Local\Programs\Microsoft VS Code.

Reference: VSCode on Windows

Running VSCode

Open the Start menu and type code. Click on the VSCode icon to start.

{% endtabs %}

Install Calva extension

Launch VS Code Quick Open, Ctrl+P, paste the following command, and press enter.

ext install cospaia.clojure4vscode

Reference: VSCode Extension Marketplace