Skip to content

Releases: nwolverson/atom-ide-purescript

Grouped completions

11 Jun 16:12
Compare
Choose a tag to compare

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

09 Apr 18:10
Compare
Choose a tag to compare

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

08 Apr 19:45
Compare
Choose a tag to compare

Update to Linter 2.0 API ⚡️

screen shot 2017-04-08 at 20 13 12

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

18 Jul 08:13
Compare
Choose a tag to compare
  • Added Goto-definition support. Available as command (default ctrl-o g) or can be used optionally with hyperclick (psc-ide 0.9.2+ required)

goto-def

  • Restore quick-fix behaviour to not add extra whitespace or incorrect target ranges

v0.14.0

16 Jul 17:51
Compare
Choose a tag to compare
  • 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)

screen shot 2016-07-16 at 18 37 41

v0.7.1

07 Nov 16:27
Compare
Choose a tag to compare

Error with latest atom-linter, was using some wrong config.

v0.7.0

31 Oct 18:20
Compare
Choose a tag to compare

Support for PureScript compiler errors from version 0.7.5 (and dropping support for earlier versions).

v0.6.2

31 Oct 16:23
Compare
Choose a tag to compare

Fix for Atom 1.1

v0.6.1

06 Oct 21:55
Compare
Choose a tag to compare
  • Add module import (Pursuit/local)
  • Diagnostics

v0.6.0

06 Oct 21:54
Compare
Choose a tag to compare
  • PSCI pane
  • Pursuit search