lukeed
lukeed
DDeno
Created by micuseym on 10/16/2024 in #help
Is there a way to use tsserver instead of deno lsp in VSCode?
9 replies
DDeno
Created by micuseym on 10/16/2024 in #help
Is there a way to use tsserver instead of deno lsp in VSCode?
i think fighting the lsp is costing me more time than the rest of the tool chain is saving me :/
9 replies
DDeno
Created by micuseym on 10/16/2024 in #help
Is there a way to use tsserver instead of deno lsp in VSCode?
i love the deno tool chain, but this is routinely the only pain point where i'll likely continue w/o the vscode extension and use less of deno
9 replies
DDeno
Created by micuseym on 10/16/2024 in #help
Is there a way to use tsserver instead of deno lsp in VSCode?
in other words, today Deno has ts 5.6.2 whereas 5.7.4 is the latest version of typescript, which doesnt only mean new TS features... things like narrowing/inference change or improve
9 replies
DDeno
Created by micuseym on 10/16/2024 in #help
Is there a way to use tsserver instead of deno lsp in VSCode?
and, at best, w.o any LSP issues, ive had a number of times where a fully working Deno project produces / allows types that fail in more recent versions of tsc than what Deno has baked in
9 replies
DDeno
Created by micuseym on 10/16/2024 in #help
Is there a way to use tsserver instead of deno lsp in VSCode?
personally, i experience LSP issues alllll the time (slowness, stops randomly, broken syntax state/tree, etc)
9 replies
DDeno
Created by micuseym on 10/16/2024 in #help
Is there a way to use tsserver instead of deno lsp in VSCode?
i keep coming back to this idea. i hate to say it but i think it should be considered as a viable way forward... not the default, but paved as a secondary happy path
9 replies
DDeno
Created by lukeed on 5/8/2024 in #help
deno w/ svelte kit
its issues during development & specifically w/ deno's LSP. it doesnt understand all the type aliases and stuff that SK is generating behind the scenes
9 replies
DDeno
Created by lukeed on 5/8/2024 in #help
deno w/ svelte kit
no, build is fine actually as long as youre not using prerendering. thats when SK needs the module cache
9 replies
DDeno
Created by lukeed on 5/8/2024 in #help
deno w/ svelte kit
additionally, SK's internal aliases (eg, $app/... and $env/...) arent picked up
9 replies
DDeno
Created by lukeed on 5/8/2024 in #help
deno w/ svelte kit
this is the error given, for example:
Unable to load a local module: file:///Users/lukeed/repos/work/deno-sk/src/routes/sverdle/$types
Please check the file path.deno(no-local)
Resolved Dependency

Types: file​:///Users/lukeed/repos/work/deno-sk/src/routes/sverdle/$types
Unable to load a local module: file:///Users/lukeed/repos/work/deno-sk/src/routes/sverdle/$types
Please check the file path.deno(no-local)
Resolved Dependency

Types: file​:///Users/lukeed/repos/work/deno-sk/src/routes/sverdle/$types
9 replies
DDeno
Created by THERAS_ on 4/25/2024 in #help
Buffer.from equivalent in deno?
6 replies
DDeno
Created by THERAS_ on 4/25/2024 in #help
Buffer.from equivalent in deno?
But if you wanted to emulate it with pure Web APIs then have a look at this: https://github.com/lukeed/worktop/blob/836f00bd03addf258b93ea40ebd7e6342bc0d6e7/packages/worktop/src/buffer.ts#L98
6 replies
DDeno
Created by THERAS_ on 4/25/2024 in #help
Buffer.from equivalent in deno?
Yeah there’s the compat layer
6 replies
DDeno
Created by MOtherMetroid on 4/20/2024 in #help
Deno.enable not working
otherwise the old lsp will still be running
78 replies
DDeno
Created by MOtherMetroid on 4/20/2024 in #help
Deno.enable not working
make sure you restart vscode or reload workspace after doing the canary upgrade
78 replies
DDeno
Created by MOtherMetroid on 4/20/2024 in #help
Deno.enable not working
ya, by default (i think still) you dont need it if there's a deno.json file in your project root
78 replies
DDeno
Created by MOtherMetroid on 4/20/2024 in #help
Deno.enable not working
seems to be working great, thanks @nayeemrmn @bartlomieju! (even without workspace config anywhere)
78 replies
DDeno
Created by MOtherMetroid on 4/20/2024 in #help
Deno.enable not working
( it's also not in the json schema for deno.json definition, so vscode isnt suggesting the key )
78 replies
DDeno
Created by MOtherMetroid on 4/20/2024 in #help
Deno.enable not working
nope, didnt know it existed haha. again, it was jsut a structure i imported/started doing & it happened to work
78 replies