Releases: nwolverson/atom-ide-purescript
Grouped completions
Various configuration options on completion
- Completion limit (requires purs version 0.11.5)
- Grouped completions (requires purs version 0.11.6)
Completions are grouped to avoid listing each re-export. As often the re-exported version is the desired import (e.g. anything in Prelude and common pattern of re-exporting at the top level module), the follwoing strategies are used for picking the re-export to choose
1. Existing imports
2. User configuration of preferred modules (ordered list)
3. Re-export from a prefix named module (e.g. Foo.Bar.Baz reexported from Foo.Bar) shortest first
4. Original module (if none of the previous rules apply, there are no re-exports, or either grouping
is disabled or compiler version does not support it)
PureScript 0.11
The combined purs
executable is now supported. For the initial transition period this is still optional, configured via the package settings, the default is still to use the old psc-ide-server
. In time this default will be changed then the legacy support will be removed.
Note that the support for the "npm bin folder" lets you run with a mix of old and new-versioned projects.
Linter 2.0
Update to Linter 2.0 API ⚡️
This means fixes are now applied via Linter instead of a homebrew solution, via https://github.com/steelbrain/intentions UI. The existing ide-purescript:show-quick-fixes command now redirects to intentions:show
, and the existing binding should work - but you should update to using intentions directly. You can apply all suggestions via linter-ui-default:apply-all-solutions
Go to definition
- Added Goto-definition support. Available as command (default ctrl-o g) or can be used optionally with hyperclick (psc-ide 0.9.2+ required)
- Restore quick-fix behaviour to not add extra whitespace or incorrect target ranges
v0.14.0
- Use multiple psc-ide-server instances
- Server is started on a random port initially (the global port configuration has been removed)
- Running psc-ide-server port is written to
.psc-ide-port
file - if an existing server is running with port written to this file, it will be used - pscid will soon support this
- New way of initialising PureScript servers & support for multiple projects. 3 ways of working on multiple PureScript projects at once
- Atom window opened for each project
- Single Atom window with multiple directories added
- Atom window opened at directory containing multiple PS projects (eg in one repo)
The psc-ide-server
is started lazily when a .purs
file under the relevant PureScript project is activated (as detected by presence of bower.json
),
and all actions are now actioned on the active file. No matter how many server instances have been
started, restart will quit all of them but only start one for the active file.
- Commands have been renamed for correct namespacing, you may need to update any keybindings
- New keybindings added (see settings menu to disable or copy to rebind)
v0.7.1
Error with latest atom-linter
, was using some wrong config.
v0.7.0
Support for PureScript compiler errors from version 0.7.5 (and dropping support for earlier versions).
v0.6.2
Fix for Atom 1.1
v0.6.1
- Add module import (Pursuit/local)
- Diagnostics
v0.6.0
- PSCI pane
- Pursuit search