Skip to content
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

Pharo8 : improve code completion for temps #49

Closed
myroslavarm opened this issue Jul 3, 2019 · 7 comments
Closed

Pharo8 : improve code completion for temps #49

myroslavarm opened this issue Jul 3, 2019 · 7 comments

Comments

@myroslavarm
Copy link
Owner

when declaring temps, they get completed. they shouldn't because we are essentially making up new variables

@myroslavarm myroslavarm changed the title improve code completion for temps Pharo8 : improve code completion for temps Jul 3, 2019
@MarcusDenker
Copy link

is this still a problem in Pharo8? When I tried it did not complete them anymore

@MarcusDenker
Copy link

double check: the old completion wants to complete temp var declarations, the new one does not.

Which I think is better.

@myroslavarm
Copy link
Owner Author

update :
test completion works well
new model should be fixed

@myroslavarm
Copy link
Owner Author

myroslavarm commented Jul 12, 2019

should be fixed in : b1e5b30.
the problem was that because of caching method suggestions and interpreting temp declaration as part of the method, the only suggestion for temps was the name of the class it's in. i have now changed it to no completion, because a) it was totally incorrect b) temp declaration should not be completed

@MarcusDenker
Copy link

It is now disabled, but it might be interesting later to find a way to suggest something |forThis |

(future work)

@MarcusDenker
Copy link

this is fixed

@myroslavarm
Copy link
Owner Author

FINALLY fixed in this commit : pharo-project/pharo@ddc49cd. temps don't get completed but methods do, and everything works! again, the problem was with error node

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants