-
-
Notifications
You must be signed in to change notification settings - Fork 407
Closed
Labels
can-workaroundcomponent: pluginsstatus: blockedNot actionable, because blocked by upstream/GHC etc.Not actionable, because blocked by upstream/GHC etc.type: bugSomething isn't right: doesn't work as intended, documentation is missing/outdated, etc..Something isn't right: doesn't work as intended, documentation is missing/outdated, etc..
Description
Hello,
first of all, thanks a lot for such amazing project, which makes coding Haskell in VSCode fantastic experience!
I'm facing strange behaviour when trying to format code with Brittany. Any other formatter works just fine from VSCode, but when hitting the shortcut for formatting when Brittany is selected, nothing happens, and I'm getting this weird error message in output log:
/Users/runner/.ghcup/ghc/8.8.4/lib/ghc-8.8.4/settings: openFile: does not exist (No such file or directory)
2020-09-18 17:53:20.552435 [ThreadId 25] - Unexpected exception on request, please report!
Message: RequestMessage {_jsonrpc = "2.0", _id = IdInt 74, _method = TextDocumentFormatting, _params = DocumentFormattingParams {_textDocument = TextDocumentIdentifier {_uri = Uri {getUri = "file:///Users/svejcar/Repos/vcs-ignore/src/Data/VCS/Ignore/Repo/Git.hs"}}, _options = FormattingOptions {_tabSize = 2, _insertSpaces = True}, _workDoneToken = Nothing}}
Exception: ExitFailure 1
[Error - 5:53:20 PM] Request textDocument/formatting failed.
Message: ExitFailure 1
Code: -32603
No idea how it get the /Users/runner/
, because that's not my user and such user is not present on my system. Any ideas what could be wrong?
Environment
- macOS 10.15.6
- VSCode 1.49.1
- vscode-haskell 1.1.0
- HLS 0.4.0.0
- GHC 8.8.4
yongrenjie
Metadata
Metadata
Assignees
Labels
can-workaroundcomponent: pluginsstatus: blockedNot actionable, because blocked by upstream/GHC etc.Not actionable, because blocked by upstream/GHC etc.type: bugSomething isn't right: doesn't work as intended, documentation is missing/outdated, etc..Something isn't right: doesn't work as intended, documentation is missing/outdated, etc..