Replies: 1 comment
-
I just disabled that in microsoft/vscode#177223 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Reproducible in vscode.dev or in VS Code Desktop?
Reproducible in the monaco editor playground?
Monaco Editor Playground Link
https://microsoft.github.io/monaco-editor/playground.html?source=v0.36.1#XQAAAAJrAgAAAAAAAABBqQkHQ5NjdMjwa-jY7SIQ9S7DNlzs5W-mwj0fe1ZCDRFc9ws9XQE0SJE1jc2VKxhaLFIw9vEWSxW3yscw11tiW_1uhrpu6yp6HeMeFg4D87fsZ9XASQdfuW03940xAddmItzxv09CitTmGEgQHWuwJ-iF7TB0AGegdjyvVx9mCOssYcS9IqEfYXAbEXRJlXgh4INf7lx9YsGYYE6aFGKyY7VxLiW1i15QM9T9NihULPdO3tURA0gYVMea3Qlvxbx9G6NlHcjpvXZPaiYFMYEXG6DpCudhmXQufv7SUJSUQhAyUx2CFaz6En6gST19_1nZiVixAoRguqp2TFdhXDF0-uuiM403sr9gFD17kRBN4PlS47pJ0JXHI-YtISoy8EPCbYfHq5Yd3z3GNq9e48mVNqvnaheD3a4pKCLyeencswggXpaSrPDzLcPkJvTI71tMRmIgpft9kgzkJmuE_IMCBw
https://microsoft.github.io/monaco-editor/playground.html?source=v0.36.1#XQAAAAJfAQAAAAAAAABBqQkHQ5NjdMjwa-jY7SIQ9S7DNlzs5W-mwj0fe1ZCDRFc9ws9XQE0SJE1jc2VKxhaLFIw9vEWSxW3yscwzYWtRgmSatbGbs83zUMeFg4D87fsZ9XASQdfuW03940xAddmItzxv09CitTmGEgQHWuwJ-iF7TB0AGegdjyvVx9mCOssYcWRmIq46paEzB2eWmxJ77UkNboL7v-HaA4s1ktoE3s2mhbDOsRYMZe0fRgJNFXQN-jQHjd80TaPTc6W0uDkKRrOvEUfCuysgV93Mn5_9DDGcHKAbT4vKq9jk7pI899UtP5hEGLK6Mkz0JutztrFRn0ty9swLrtXEfLTSLYF1Ge0m5IlyVh0lelzevFHBZ__sRaM4A
Monaco Editor Playground Code
Reproduction Steps
Start by removing section [B] to show that the delete key does not work. Then enable [B] and remove the property below [A]. This will show that due to obfuscation we cannot override code-editor service methods.
Actual (Problematic) Behavior
Overriding the "codeEditorService" in the conventional way results in an editor where the "Backspace" key does not work. Funnily enough, the "deleteLeft" command for the editor still works as expected when triggered manually.
In the second case, since version 0.35.0 there is now obfuscation that prevents overriding individual methods on the "codeEditorService".
Expected Behavior
Even though the override service is ill-formed, this should not result in the "Backspace" key not working.
Additional Context
It would be great to have some method on the editor API to expose underlying services, or at the very least better documentation in regards to overriding them.
Beta Was this translation helpful? Give feedback.
All reactions