Details
-
Bug
-
Resolution: Done
-
P2: Important
-
Qt Creator 5.0.0-rc1
-
None
-
940a203d937566f43f6862769da0c322f55fb0e0 (qt-creator/tqtc-qt-creator/6.0)
Description
It probably is a bug in haskell-language-server, but it requires the working directory to be the project directory.
Even though the "Startup behavior" is "Start Server per Project", the working directory is not changed from the default (where Qt Creator was started from the Terminal, or probably ~/ if started through "open", Dock, or Finder on macOS).
haskell-language-server has a "--cwd" option, but there is no sensible variable to set that to (%{ActiveProject:....} is wrong, as is %{CurrentDocument:Project:....}). It would probably generally make sense to have access to the "project" specific macro expander.
Attachments
For Gerrit Dashboard: QTCREATORBUG-26115 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
366883,5 | LSP: Set client working directory to project directory | 5.0 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |