# Autocomplete code from IDE

**URL:** https://discourse.processing.org/t/autocomplete-code-from-ide/18483
**Category:** p5.js
**Created:** [March 7, 2020, 1:17pm UTC](https://discourse.processing.org/t/autocomplete-code-from-ide/18483 "2020-03-07T13:17:32Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![JPatagonico](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jpatagonico/32/8321_2.png) [@JPatagonico](https://discourse.processing.org/u/JPatagonico)
#### Post date: [March 7, 2020, 1:17pm UTC](https://discourse.processing.org/t/autocomplete-code-from-ide/18483/1 "2020-03-07T13:17:33Z")

</div>

Hi,  
I activated the autocomplete option from the IDE preferences.  
Autocomplete using ctrl + space is not working. How does code autocomplete work?  
I performed tests with Java and P5.js and in both cases it did not work.

Thank you.

---

<div class="post-metadata">

### Author: ![debxyz](https://avatars.discourse-cdn.com/v4/letter/d/58956e/32.png) [@debxyz](https://discourse.processing.org/u/debxyz)
#### Post date: [March 7, 2020, 2:52pm UTC](https://discourse.processing.org/t/autocomplete-code-from-ide/18483/2 "2020-03-07T14:52:26Z")

</div>

Welcome to the forum,

Try quitting then relaunching processing? To see if the preference change takes effect.

---

<div class="post-metadata">

### Author: ![paulgoux](https://avatars.discourse-cdn.com/v4/letter/p/b9bd4f/32.png) [@paulgoux](https://discourse.processing.org/u/paulgoux)
#### Post date: [March 7, 2020, 3:42pm UTC](https://discourse.processing.org/t/autocomplete-code-from-ide/18483/3 "2020-03-07T15:42:47Z")

</div>

can confirm it works. You have to have some letters typed, then press ctrl + space.

---

<div class="post-metadata">

### Author: ![JPatagonico](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jpatagonico/32/8321_2.png) [@JPatagonico](https://discourse.processing.org/u/JPatagonico)
#### Post date: [March 7, 2020, 4:37pm UTC](https://discourse.processing.org/t/autocomplete-code-from-ide/18483/4 "2020-03-07T16:37:54Z")

</div>

Just work with Java. It does not work with P5.js  
How can I solve it?

Thanks

---

<div class="post-metadata">

### Author: ![kfrajer](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/kfrajer/32/196_2.png) [@kfrajer](https://discourse.processing.org/u/kfrajer)
#### Post date: [March 7, 2020, 4:54pm UTC](https://discourse.processing.org/t/autocomplete-code-from-ide/18483/5 "2020-03-07T16:54:22Z")

</div>

I tested java flavor and I also confirms it works using the PDE (v3.5.4 p5js mode v1.2.2 @ Win10) but not for p5.js mode. This option doesn’t seem to be supported in the [online editor](https://editor.p5js.org/) either.

You can head to [P5.js Github issues](https://github.com/processing/p5.js/issues) and create a request to support this feature. It will be helpful if you cross-reference yours posts.

Kf

---

<div class="post-metadata">

### Author: ![jeremydouglass](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jeremydouglass/32/20_2.png) [@jeremydouglass](https://discourse.processing.org/u/jeremydouglass)
#### Post date: [March 9, 2020, 6:10pm UTC](https://discourse.processing.org/t/autocomplete-code-from-ide/18483/6 "2020-03-09T18:10:28Z")

</div>

Autocomplete is a Java mode only feature of PDE, as far as I know. Even if it was added to the p5.js online editor it wouldn’t (automatically) also work in the PDE mode for p5.js, which is a Java-based editor.

Related PDE issues:

- [https://github.com/processing/processing/issues?q=is%3Aissue+autocomplete](https://github.com/processing/processing/issues?q=is%3Aissue+autocomplete)
