Makes it a simple array of kinds for now. We can add the mime type variation later if needed
Also makes the paste with imports have a better hierarchy. This lets you setup a keybinding for `text.updateImports` that will work across all languages that support it
Fixes#184871
For #30066
Adds new settings that let you configure the default way to paste/drop.
Also enables js/ts paste with imports by default for 5.7+. However will not apply by default. Instead it will be shown as an option after pasting. You can then use the `editor.pasteAs.preferences` setting to make it apply automatically or use the `javascript.updateImportsOnPaste.enabled` settings to disable the feature entirely
* WIP
* invalidate diagnostics in range
* check whether should use region based diagnostics
* add ts-expect-errors
* make region opt off by default
* bump to expected 5.6
* update comments to refer to 5.6
* make region diagnostics on by default for insiders
* Split TS' AI-backed code actions into separate entries
Lets the user decide whether to add AI to their code action, which shows
intent, which is good for us to learn whether people actually want this.
Related: this should be unflagged for insiders. To do this, do I just
delete the flags?
* Stop appending a duplicate message in missingFunctionDeclaration
* Fix: quickfix was still showing Copilot-only
It's a workaround--I'm not sure of the right way to do this.
* Update to use `isAI`
* Put AI code actions after others.
* Add isAI to rest of code actions
* Remove flags for TS AI code actions
* Check for copilot-chat instead of copilot
It's possible to have copilot installed without copilot-chat.
* Fix file casing
---------
Co-authored-by: Matt Bierner <matb@microsoft.com>
* Add config for running tsserver on custom node
* log when custom node install is used
* create node version manager
* get node path from node version manager everywhere
* modify prompt
* fix useIpc
* use spawn for custom node and set windowsHide
* detect node
* link memory setting to node setting
* Experiment with adding ata using `@types` packages shipped in an extension
* Use own file system instead of `https`
* JS/TS type support on web
* Tsconfig needs esModuleInterop not module:nodenext
We actually want webpack to emit commonjs, but need to write ES default
imports to use node-maintainer
* fix package.json indentation
* Adding setting to disable web type acquisition
* Fix merge of yarn lock
* Fixing merge errors
* Fixing errors
* Pick up package externally
* Fixing conflicts
* Bump version
---------
Co-authored-by: Kat Marchán <kzm@zkat.tech>
Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>
Fixes#170920
Enables this feature by default but also disables semantic errors. This is needed to avoid lots of annoying false positive errors for external modules. We plan to remove this limitation once type downloading support is enabled