haskell/haskell-ide-engine

More documentation for Sublime

Open

#870 geöffnet am 11. Okt. 2018

Auf GitHub ansehen
 (3 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Haskell (205 Forks)batch import
component: documentationeditor: sublimegardening đŸŒ±good first issuehelp wanted

Repository-Metriken

Stars
 (2.358 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

Some issues I encountered:

Where settings have to go

Answer: Into the Sublime LSP settings, like this:

// Settings in here override those in "LSP/LSP.sublime-settings",

{
  "clients": {
    "haskell-ide-engine": {
      "command": ["hie"],
      "scopes": ["source.haskell"],
      "syntaxes": ["Packages/Haskell/Haskell.sublime-syntax"],
      "languageId": "haskell",
      "settings": {
        "languageServerHaskell": {
            "hlintOn": false,
            // "maxNumberOfProblems": Number
        },
      },
    },
  },
  // "log_debug": true,
}

When settings seem to have no effect

Apparently currently you have to fully restart Sublime for Sublime's LSP plugin to notice changes in configuration; using the command to restart the LSP server isn't enough.

(It is worth saying that in the docs because most other Sublime settings apply immediately without need for a restart.)

Contributor Guide