Skip to content

Installation/Update

We have these three components to install:

  • Wollok-CLI (the language interpreter)
  • IDE (Visual Studio Code)
  • Extensions (developed for VSCode)

The language interpreter is Wollok-CLI (Command Line Interface). It is the executable that runs Wollok programs. There are two ways to install it:

  • Via Node (recommended for personal computers)

The recommended Integrated Development Environment (IDE) is Visual Studio Code (VSCode), as it has extensions that make learning to program with Wollok more enjoyable. However, the source code is simply text and can be edited with any editor.

Install VSCode.

These instructions for installing and configuring Wollok extensions for VSC are independent of your machine’s operating system.

  1. Open VSCode

  2. Install the extensions wollok-lsp-ide and wollok-highlight available in the links or directly from the VSCode Marketplace. The order in which you install the extensions doesn’t matter.

You can go to the Extensions tab, search for ‘wollok’ and install them as shown in this image:

Download VSCode Wollok Extensions

  1. If everything went well, you should be able to see both extensions installed in your VSCode:

Check extensions in Visual Studio Code

image
  1. Now you need to configure the extension so it can use Wollok-CLI to run programs.
  • Go to the “settings” tab in VSCode: Ctrl + , or from the menu: Code -> Preferences -> Settings. And search for wollok.

  • The first setting that will appear is to indicate the path where Wollok Command Line Interface (CLI) is located. For this, you need to enter in the field: wollok.

  • There are also other configurations, such as selecting the language in which you want error messages to be displayed.

  • At the end it should look something like this:

Settings

Done!

You should now be able to use VSCode with Wollok.

What’s next?