Skip to content

javascript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces has no effect in import autocomplete #57834

Closed as not planned

Description

@silverwind

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version: 1.87.2
  • OS Version: MacOS 14.4

Steps to Reproduce:

  1. Set these options:
"javascript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces": false,
"javascript.format.insertSpaceAfterOpeningAndBeforeClosingEmptyBraces": false,
"typescript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces": false,
"typescript.format.insertSpaceAfterOpeningAndBeforeClosingEmptyBraces": false,
  1. Enter import xml<tab> in a JS or TS file (change to a valid param import)
  2. There should be no space after { and before }.

spaces

(In case this issue is for the Typescript repo, let me know and I will open there)

Activity

  1. removed their assignment
    on Mar 18, 2024
  2. Andrew-Tierno commented on Aug 6, 2025

    @Andrew-Tierno

    Bumping this as real nice to have!

  3. RyanCavanaugh commented on Dec 3, 2025

    @RyanCavanaugh
    Member

    Closing language service bugs related to the 6.0 implementation. For more information, see #62827

  4. locked as resolved and limited conversation to collaborators on Dec 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions