-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
[vscode] onEnterRules
in languages.configuration
are ignored
#11202
Comments
On a first glance, it seems to work if (but only if) the language configuration is set programmatically by the extension. That works fine, e.g., for built-in javascript, html, etc. But it doesn't work if it is set declaratively, e.g. for |
Just to avoid duplicate work: I'll look into this issue in more detail in the next days. |
Fixes eclipse-theia#11202 Contributed on behalf of STMicroelectronics Change-Id: I8ad0ba28204f959d43de2f49e2d5467f40093316 Signed-off-by: Philip Langer <planger@eclipsesource.com>
Fixes #11202 Contributed on behalf of STMicroelectronics Change-Id: I8ad0ba28204f959d43de2f49e2d5467f40093316 Signed-off-by: Philip Langer <planger@eclipsesource.com>
Bug Description:
It looks like
onEnterRules
in language configurations of VS Code extensions are ignored in Theia.As the Theia examples include the
vscode.python
extension, we can use it for testing.vscode.python
defines that hitting enter after e.g.if TRUE:
the next line should indent once:Steps to Reproduce:
browser-app
by runningyarn browser start
.py
, such astest.py
if TRUE:
and then hit enter.In VS Code this is handled correctly:
In Theia, however, this is ignored:
Additional Information
The text was updated successfully, but these errors were encountered: