noxifoxi
noxifoxi
DDeno
Created by noxifoxi on 8/28/2023 in #help
Deno language server stops working in VS Code
It seems like LSP works properly now: in .vscode/settings.json I use "deno.enablePaths": [ "src" ] in deno.json I use "exclude": [ "static/" ] (this seems to be the resolving line) I don't get shown by VS Code when I edit files in src/ that this is a deno environment (because of deno.enablePaths), but I get full code suggestions by LSP.
52 replies
DDeno
Created by noxifoxi on 8/28/2023 in #help
Deno language server stops working in VS Code
yes, the static folder contains static files, like html, javascript, css and images
52 replies
DDeno
Created by noxifoxi on 8/28/2023 in #help
Deno language server stops working in VS Code
/deno.json:
{
"tasks": {
"dev": "export DEV=DEV && deno run -A --watch src/main.ts",
"start": "deno run -A --watch src/main.ts"
},
"exclude": [ "static/" ]
}
{
"tasks": {
"dev": "export DEV=DEV && deno run -A --watch src/main.ts",
"start": "deno run -A --watch src/main.ts"
},
"exclude": [ "static/" ]
}
52 replies
DDeno
Created by noxifoxi on 8/28/2023 in #help
Deno language server stops working in VS Code
No description
52 replies
DDeno
Created by noxifoxi on 8/28/2023 in #help
Deno language server stops working in VS Code
No description
52 replies
DDeno
Created by noxifoxi on 8/28/2023 in #help
Deno language server stops working in VS Code
oh ok, the manual doesn't mention anything about that
52 replies
DDeno
Created by noxifoxi on 8/28/2023 in #help
Deno language server stops working in VS Code
52 replies
DDeno
Created by noxifoxi on 8/28/2023 in #help
Deno language server stops working in VS Code
This might be a workaround: https://discord.com/channels/684898665143206084/684898665151594506/1147037300417638431 but should not be a permanent solution…
52 replies
DDeno
Created by noxifoxi on 8/28/2023 in #help
Deno language server stops working in VS Code
so far nothing has changed, the Language Server stops working after a few minutes. gonna code more later today and test it.
52 replies
DDeno
Created by noxifoxi on 8/28/2023 in #help
Deno language server stops working in VS Code
No description
52 replies
DDeno
Created by noxifoxi on 8/28/2023 in #help
Deno language server stops working in VS Code
No description
52 replies
DDeno
Created by noxifoxi on 8/28/2023 in #help
Deno language server stops working in VS Code
LS broken again and throws random errors at me (which a VS code restart fixes, temporarily) hobbHands
52 replies
DDeno
Created by noxifoxi on 8/28/2023 in #help
Deno language server stops working in VS Code
ok, here we go again:
client asked to cancel request 449, but no such pending request exists, ignoring
successfully cancelled request with ID: 468
Unable to send result to client.
client asked to cancel request 449, but no such pending request exists, ignoring
successfully cancelled request with ID: 468
Unable to send result to client.
52 replies
DDeno
Created by noxifoxi on 8/28/2023 in #help
Deno language server stops working in VS Code
but one thing I just did was deleting the deno.lock file, now it's no longer complaining 🤔
52 replies
DDeno
Created by noxifoxi on 8/28/2023 in #help
Deno language server stops working in VS Code
(don't mind the path change, it's exactly the same folder just one level deeper)
52 replies
DDeno
Created by noxifoxi on 8/28/2023 in #help
Deno language server stops working in VS Code
Starting Deno language server...
version: 1.36.3 (release, x86_64-unknown-linux-gnu)
executable: /home/nox/.deno/bin/deno
Connected to "Visual Studio Code" 1.81.1
Auto-resolved configuration file: "file:///home/nox/dev/bingobrawlers.new/deno.json"
Resolved lock file: "file:///home/nox/dev/bingobrawlers.new/deno.lock"
Enabling import suggestions for: https://deno.land
Server ready.
Starting Deno language server...
version: 1.36.3 (release, x86_64-unknown-linux-gnu)
executable: /home/nox/.deno/bin/deno
Connected to "Visual Studio Code" 1.81.1
Auto-resolved configuration file: "file:///home/nox/dev/bingobrawlers.new/deno.json"
Resolved lock file: "file:///home/nox/dev/bingobrawlers.new/deno.lock"
Enabling import suggestions for: https://deno.land
Server ready.
52 replies
DDeno
Created by noxifoxi on 8/28/2023 in #help
Deno language server stops working in VS Code
it isn't saying that anymore 🤷‍♀️
52 replies
DDeno
Created by noxifoxi on 8/28/2023 in #help
Deno language server stops working in VS Code
and then it stops working
52 replies
DDeno
Created by noxifoxi on 8/28/2023 in #help
Deno language server stops working in VS Code
it works, for 10 minutes
52 replies
DDeno
Created by noxifoxi on 8/28/2023 in #help
Deno language server stops working in VS Code
+ deno.json/.lock
52 replies