Skip to content
This repository has been archived by the owner on Sep 28, 2020. It is now read-only.

Haskell language support for Atom, powered by ghcide.

License

Notifications You must be signed in to change notification settings

moodmosaic/ide-haskell-ghcide

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Haskell language support for Atom, powered by ghcide. (Archived repository.)

$ 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%;
}

About

Haskell language support for Atom, powered by ghcide.

Resources

License

Stars

Watchers

Forks

Packages

No packages published