python-language-server
python-language-server copied to clipboard
Rename symbol on imports either returns "no result", or overwrites the word "def" on source file
Environment data
- Language Server version: 0.5.51.0
- OS and version: Mac OS Catalina 10.15.5
- Python version (& distribution if applicable, e.g. Anaconda): 3.8.3, 3.7.3, 2.7.16
Expected behaviour 1
Renaming imported function should rename that function in all files

Actual behaviour 1
An error pops up simply saying "No Result". The function is not renamed.
Expected behaviour 2
Renaming a module, such as renaming the test part of "modules.test", should update that file name as well as the symbol

Actual behaviour 2
The file is not renamed. For whatever reason, whatever name the user types into the input box is actually appended onto the "def" keyword in the function definition.

Additional Info
This happens regardless of being in a virtualenv, or what virtualenv I'm running.