Letter ç in VS Code editor

Asked

Viewed 2,110 times

2

Cedilha "ç" disappeared in the Visual Studio Code I use on Macbook. This happened some time ago after an update. Works in any editor but VS Code. Someone’s been through it? inserir a descrição da imagem aqui

  • Could you try to explain your problem differently? I couldn’t understand...

  • On Macbook, when I want to type the letter "ç", I use the shortcut "option + c" because it does not exist on the American keyboard. However, when I need this letter in VS Code, I use the shortcut and nothing happens. This is only happening in VS Code.

1 answer

2


Go to: ( Preferences/Keyboard Shortcuts ) and when opening the key settings tab, below the search field has the option to open the file in advanced mode (keybindings.json) and edit it by adding the object below:

[
    {
        "key": "alt+c",
        "command": "-task.cancel",
        "when": "editorTextFocus"
    },
    {
        "key": "alt+c c",
        "command": "-extension.colorHelper.convert",
        "when": "editorTextFocus"
    },
    {
        "key": "alt+c p",
        "command": "-extension.colorHelper.pick",
        "when": "editorTextFocus"
    }
]

Solved with me this problem the above code! Abs...

  • Thanks but here did not solve. He is waiting another key to complete some combination. I tried everything but nothing.

  • In Vscode, in Preferences/Keyboard Shortcuts (as I explained above), the option to open the file in advanced mode (keybindings.json), it is not necessary to combine any key. the code I mentioned above just paste into the file (keybindings.json) pasting it, because in this code the command that blocks the cedilla is nullified: See in the object "command" { "key": "alt+c", "command": "-task.Cancel", "when": "editorTextFocus" } Just paste the code into the file (keybindings.json) and save. I didn’t even need to restart the software.

  • I did just that. To put the image above in the question. See the message in the status bar.

  • Strange, because such message did not appear to me. Just paste this object with the parameters you solved. Maybe your command is another. Does the following: In the file ( Default Keybindings ) that opens next to editing ( keybindings.json ), search in the general list of shortcuts, the shortcut ( alt+c ). The command that must be conflicting should appear. Copy the shortcut object and paste it into ( keybindings.json ). Just pay attention to the detail of adding a hyphen in the "command" element as in the above example code. So you annul the same.

  • Solved here with this code: Thank you Codeinpixel Studios. Solved when I added these lines to the keybindings.json: [ { "key": "alt+c", "command": "-task.Cancel", ": "editorTextFocus" }, { "key": "alt+c c", "command": "-Extension.colorHelper.Convert", "when": "editorTextFocus" }, { "key": "alt+c p", "command": "-Extension.colorHelper.pick", "when": "editorTextFocus" } ]. It was a plugin.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.