Skip to content

Test new unified js/ts settings #297056

Closed
Closed

Description

@mjbvz

Test for #292934

Complexity: 5

Create Issue


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/ts scope

  • All js/ts settings have a generally consistent naming scheme (e.g. we always use *.enabled instead of *.enable or *.disable* or *.doEnable*

  • You should be able to search for javascript or typescript in 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.* and typescript.*

    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:

  1. First try "javascript.format.insertSpaceAfterFunctionKeywordForAnonymousFunctions": false. Make sure it removes the space around the function in a file like:
const a = function () { }
  1. Confirm you also see a deprecation message for this old version of the setting

  2. Now try switching to use the unified js/ts version of the setting. Confirms this overrides the old value

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

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

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

  1. karthiknadig commented on Feb 25, 2026

    @karthiknadig
    Member

    Agree with #297310 , it was a bit confusing to find when scrolling groups.

  2. locked and limited conversation to collaborators on Apr 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions