Nova

Extensions


Readme

WebHare extension for Nova

Experimental WebHare extension for Nova. This extension provides syntax definitions for HareScript and Witty files and a language client which connects to a WebHare installation.

Features

This extension provides:

  • Syntax highlighting for HareScript and Witty files
  • File diagnostics for HareScript and Witty files and supported XML files
  • Code actions to automatically add missing LOADLIBs and rmove unused LOADLIBs
  • Documentation popups on hover
  • Jump to definition
  • A sidebar which can be used to retrieve stack traces
  • A few clips for inserting common code fragments

Installation

  • Install the dev module in WebHare using wh module get https://gitlab.com/webhare/dev
  • Install the lsp module in WebHare using wh module get https://gitlab.com/webhare/lsp/lsp
  • Install the WebHare extension in Nova

Configuration

The extension can be configured in the extension preferences.

Options

Show Documentation Issues Check the checkbox to show diagnostics for documentation issues.

Show Stack Traces For Workspace Only Check the checkbox to filter out retrieved stack traces that don't reference files within the current workspace. This setting can be overridden in project specific settings.

Language Server Settings

WebHare Language Server Module The webhare-language-server NPM module that is used to connect to a WebHare installation is installed automatically. To use a locally installed module, for example for local development of the module, set this setting to the root directory of the module, i.e. the directory that contains the package.json file.


Changelog

0.1.5 - 2021-05-21

Things that are nice to know

  • Fix double clicking a stack trace error message
  • Fix openFile and getParent implementation based on updated TypeScript types

0.1.4 - 2021-05-12

Things that are nice to know

  • Install webhare-language-server module locally instead of relying on a globally available webhare-language-server
  • Add support for XML file diagnostics for supported files
  • Syntax highlighting improvements
  • Add option to enable/disabled documentation diagnostics

0.1.0 - 2021-04-22

Initial release

Things that are nice to know

  • HareScript and Witty syntax highlighting
  • HareScript and Witty file diagnostics
  • Show stack trace in sidebar
  • Add some HareScript and XML code clips