Repository navigation
Description
Test for #292934
Complexity: 5
Overview
This iteration we decided to clean up the javascript and typescript settings to better support TS-Go. We also are using this as a chance to modernize our setting support (for example adding support for language overridable settings) and making the setting names more consistent
In this test plan item, I'd like you to make an exploratory review of the new settings and our support for them. Here's the general things to look for with the settings:
-
All TypeScript and Javascript language feature settings are now in the
js/tsscope -
All
js/tssettings have a generally consistent naming scheme (e.g. we always use*.enabledinstead of*.enableor*.disable*or*.doEnable* -
You should be able to search for
javascriptortypescriptin the settings editor to find most of settings (there are a handful that are either only relevant to javascript or to typescript) -
All old versions of the settings can still be used.
For most settings there would have been two copies of the old settings:
javascript.*andtypescript.*When using the old setting you should see a deprecation message with a link to the new setting. The old settings values should be respected unless the new values are set
Testing
Review the current settings
Look through all settings in the TypeScript and JavaScript language features section. Make a quick review looking for:
- Consistent naming
- No broken links
- Logical grouping in setting view table of contents
You do not need to test each one.
Check behavior of new settings
For a formatter setting such as js/ts.format.insertSpaceAfterFunctionKeywordForAnonymousFunctions:
- First try
"javascript.format.insertSpaceAfterFunctionKeywordForAnonymousFunctions": false. Make sure it removes the space around the function in a file like:
const a = function () { }-
Confirm you also see a deprecation message for this old version of the setting
-
Now try switching to use the unified
js/tsversion of the setting. Confirms this overrides the old value -
Try using language specific versions of the new settings:
"[javascript][javascriptreact]": {
"javascript.format.insertSpaceAfterFunctionKeywordForAnonymousFunctions": false
},
"[typescript][typescriptreact]": {
"javascript.format.insertSpaceAfterFunctionKeywordForAnonymousFunctions": false
}Confirm these are respected correctly per language
-
Try creating a multi-root workspace with folder specific settings. Confirm the settings are respected correctly depending on which workspace root the file belongs to
-
Make sure the setting behaves correctly when set in the workspace or user settings
Try a few more settings from different categories
Try the same but for a few different categories of settings:
-
Language features such as
js/ts.referencesCodeLens.enabled -
Validation settings
js/ts.validate.enabled(enables or disables diagnostics) -
A server setting such as
js/ts.tsdk.path
Activity
migrate js/ts settings
migrate js/ts settings (#297312)
karthiknadig commentedon Feb 25, 2026
Agree with #297310 , it was a bit confusing to find when scrolling groups.