nayeemrmn
nayeemrmn
DDeno
Created by Phil on 9/26/2024 in #help
deno-rc: JSX in VSCode
@Phil Yeah, if you have an import to react, add // @deno-types="@types/react" above it.
6 replies
DDeno
Created by oatmealgrips on 7/6/2024 in #help
vscode npm import not recognizing all package contents
The language server program the extension uses is located in the Deno binary. My testing shows that the issue is fixed in canary, try restarting the window after upgrading.
5 replies
DDeno
Created by oatmealgrips on 7/6/2024 in #help
vscode npm import not recognizing all package contents
Try on deno upgrade --canary, the issue may be fixed already. If not, please open an issue with a reproduction
5 replies
DDeno
Created by shultz🇮🇱 on 5/7/2024 in #help
npm specifier not found in LSP only, and so no types for certain imports
Try deleting the lockfile if you have one
11 replies
DDeno
Created by MOtherMetroid on 4/20/2024 in #help
Deno.enable not working
78 replies
DDeno
Created by MOtherMetroid on 4/20/2024 in #help
Deno.enable not working
Yeah, before A/deno.json wasn't read at all by the LSP
78 replies
DDeno
Created by MOtherMetroid on 4/20/2024 in #help
Deno.enable not working
Okay, you have to copy all your linting and formatting rules to all deno.json's. We don't apply inheritance yet, can fix this soon. It worked in previous versions because the more local deno.json's weren't respected at all
78 replies
DDeno
Created by MOtherMetroid on 4/20/2024 in #help
Deno.enable not working
What's the relative path of the file you're interested in? What should happen is import map uses the root deno.json only, lint and fmt settings respect the most local deno.json
78 replies
DDeno
Created by MOtherMetroid on 4/20/2024 in #help
Deno.enable not working
Yeah that's expected I think, does your file have some other empty deno.json closer to it?
78 replies
DDeno
Created by MOtherMetroid on 4/20/2024 in #help
Deno.enable not working
Just copy output panel contents
78 replies
DDeno
Created by MOtherMetroid on 4/20/2024 in #help
Deno.enable not working
Lastly, if you open the output panel by clicking the Deno <version> button at the bottom, does it mention the deno.json anywhere underneath Refreshing configuration tree...?
78 replies
DDeno
Created by MOtherMetroid on 4/20/2024 in #help
Deno.enable not working
Do errors have like ts(2307) like OP, or is it deno-ts(2307) at the end?
78 replies
DDeno
Created by MOtherMetroid on 4/20/2024 in #help
Deno.enable not working
Does it work with enable: true?
78 replies
DDeno
Created by MOtherMetroid on 4/20/2024 in #help
Deno.enable not working
Okay, that was meant for people already using enablePaths. This is unexpected looking into it
78 replies
DDeno
Created by MOtherMetroid on 4/20/2024 in #help
Deno.enable not working
This means ONLY deno.json is enabled. What enable-related settings did you have before?
78 replies
DDeno
Created by Cajones on 4/12/2024 in #help
JSX element implicitly has type 'any' because no interface 'JSX.IntrinsicElements' exists.
This is fixed in deno upgrade --canary and future releases, please try it out thanks
21 replies
DDeno
Created by aspizu on 3/31/2024 in #help
How to work without a tsconfig.json in VSCode? Getting typescript errors due to React.
Do you have any other extensions enabled that could be the cause?
10 replies
DDeno
Created by aspizu on 3/31/2024 in #help
How to work without a tsconfig.json in VSCode? Getting typescript errors due to React.
@aspizu It's strange that it's continuing despite disabling the built-in extension. Which one did you disable? It should be TypeScript and JavaScript Language Features.
10 replies
DDeno
Created by T O M on 3/24/2024 in #help
Cannot find name 'Deno'.ts(2304)
For future reference, can you tell me what the name of that setting is?
10 replies
DDeno
Created by //Specture7\\ on 2/22/2024 in #help
Deno is not seeing a project
Are you sure it's the same error, or is the import not cached
36 replies