diff options
author | Marcus Tillmanns <[email protected]> | 2025-02-24 08:00:59 +0100 |
---|---|---|
committer | Marcus Tillmanns <[email protected]> | 2025-02-24 10:26:38 +0000 |
commit | 357f5657bfc7efcd396feac7e621194c868634b8 (patch) | |
tree | 11de9eea0ee3b2f105e406bbe7d665ff06809836 /src/plugins/copilot | |
parent | ced92090db0d6d144ef90b826a1444a3ee97b1cd (diff) |
Copilot: Add "--stdio" parameter
Its a new requirement from the github copilot
language server.
Fixes: QTCREATORBUG-32536
Change-Id: I41a6d9e550ce60fb514f8ba99084070d511bc504
Reviewed-by: Cristian Adam <[email protected]>
Diffstat (limited to 'src/plugins/copilot')
-rw-r--r-- | src/plugins/copilot/copilotclient.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/copilot/copilotclient.cpp b/src/plugins/copilot/copilotclient.cpp index 441269bb87d..3ed13801c9f 100644 --- a/src/plugins/copilot/copilotclient.cpp +++ b/src/plugins/copilot/copilotclient.cpp @@ -42,7 +42,7 @@ namespace Copilot::Internal { static LanguageClient::BaseClientInterface *clientInterface(const FilePath &nodePath, const FilePath &distPath) { - CommandLine cmd{nodePath, {distPath.toFSPathString()}}; + CommandLine cmd{nodePath, {distPath.toFSPathString(), "--stdio"}}; const auto interface = new LanguageClient::StdIOClientInterface; interface->setCommandLine(cmd); |