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
GUI: autocomplete runs function (!) #7604
Comments
See if we can simply disable autocomplete as a hotfix for instruments. |
i tried giving this a go, i dont think its as simple as just setting an ipython autosuggest/turning jedi off, and also seems to be limited to the client scripting perspective (couldnt reproduce in a standalone genie_python.bat). I think setting autocomplete to off can be done by some pydev prefs, but im not sure on how to actually set them in a good way |
pydev pr: ISISComputingGroup/Pydev#4 I have updated the p2 repo to the pydev branch in the first PR. next steps for this ticket:
|
In a meeting with myself, @ThomasLohnert @FreddieAkeroyd @KathrynBaker we decided:
|
Deploys (TS2):
TS1:
|
We are going to close this ticket as we are happy that we've patched to everyone that needs the issue, which has been present since very early days of the GUI. Ticket will be created for the implementation of a solution (probably in PyDev) as well as a task for checking that we are deploying it or the workaround to the next release group in summer. |
Having installed pvdev into a standalone eclipse, the behaviour is definitely there. As noted in #7850:
|
In the ibex gui scripting console type:
Then
x().
(to trigger the autocomplete) - the GUI prints "Hello" in a loop - this is very bad if e.g. the function has some effects that should not run immediately.Worse, if
x()
doestime.sleep(...)
it hangs the GUI for that amount of time.I think we probably need to fix this one and deploy a hotfix in time for cycle...
The text was updated successfully, but these errors were encountered: