Skip to content
ivojawer edited this page Mar 19, 2023 · 19 revisions

Welcome!

Welcome to the tour of the Wollok LSP IDE's features.

Execute Wollok

You can execute Wollok code using Wollok-CLI.

Play with objects in the REPL

Before anything, maybe you want to play with some objects.

Commands are available from the editor with the shortcut Ctrl + Shift + P o from the menu View -> Commands Palette... You can search by Wollok:

image

You can open a Wollok terminal (or REPL) and evaluate expressions in a session.

Screen.Recording.2023-03-19.at.19.57.16.mp4

For more information see https://github.com/uqbar-project/wollok-ts-cli.

Running Wollok tests

You can run Wollok tests from the Editor.

Single tests

Screen.Recording.2023-03-19.at.19.43.56.mov

Describes

Screen.Recording.2023-03-19.at.19.45.06.mov

File

Screen.Recording.2023-03-19.at.19.45.43.mov

All tests in the project

Screen.Recording.2023-03-19.at.19.51.28.mov

Running Wollok programs

IDE

Validations

All validations are visible in the text editor and the Problems panel.

image

Navigation

Different ways of navigating code

  • Document symbols, which can be navigated by
    • Triggering the document symbol search (Ctrl+Shift+O)

    • Navigating the document outline Ctrol+Shift+P + 'View: Focus on Outline view'. More on outline view here image

    • Navigating the symbol tree

  • Workspace symbols (triggered by Ctrl+T)
  • Go to definition: Ctrl+Click on any symbol will take you to its definition or list all the places where it was defined

Overview

overview_navegacion.mp4
Clone this wiki locally