Skip to content

[macOS] editor.autoClosingBrackets not working with "U.S. International - PC" #34407

Closed

Description

  • VSCode Version: Code 1.16.0 (787b31c, 2017-09-06T16:12:42.401Z)
  • OS Version: Darwin x64 16.7.0
  • Extensions:
Extension Author (truncated) Version
vscode-eslint dba 1.3.1
pgsql dou 0.0.8
toggle-excluded-files eam 1.6.0
prettier-vscode esb 0.23.1
auto-close-tag for 0.5.0
auto-rename-tag for 0.0.14

(1 theme extensions excluded)


Steps to Reproduce:

  1. Switch the keyboard layout to "U.S. International - PC" on the Mac. System Preferences > Keyboard > Input Sources > Add they layout and enable it (e.g. via US Flag in the task bar, next to the clock).
  2. In Visual Studio Code, make sure the setting "editor.autoClosingBrackets" is set to true.
  3. Try to use auto completion with single or double quotes => it's not working, only 1 character appears.
  4. Switch the keyboard layout to "U.S.". Add again a double or single quote => VS Code auto-completes the input with a second character.

See also video: https://imgur.com/a/Wpm7w
Note:

  • The different color of the single quote for U.S. International. That's to create special chars, e.g. é or ë for double quotes. To just write the double or single quote character, hit space afterwards.
  • Braces always work.

Reproduces without extensions: Yes

Activity

  1. alexdima commented on Sep 22, 2017

    @alexdima
    Member

    This also was working and appears to be broken by our electron upgrade.

  2. added
    bug
    on Sep 22, 2017
  3. alexdima commented on Sep 25, 2017

    @alexdima
    Member

    My mistake. This never worked, as for US intl we prevent the auto closing characters especially for the case of creating accented characters.

  4. added
    feature-request
    editor-input
    and removed
    bug
    on Sep 25, 2017
  5. 18 remaining items

  6. fabb commented on Jul 25, 2019

    @fabb

    Another horrible thing connected to the quote dead key: when I press the quote key + the. The left arrow, an invisible unicode control character is inserted. It took me hours to debug because I inserted such a character in a className string wich caused the class not matching and the css style not being applied.

  7. andremacola commented on Aug 13, 2019

    @andremacola

    I think this ticket title it is not ideal. autoClosingBrackets has nothing related here but autoClosingQuotes I think is the problem
    This serious affect quotes in VSCode with Intl Keyboard.
    This affect quotes in multicolumn selection too.

    See #73828 for more information

  8. andremacola commented on Aug 22, 2019

    @andremacola

    Apparently issue #73828 is fixed on:

    Version: 1.38.0-insider
    Commit: ada79d7

    Will test more in the next days.

  9. alexdima commented on Aug 26, 2019

    @alexdima
    Member

    Indeed, this got fixed via 37981d8

  10. added
    verification-needed
    on Aug 27, 2019
  11. alexdima commented on Aug 27, 2019

    @alexdima
    Member

    The easiest way to verify is to use the US Intl Keyboard layout on mac and press double quote / single quote + to insert it...

  12. ccarstens commented on Sep 16, 2019

    @ccarstens

    I code with a German keyboard layout, which differs strongly in its layout of special chars and even key shapes. I'd be really cool to get a fix for this! <3

  13. alexdima commented on Sep 17, 2019

    @alexdima
    Member

    Cornelius Carstens (@ccarstens) This has been fixed and the fix has been shipped with VS Code 1.38. Please open a new issue with precise steps if this doesn't work for you as expected.

  14. locked and limited conversation to collaborators on Oct 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

editor-autoclosingeditor-inputfeature-requestkeyboard-layoutmacosverification-neededverified

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions