ide-purescript package for VS Code
This package provides editor support for PureScript projects in Visual Studio Code, similar to the corresponding atom plugin. Now based on a common PureScript language server! Basic syntax highlighting support is provided by the separate package language-purescript which should be installed automatically as a dependency.
This package provides:
Package should trigger on opening a
Installation and General Use
This package makes use of the
This package will launch a
Multi-root workspaces should be supported via a multiple language server approach.
For all functions provided by the IDE server you will need to build your project first!
The extension language-purescript
is required but should be installed automatically. The package will start on opening a
The only key binding supplied out of the box is Shift+Ctrl+B (or Shift+Cmd+B) for the full "Build" command. Although this is only enabled inside PureScript-language text editors, it does conflict with the built-in Build command. This can be edited, and other keybinds added, in the VS Code Keyboard Shortcuts preferences.
'PureScript Build' command will build your project using the command line
Alternative build commands can be used by setting
Error suggestions are provided for some compiler errors, try alt/cmd and
Completions will be sourced from modules imported in the current file.
Hovering over an identifier will show a tooltip with its type.
This is really stupid, and only cares that you hover over a word regardless of context, you will get some false positives (eg doesn't see local definitions, just the globals that should be visible in a given module).
Hovering over a qualifier of a qualified identifier will show the associated module name.
Commands "Search Pursuit" and "Search Pursuit Modules" are available to search for identifiers or modules/packages on Pursuit.
No particular support. Suggest you open a PSCI in the integrated terminal.