[Python language server] The Refactor -> Rename feature does not work if py file not formatted properly #10523
Labels
kind/bug
Outline of a bug - must adhere to the bug report template.
severity/P2
Has a minor but important impact to the usage or development of the system.
Reproduction Steps:
Expected behavior:
The variable name changed
Observed behavior:
The variable was not changed.
There is "org.eclipse.che.plugin.languageserver.ide.rename.RenamePresenter
SEVERE: Cannot read property 'start' of undefined" error message in browser console.
The Rename feature will work correctly if add a blank line to the end of file or format this file by Format feature.
Che version: 6.9.0
OS and version: Fedora 28
Che install: OCP-single
Additional information:
Screenshots:
The text was updated successfully, but these errors were encountered: