highlights
Nov 22, 2022

The Unison VS Code extension includes auto-startup of the UCM

Rebecca Mark

We'd like to highlight a community contributed tooling improvement for VS Code users. Huge thank you to Tavish Pegram for adding this functionality! Previously, the Unison VS Code extension would alert you that there was no UCM instance running when you opened a directory with Unison scratch files. But since it's likely that you're opening.usuffixed files to write Unison code, now you can configure VS Code to start an instance of the UCM in the VS Code terminal.

By default, the VS Code extension will open the codebase in your home directory by callingucm,but if you have located your codebase somewhere else, you can change it by going to "Preferences > Settings > Extensions > Unison" in VS Code, and then changing the setting called "UCM command".

configuration for Unison vs code settings

You can disable the auto-startup with the "Automatically Open UCM" flag, also configurable in the extension settings.