-
Notifications
You must be signed in to change notification settings - Fork 2
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
Completion including method local vars which are out of scope #5
Comments
I found the source of pi issue #5 but I’m undecided about the best way to fix. The problem is the recursion in the code below. I am leery about adding a bool recurse argument as the method as it would be necessary in a chain of methods. I lean towards a another set of methods that don’t recurse. It would mean some method name changes to make it clear which set did the recursion. // FindNamePrefix looks for given symbol name prefix within this map |
Yep go ahead and add a new set of methods. FindNamePrefixRecursive vs. FindNamePrefix? |
Yes, that naming is very clear! |
…ed FindNamePrefixRecursive - Add FindChildren, same as FindAnyChildren but calls FindNamePrefix instead of recursive version - Fixes pi issue #5
Done |
Local vars are being included in completion results, for example see screenshot,
The text was updated successfully, but these errors were encountered: