Giter Site home page Giter Site logo

[Discussion] Possible solution to fix delays and versioning confusion: Merge `typescript-deno-plugin` into `vscode_deno`? about vscode_deno HOT 7 CLOSED

denoland avatar denoland commented on May 25, 2024 1
[Discussion] Possible solution to fix delays and versioning confusion: Merge `typescript-deno-plugin` into `vscode_deno`?

from vscode_deno.

Comments (7)

justjavac avatar justjavac commented on May 25, 2024 3

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.

Coteh avatar Coteh commented on May 25, 2024

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.

Coteh avatar Coteh commented on May 25, 2024

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.

David-Else avatar David-Else commented on May 25, 2024

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.

TTSKarlsson avatar TTSKarlsson commented on May 25, 2024

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).

image

from vscode_deno.

jsejcksn avatar jsejcksn commented on May 25, 2024

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.

lucacasonato avatar lucacasonato commented on May 25, 2024

This is merged in the repo now.

from vscode_deno.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.