# How to use auto complete?

**URL:** https://discourse.processing.org/t/how-to-use-auto-complete/31169
**Category:** Processing
**Created:** [July 11, 2021, 3:06pm UTC](https://discourse.processing.org/t/how-to-use-auto-complete/31169 "2021-07-11T15:06:05Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![Hapiel](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/hapiel/32/10226_2.png) [@Hapiel](https://discourse.processing.org/u/Hapiel)
#### Post date: [July 11, 2021, 3:06pm UTC](https://discourse.processing.org/t/how-to-use-auto-complete/31169/1 "2021-07-11T15:06:05Z")

</div>

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?

---

<div class="post-metadata">

### Author: ![glv](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/glv/32/18785_2.png) [@glv](https://discourse.processing.org/u/glv)
#### Post date: [July 11, 2021, 3:15pm UTC](https://discourse.processing.org/t/how-to-use-auto-complete/31169/2 "2021-07-11T15:15:49Z")

</div>

I use it all the time with Processing 3.5.4

Example:

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/6/6cd512769604876c396ccb2757e414826017605d.png)

After I type  
`s.`  
I hit CTRL+ SPACE and voila!  
I then select an item from the list and enter it.

`:)`

---

<div class="post-metadata">

### Author: ![Hapiel](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/hapiel/32/10226_2.png) [@Hapiel](https://discourse.processing.org/u/Hapiel)
#### Post date: [July 11, 2021, 3:33pm UTC](https://discourse.processing.org/t/how-to-use-auto-complete/31169/3 "2021-07-11T15:33:53Z")

</div>

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?

---

<div class="post-metadata">

### Author: ![glv](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/glv/32/18785_2.png) [@glv](https://discourse.processing.org/u/glv)
#### Post date: [July 11, 2021, 3:57pm UTC](https://discourse.processing.org/t/how-to-use-auto-complete/31169/4 "2021-07-11T15:57:22Z")

</div>

> [@Hapiel](#):
>
> Would you have any idea what I could do to fix this?

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:  
 ![image](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/8/819ef9232ef4ce6b0ca05602d70d3c3462747121.png)

`:)`

---

<div class="post-metadata">

### Author: ![Hapiel](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/hapiel/32/10226_2.png) [@Hapiel](https://discourse.processing.org/u/Hapiel)
#### Post date: [July 11, 2021, 11:09pm UTC](https://discourse.processing.org/t/how-to-use-auto-complete/31169/5 "2021-07-11T23:09:35Z")

</div>

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?

---

<div class="post-metadata">

### Author: ![glv](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/glv/32/18785_2.png) [@glv](https://discourse.processing.org/u/glv)
#### Post date: [July 12, 2021, 12:05am UTC](https://discourse.processing.org/t/how-to-use-auto-complete/31169/6 "2021-07-12T00:05:41Z")

</div>

Hello,

I found this related issue on GitHub:

> <https://github.com/processing/processing/issues/5691>
>
> \## 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.

`:)`

---

<div class="post-metadata">

### Author: ![Hapiel](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/hapiel/32/10226_2.png) [@Hapiel](https://discourse.processing.org/u/Hapiel)
#### Post date: [July 12, 2021, 10:27am UTC](https://discourse.processing.org/t/how-to-use-auto-complete/31169/7 "2021-07-12T10:27:25Z")

</div>

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!
