- Add strict property to ImplicitProjectConfiguration class
- Update inferredProjectCompilerOptions to handle strict setting
- Add configuration setting to package.json with default true
- Add localization string for the new setting
- Create unit tests for the new functionality
This enables strict mode by default in implicit JS/TS projects, aligning with TS 6.0.
Co-authored-by: mjbvz <12821956+mjbvz@users.noreply.github.com>
Previously I split these up by js and ts. This ends up creating too many group and having the js and ts settings too far from each other
This PR changes the settings to be grouped only by feature, not language
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>