ghcide/exe
Alan Zimmerman 78d4031f7c
Add a custom prefix to command IDs (#500)
* Add a custom prefix to command IDs

A client can run more than one instance of ghcide.  Some clients have a global
command registry, and all commands must be unique in that registry.

So to make the command ids unique, prefix them with the ghcide server process
id, as is done in haskell-ide-engine.

* Use same command naming scheme as in haskell-language-server

To ease interoperability

* Use makeLspCommandId for prefixing commands

This puts all the prefixing logic in one place.

* Add hlint exception for CPP in Development.IDE.Compat

* Bring in Win32 dependency for windows build
2020-04-27 12:59:13 +02:00
..
Arguments.hs Expose an option to control the number of Shake threads (#504) 2020-03-27 10:54:15 +01:00
Main.hs Add a custom prefix to command IDs (#500) 2020-04-27 12:59:13 +02:00
Rules.hs Detect ghc mismatch (#462) 2020-03-24 12:40:21 +01:00
RuleTypes.hs Fix regression in cradle loading logic (#450) 2020-02-26 09:16:17 +01:00
Util.hs Detect ghc mismatch (#462) 2020-03-24 12:40:21 +01:00