Comments (7)
it is a good idea, typescript-deno-plugin
is not only used in vscode, but also used by vim and idea. This week I will transfer this repo.
build typescript-deno-plugin
into the vscode plugin, and we still need to publish typescript-deno-plugin
to npm
from vscode_deno.
I spent a while this morning puzzling over why my JS was getting treated like it was TS even with
"deno.enable": false
. When I turn off the extension then it works!
Getting this as well. In addition, I am also getting the problem mentioned in #36 in non-Deno .js
files. @justjavac already mentioned that #36 is not behaviour of the extension, but turning off extension completely gets rid of it, just like this issue. It's possible then that both of these issues are linked to the plugin, if it's not the extension itself causing them.
from vscode_deno.
A workaround for this problem (and all the other ones that have been linked to this issue) is to clone from master
and replace the installed VS Code Marketplace version with the cloned directory. The Marketplace version should be located in user extensions directory. To save a Google search for those who don't already know, user extensions directory is in:
Windows %USERPROFILE%\.vscode\extensions
macOS ~/.vscode/extensions
Linux ~/.vscode/extensions
Now just find denoland.vscode-deno-1.24.0
and overwrite it with version from master
.
from vscode_deno.
EDIT: The new version was published to the Marketplace but the update was not triggered by VS Code. Completely uninstall your current version, close and open VS Code to make sure the cached version is deleted, and re-install. Now you have the update! The version number was not updated.
And the update broke the extension for me #80 (comment)
--
@Coteh Thanks for the info, but It seems that this dependency update was made to vscode_deno
9 days ago, Unfortunately, it has not been published to the market place!
3bb664e#diff-b9cfc7f2cdf78a7f4b91a753d10865a2
"dependencies": {
"typescript-deno-plugin": "^1.31.0"
}
Another big fix landed yesterday too, so you might want to clone this repo instead until someone updates the VS Marketplace.
from vscode_deno.
The marketplace denoland 1.24.0 plugin does have ^1.31.0 as dependency though, so that's not the issue at all. It also didn't work before the update 9 days ago, and it didn't work before the update yesterday either. Only the old plugins from justjavac and axetroy works (slightly).
from vscode_deno.
typescript-deno-plugin
is not only used in vscode, but also used by vim and idea
and we still need to publish
typescript-deno-plugin
to npm
☝️ Very important that it remains separately available to other consumers
from vscode_deno.
This is merged in the repo now.
from vscode_deno.
Related Issues (20)
- Cannot find modules error. HOT 2
- Unable to retrieve source content HOT 1
- Context Menu "Run Task" in deno.json has no effect.
- vscode extension does not agree on formatting with `deno fmt` HOT 2
- Not possible to navigate to the source of a package via jsr:@. HOT 5
- "unstable" flag doesn't turn recognition of unstable API's on and off HOT 6
- tRPC or Hono RPC - Can't import types from Deno folder (server) to Node folder (client) HOT 6
- Settings.json (typescript service not disabled) and Deno.json (excluded lint rules messages persist) HOT 14
- auto-import for `std` modules HOT 4
- LSP loses deno namespace info when switching from node subdirectory to deno subdirectory
- Ability to add package to deno.json via command palette?
- When using custom deno.json in workspace settings, fmt settings don't work and imports cause errors HOT 2
- Nothing works :( HOT 6
- Inconsistent deno fmt result between 1.41.3 and 1.42.0 HOT 4
- relative path import suggestions does not exclude `DENO_DIR`
- Jupyter notebook requires enabling deno in settings.json to disable TS even when deno.json exists
- Deno extension doesn't work in workspaces properly HOT 1
- Everything in Intellisense is duplicated HOT 2
- deno.importMap setting is ignored if deno.json includes an import map HOT 3
- readonly not considered to be initialized first HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode_deno.