Hapiel
July 11, 2021, 3:06pm
1
Hi,
I’ve never been able to use auto complete in processing. I had this issue with 3.5.4 and just now I tried 4.0a6 and still can’t get it working.
I have autocomplete enabled in preferences, but whatever I type, it never shows completion suggestions when I hit Ctrl + space
Do you have any suggestions on what I might be missing?
glv
July 11, 2021, 3:15pm
2
I use it all the time with Processing 3.5.4
Example:
After I type
s.
I hit CTRL+ SPACE and voila!
I then select an item from the list and enter it.
:)
1 Like
Hapiel
July 11, 2021, 3:33pm
3
That’s great, but when I recreate the exact same sketch and press CTRL + SPACE, nothing happens. Would you have any idea what I could do to fix this?
glv
July 11, 2021, 3:57pm
4
No.
I have deleted Processing in the past and reinstalled it when I had issues (not this one).
There is some stuff in the %AppData%
folder in > Roaming > Processing
folder; I have backed this up and deleted it in the past before a reinstall.
Auto complete also works on my W10 Pro (latest updates) with the latest Processing:
:)
Hapiel
July 11, 2021, 11:09pm
5
Thanks for the tip. I’ve deleted the roaming/processing folder to reset all of the settings, but to no success.
I could report it as a bug, but I’m afraid it’s going to be hard for someone to look at if nobody can reproduce it and I’m the only person experiencing it?
glv
July 12, 2021, 12:05am
6
Hello,
I found this related issue on GitHub:
opened 12:50PM - 28 Oct 18 UTC
## Expected Behavior
Type the following code:
<img width="140" alt="1" src="… https://user-images.githubusercontent.com/32881318/47615832-c2c1b300-dada-11e8-864f-33f178a31295.PNG">
And hit Ctrl+Space, then auto complete suggestions should pop up like this:
<img width="187" alt="2" src="https://user-images.githubusercontent.com/32881318/47615880-6e6b0300-dadb-11e8-95e5-1fb03e74bd78.PNG">
## Current Behavior
Currently, nothing happens when I press Ctrl+Space. (Code completion with Ctrl-space is enabled in File -> Preferences).
When I set `pdex.completion.trigger=true` in preferences.txt, I am able to get the suggestions without pressing Ctrl+Space (That's how I was able to the get the second screenshot), which works as expected.
## Your Environment
* Processing version: 3.4
* Operating System and OS version: Windows 10 Home Single Language, Version: 1803, OS build: 17134.345
* Other information:
I have tried it in a fresh installation of Windows 10. Still, it doesn't work.
There may be other related issues in there.
:)
Hapiel
July 12, 2021, 10:27am
7
Thank you for finding this! I had looked around before but only found issues that were supposedly already fixed. They use a solution that works for me too, changing the setting pdex.completion.trigger=true
gives me auto completion without pressing the hotkey.
I hope it doesn’t become too annoying for me, but it is probably better than no auto completion!
2 Likes