Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-26115

language server working directory is "arbitrary"

    XMLWordPrintable

Details

    • 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

        Activity

          People

            con Eike Ziller
            con Eike Ziller
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes