Open th3coop opened 7 years ago
I cannot reproduce this. Can you share a file that has this problem?
I'm seeing the "sometimes" action in Blackfile.py from the KomodoIDE repo.
@Naatan see the additional info section.
This appears to be a bug in resolveScope. @mitchell try selecting any scope between UploadKomodoPackages and BuildXdebug in Blackfile.py, it will always return the same line number.
Reproduced this with Codeintel v2, so not a Komodo 11 bug.
Note to self: this is a Python scanner bug. The functions in question do not have their "lineend" attribute set.
Steps to Reproduce
Open a file with mutliple functions or classes Open Symbol Browser Move cursor in file so it is in different functions or classes and watch the symbol browser
Expected results
The symbol browser to scroll to and highlight the current scope my cursor is in
Actual results
Some times the highlights scope with move to the current scope, some times not. It never scrolls.
additional Info
I'm seeing the "sometimes" action in Blackfile.py from the KomodoIDE repo. Any function above
UploadKomodoPackages
will cause the Symbol Browser to highlight the new scope. If I go belowUploadKomodoPackages
it will no longer change the current scope in the symbol browser. THere are no related errors in the logs.