Skip to content
Haskell language support for Atom, powered by ghcide.
JavaScript
Branch: master
Clone or download
Latest commit 9f1af4a Jan 23, 2020

README.md

Haskell language support for Atom, powered by ghcide.

$ apm install language-haskell atom-ide-ui ide-haskell-ghcide

Features

The idea is that if or when ghcide exports a feature, and that feature is supported by the Language Server Protocol support for Atom, it should work without having to release a new version of this Atom package.

Display type and source module of values

Display type and source module of values (and pin them also)

Display error messages (parse errors, typecheck errors, etc.) and enabled warnings

Replace suggested typos for values and module imports

Style Tweaks

If you want to apply styling changes, you can add styles to the styles.less file in your %USERPROFILE%\.atom directory. You can also open this file inside Atom from the File > Stylesheet menu.

Styles used in the screenshots above

.datatip-marked-container {
  font-size: 114%;
  font-family:inherit;
}

.datatip-marked-container pre code {
  font-size: 124%;
  font-family: inherit;
}

.datatip-marked-container p {
  word-break: break-all;
}

.datatip-marked-container p br {
  display: none;
}

.diagnostics-code-action-button.btn.btn-xs span {
  font-size: 124%;
}

.diagnostics-popup {
  overflow-y: auto;

  .diagnostics-popup-header {
    margin-right: 10px;
    display: inline-block;
  }

  .diagnostics-popup-message {
    display: inline-block;
    font-size: 114%;
  }
}

.diagnostics-ui {
  font-size: 104%;
}
You can’t perform that action at this time.