-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Configurable LSP transport * Add changeset (minor) * Fix typo in IPC transport
- Loading branch information
1 parent
869a8c0
commit 5665872
Showing
6 changed files
with
64 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'vscode-graphql': minor | ||
--- | ||
|
||
Make LSP transport configurable (ipc, stdio) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
// this lives in the same monorepo! most errors you see in | ||
// vscode that aren't highlighting or bracket completion | ||
// related are coming from our LSP server | ||
import { startServer } from 'graphql-language-service-server'; | ||
|
||
// The npm scripts are configured to only build this once before | ||
// watching the extension, so please restart the extension debugger for changes! | ||
|
||
async function start() { | ||
try { | ||
await startServer({ method: 'stream' }); | ||
} catch (err) { | ||
// eslint-disable-next-line no-console | ||
console.error(err); | ||
} | ||
} | ||
|
||
void start(); |