vscode-pharo
A Pharo client extension for VSCode.
Supported files
This extension support .st files and .class.st files (tonel format)
Features
We present here the existing features
Generic feature
- Code highlighting

Supported Language Server feature
- Code formatting

- Hover

- Auto-completion

- Help with method signature

Debug Adapter Protocol feature
- Break on halt
- Show the stack
- Show the variables
- Add watch

- Step, step in, step out

Additional feature
The additional feature can be access using the command palette of VSCode
- Save the Pharo image
- Execute and show the result

- Execute and print the result

- Keep variable state

- Show the current server version

- Saving a tonel file in VSCode, save the corresponding methods/class in the Pharo image
Installation
To install the extension:
- Install VSCode
- Install the Pharo extension
- Download a Pharo Language Server image or install the server in a pre-existing image
- Download a VM (headless or not) for the image
- Set up the Pharo extension property
- pharo.pathToVM: is the path to the VM executable
- Windows:
C:\path\to\pharo.exe
- Linux:
/path/to/pharo
- MacOS:
/path/to/Pharo.app/Contents/MacOS/Pharo
- pharo.pathToImage: is the absolute path to the image
Thanks
This extension is inspired from the one of Leonardo Nascimento for smalltalk.
Thanks a lot Leonardo!
| |