-
-
Notifications
You must be signed in to change notification settings - Fork 135
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reformat code "ctrl + alt + l" is not working, instead it inserts character 'ø' #254
Comments
I'm having the same issue, but it is likely caused by vscode itself, not this extension: |
Actually, the shortcut came back to work. @mggevaer It seems that the problem really was what you commented |
@victordfb For me most of the time it works on pc startup, and after some time, on some days, I notice it stops working. Not sure what triggers it. So don't be surprised if you see the issue coming back (unless you switched keyboard language). I have "US keyboard international" as default on Windows 10, and "US keyboard" as backup whenever the shortcut stops working. I don't lose that many buttons by switching to the wrong keyboard in Windows anyway. |
Not exactly the same, but what happens to me today when I press |
If you encounter issues with keyboard shortcuts, specifically Ctrl + Alt + L adding a weird character in Visual Studio Code, it may be related to having the keyboard layout set to India(QWERTY) instead of US(QWERTY). I faced a similar problem and found a solution on Stack Overflow. You can find the solution and discussions related to this issue on Stack Overflow. |
Problem still exist : When I have Keyboard set to English (India) in windows 10 : Ctrl + Alt + L adds this special character. I use it for formatting files , it works perfectly in PHPStorm and other applications This solution works : |
This seems to be related to the Language setting of VSCode and Windows; when I selected English (India) in Windows, special characters were entered by |
When I use reformat shortcut, it is inserting this character 'ø' instead of actually reformating the code.
It happens with or without selection.
I'm using Visual Studio Code in Windows 10 but the project is inside WSL 2 enviroment and VS Code connected to it.
The text was updated successfully, but these errors were encountered: