-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Closed
Labels
bugpkg:codemirrortag:KeyboardCompatibility issues with keyboards, including locale-specific and layout-specific issuesCompatibility issues with keyboards, including locale-specific and layout-specific issues
Description
Description
Python sometimes requires an @ character to be typed to e.g. use decorators.
On MacOS / Apple native keyboards the @ is typed by the key combination Alt + g. See my keyboard layout at Swiss Multilingual - (SM) > Laptop Keayboard on https://support.apple.com/en-us/HT201794
Reproduce
- Open a new Jupyter Notebook in JupyterLab
- Press
Alt+g
Diagnosed in the current (February 15, 2021) jlab-test conda environment in a private browser window.
Expected behavior
Add a @ character to the code cell.
Context
- Operating System and version: 10.14.6 (18G7016)
- Browser and version: Version 1.20.103 Chromium: 88.0.4324.152 (Official Build) (x86_64)
- JupyterLab version: 3.0.7
This is probably linked to #7704
For more information on trials I made to solve allow the typing of "@"s in code cells you can check my question over at Stack Overflow
Workaround
@jasongrout posted a workaround #7704 (comment) that worked with my setup.
Metadata
Metadata
Assignees
Labels
bugpkg:codemirrortag:KeyboardCompatibility issues with keyboards, including locale-specific and layout-specific issuesCompatibility issues with keyboards, including locale-specific and layout-specific issues