-
Notifications
You must be signed in to change notification settings - Fork 148
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installed VSCode plugin but still not able to catch deno syntax #48
Comments
Hey, I just uninstalled justjavac's |
@zemse Can you provide a tsserver.log file, I will fix this bug |
Hi, here is the file. tsserver.log. |
I just called
I did try this yesterday, enable and disable a number of times while But now it is being created, making the plugin's work. Looks like there isn't any issue from the plugin side and maybe this mac just went silly and needed a restart :( My bad, pardon for the trouble. Closing the issue. |
@justjavac I've run into same problem again, I have |
This extension will first look for typescript-deno-plugin in typescript-language-features, then look for it in justjavac.vscode-deno. Judging from the log, it didn't look in the justjavac.vscode-deno installation directory, and reported an error directly. When you open the ts file, did you see the Deno extension information in the status bar? |
If it is a problem with the plugin installation, you can press |
I do see Deno 1.0.2. While I was getting this too. Once again I checked that Few months ago in a different project, I did some setting in vscode to pick typescript version in |
I have this same issue in VS Code. I can see 'Deno 1.0.2' on the status bar, and other Deno syntax (such as import, await) seems to work (VS Code doesn't report problems on them, only on the Deno name so far). |
Getting the same issue with the "official" The e/ current |
@iMarv denoland.vscode-deno@1.24.0 !== justjavac.vscode-deno@1.34.0 justjavac.vscode-deno@1.34.0 is the master branch of denoland/vscode_deno |
Fix wrong VS Code Extension ID. Explicitly `await` (and catch) `deno.generateDtsForDeno`, so all definition files are in place, before the extension finishes activation phase. fixes denoland#74, denoland#66, denoland#62, denoland#48
Closed by #77 |
well, it still doesnt working |
I'm setting up Deno for the first time in a new project and the VSCode extension host log shows this error:
Restarting VSCode and re-installing the extension did not solve the issue. Using VSCode Started a new issue for this error: #189 |
I got the same phenomenal in which Deno code suggestion and autocompletion did not work after installing
|
Thank you @TranXuanHoang! It was so helpful to me. |
Perhaps |
Ah it seems like you have to do Also the |
Ah you can manually set this in your workspace settings:
Still it would be nice if the Deno extension did that for you as it claims to. |
Just tried the solution mentioned here, and it worked 💯. Thanks for sharing! |
I seemed to have the Deno extension working in VS Code. After I found that console.log() was sending nothing to the console, I searched online and created a launch.json file that included "outputCapture": "std". After that, the Run/Debug pane on the left changed its appearance. It no longer has the two big buttons at the top to start debugging, but rather a "Launch program" drop-down at the top and some sections for variables, watch, call stack. Upon pressing "Launch program," I get:
But nothing calls for main.ts, which I've never had in this directory. I assume that this means the Deno integration isn't working (I'm brand-new to Deno and JS/TS development). I re-ran the "configure this workspace for Deno" option from the command palette, which claimed success. No change. |
Following the tutorial in the docs:
I still get underline on the await:
And underline on the Deno
while if I run the file with deno, it obv runs. But vscode underlines are very irritating as well as it is not giving any type suggestions for
Deno
object.I installed the plugin Deno
1.32.0
by justjavac. I tried doing [command]+[p] and> Enable Deno
, which says deno is already enabled.I tried to find any similar issue but seems it's not there while my issue is very basic regarding installation. I went through Readme but not able to solve the problem. Can you please help me what more I need to do to get it working?
The text was updated successfully, but these errors were encountered: