commercialhaskell / stack-ide

Stack-based JSON interface to ide-backend
98 stars 23 forks source link

Automatically setup language extensions when starting a cabal session #5

Closed Codas closed 9 years ago

Codas commented 9 years ago

Ide-backend-client currently ignore the cabal fields extensions or default-extensions and does not setup language extensions defined in the cabal file when starting a new cabal session.

With this PR, the necessary flags for the current target are automatically applied directly after session initialization.

chrisdone commented 9 years ago

I'll review this in the morning when I'm back at my desk! On 2 May 2015 16:35, "Arne" notifications@github.com wrote:

Codas wants to merge 1 commit into chrisdone:master from Codas:cabal-extensions:

Ide-backend-client currently ignore the cabal fields extensions or default-extensions and does not setup language extensions defined in the cabal file when starting a new cabal session.

With this PR, the necessary flags for the current target are automatically

applied directly after session initialization.

You can view, comment on, or merge this pull request online at:

https://github.com/chrisdone/ide-backend-client/pull/5 Commit Summary

  • Set GHC language extensions specified in cabal file

File Changes

Patch Links:

— Reply to this email directly or view it on GitHub https://github.com/chrisdone/ide-backend-client/pull/5.

chrisdone commented 9 years ago

Cool, thanks!