Comments (6)
@dsherret and I also just hit it. We should revert this change and still have this command, but remove prompts for lint/unstable.
CC @nayeemrmn
from vscode_deno.
Update - This is a feature, not a bug (thanks to @irbull from Discord!)
The Initalize workspace was removed in favour of enable. edde9c6. There are no questions asked anymore, it should just update the settings.json with
{
"deno.enable": true
}
Please let me know if I should close this issue, or if it can be used as a Documentation issue as well?
Here, the old command is still referenced:
https://docs.deno.com/runtime/manual/references/vscode_deno/
Thanks!
Christian
from vscode_deno.
@dsherret and I also just hit it. We should revert this change and still have this command, but remove prompts for lint/unstable.
CC @nayeemrmn
Could probably just alias Initialize Workspace Configuration
to Enable
. It's a bit jarring that there are no prompts anymore, but that's actually the point.
from vscode_deno.
I was just going to push a PR, but I see you did this. I was wondering if we should add a "deprecation warning" Something like "Initialize Workspace Configuration (Deprecated)". You added that to the description, but I'm not sure where those are shown in the UI . Also, while testing this, I found it a bit jarring not to see a pop-up. I understand what is happening, but I wonder if others will be confused and wonder if the initialize actually did anything?.
from vscode_deno.
I think we're gonna have to leave it as is - there's a ton of references to "Initialize Workspace Configuration" in the wild.
That said, I agree about a popup - probably good to show a notification that the operation succeeded.
@nayeemrmn could you do that?
from vscode_deno.
Here is a PR that adds a modal info dialog. It might be a good stopgap measure as users were expecting an input dialog, and now we show them nothing. In a few releases (or maybe Deno 2.0) we can replace this with a message on the status bar.
from vscode_deno.
Related Issues (20)
- deno(import-prefix-missing), deno-ts(7026) and deno-ts(2304), HOT 2
- Send to REPL/Terminal
- Ability to highlight the mod.ts or index.ts files in a folder HOT 1
- Renaming named imports mutates remote modules HOT 1
- auto-import for remote modules HOT 2
- sort/hide auto-imports by version and category
- VSCode Cannot find name 'Deno' ts(2304) HOT 1
- import suggestion not working for `export *` on other files HOT 1
- More descriptive error messages when using mis-matched Deno versions? HOT 1
- Discoverability of the property of a destructured object lacks its usage among the references HOT 3
- 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 7
- 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 HOT 2
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.