18
15

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

VisualStudioCodeでHaskell開発環境を整える

Last updated at Posted at 2016-05-14

最新情報

Haskell Language Serverを使え

以下古い内容

















VisualStduioCodeでHaskell開発環境を整える

を入れる。

手順

  1. VisualStudioCodeを起動
    1. Ctrl+P でコンソールを出す
    2. ext install vscode-ghc-mod
    3. ext install haskell-linter
    4. ext install language-haskell
    5. File > Preferences > Workspace Settings
    6. .vscode/settings.json に以下のように記述。
      
      {
      "haskell.hlint.executablePath": "/path/to/hlint",
      "haskell.ghcMod.maxNumberOfProblems": 100,
      "haskell.ghcMod.executablePath": "/path/to/ghc-mod",
      "haskell.ghcMod.onHover": "fallback",
      "haskell.ghcMod.check": true,
      "haskell.ghcMod.logLevel": "error"
      }
      

      詳細は以下のページで
  2. ターミナルを起動
    1. stack install hlint
    2. stackでghc-modを使う試行錯誤のメモ - Qiita」「stackとghc-modを一緒に使う時の手順 - Qiita」あたりを読む
    3. ライブラリの補完が効かない。わからん

参考

18
15
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
18
15

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?