# Code Completion with the Built-In editor

**URL:** <https://forums.solar2d.com/t/code-completion-with-the-built-in-editor/289804>\
**Category:** Outlaw Game Tools\
**Created:** [May 3, 2011, 5:03pm UTC](https://forums.solar2d.com/t/code-completion-with-the-built-in-editor/289804 "2011-05-03T17:03:07Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![fxdc92](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/f/a8b319/32.png) [@fxdc92](https://forums.solar2d.com/u/fxdc92)\
**Post date:** [May 3, 2011, 5:03pm UTC](https://forums.solar2d.com/t/code-completion-with-the-built-in-editor/289804/1 "2011-05-03T17:03:07Z")

</div>

Hello,

Just purchased this program and I must say thanks for creating this.

One of the main reasons that I purchased this program was the code completion feature of the built in editor. I cannot get this to work at all.

I have looked at the auto complete list and found terms and typed them into the editor but I get NO auto complete for anything.

I have the latest version, 2.2.x (just purchased it a few minutes ago)  
Am I doing something wrong?  
Thanks [import]uid: 51559 topic\_id: 9600 reply\_id: 309600[/import]

---

<div class="post-metadata">

**Author:** ![J\_A\_Whye](https://forums.solar2d.com/user_avatar/forums.solar2d.com/j_a_whye/32/74_2.png) [@J\_A\_Whye](https://forums.solar2d.com/u/J_A_Whye)\
**Post date:** [May 3, 2011, 8:02pm UTC](https://forums.solar2d.com/t/code-completion-with-the-built-in-editor/289804/2 "2011-05-03T20:02:06Z")

</div>

Here’s a quick video I made for someone a couple months ago that shows how it works:

[http://instantvideowebpages.com/play/notmplvid.php?540](http://instantvideowebpages.com/play/notmplvid.php?540)

See if that gets you on the right track.

Autocomplete isn’t where I want it to be yet, but it should work for the words that are in the list.

Jay

PS - Main problem I’m seeing is that sometimes it doesn’t pick up the words that I type. It’s supposed to add those to the autocomplete list but it’s not 100% at this point. [import]uid: 9440 topic\_id: 9600 reply\_id: 35032[/import]

---

<div class="post-metadata">

**Author:** ![fxdc92](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/f/a8b319/32.png) [@fxdc92](https://forums.solar2d.com/u/fxdc92)\
**Post date:** [May 4, 2011, 7:55am UTC](https://forums.solar2d.com/t/code-completion-with-the-built-in-editor/289804/3 "2011-05-04T07:55:18Z")

</div>

Thanks for the video Jay

I understand how it supposed to work but even after doing exactly what you did in the video (same exact words)I cant get it auto complete.

One thing I did notice was that if I type “local” and then start to delete (delete the “cal” from the end) it using backspace I do see the “cal” in gray like it should be. Then if I hit tab, it will complete the word “local”

I even tried adding some words to the auto complete list but they would not work either. I also tried changing the font and size but that didn’t help

Thanks for trying [import]uid: 51559 topic\_id: 9600 reply\_id: 35079[/import]

---

<div class="post-metadata">

**Author:** ![J\_A\_Whye](https://forums.solar2d.com/user_avatar/forums.solar2d.com/j_a_whye/32/74_2.png) [@J\_A\_Whye](https://forums.solar2d.com/u/J_A_Whye)\
**Post date:** [May 4, 2011, 2:41pm UTC](https://forums.solar2d.com/t/code-completion-with-the-built-in-editor/289804/4 "2011-05-04T14:41:44Z")

</div>

Very odd. Are you using a “non-standard” OS such as the Lion preview, or Panther?

Or maybe OSX on a netbook?

Anything “weird” about your setup?

Jay  
[import]uid: 9440 topic\_id: 9600 reply\_id: 35114[/import]

---

<div class="post-metadata">

**Author:** ![fxdc92](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/f/a8b319/32.png) [@fxdc92](https://forums.solar2d.com/u/fxdc92)\
**Post date:** [May 4, 2011, 5:07pm UTC](https://forums.solar2d.com/t/code-completion-with-the-built-in-editor/289804/5 "2011-05-04T17:07:14Z")

</div>

Hi Jay,

No, all standard stuff  
Macbook with 10.6.7, nothing special [import]uid: 51559 topic\_id: 9600 reply\_id: 35137[/import]

---

<div class="post-metadata">

**Author:** ![TheRealTonyK](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/t/74df32/32.png) [@TheRealTonyK](https://forums.solar2d.com/u/TheRealTonyK)\
**Post date:** [June 13, 2011, 9:53am UTC](https://forums.solar2d.com/t/code-completion-with-the-built-in-editor/289804/6 "2011-06-13T09:53:44Z")

</div>

Exact same reason for purchase, exact same problem.  
Mac OS X  
Version 10.6.7  
2.4 GHz Intel Core 2 Duo  
4 GB Memory

MacbookPro 13"

I’ll try on windows later… [import]uid: 21331 topic\_id: 9600 reply\_id: 40550[/import]

---

<div class="post-metadata">

**Author:** ![TheRealTonyK](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/t/74df32/32.png) [@TheRealTonyK](https://forums.solar2d.com/u/TheRealTonyK)\
**Post date:** [June 13, 2011, 10:09am UTC](https://forums.solar2d.com/t/code-completion-with-the-built-in-editor/289804/7 "2011-06-13T10:09:04Z")

</div>

Appears to work just fine in Windows on same machine. [import]uid: 21331 topic\_id: 9600 reply\_id: 40552[/import]

---

<div class="post-metadata">

**Author:** ![J\_A\_Whye](https://forums.solar2d.com/user_avatar/forums.solar2d.com/j_a_whye/32/74_2.png) [@J\_A\_Whye](https://forums.solar2d.com/u/J_A_Whye)\
**Post date:** [June 13, 2011, 4:07pm UTC](https://forums.solar2d.com/t/code-completion-with-the-built-in-editor/289804/8 "2011-06-13T16:07:29Z")

</div>

One more thing – are you editing code in tabs or in separate windows?  
I should have v2.3 out in a few days and I’ve done some pounding on the autocomplete engine so hopefully things will smooth out for you.

Jay [import]uid: 9440 topic\_id: 9600 reply\_id: 40603[/import]

---

<div class="post-metadata">

**Author:** ![TheRealTonyK](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/t/74df32/32.png) [@TheRealTonyK](https://forums.solar2d.com/u/TheRealTonyK)\
**Post date:** [June 15, 2011, 12:21pm UTC](https://forums.solar2d.com/t/code-completion-with-the-built-in-editor/289804/9 "2011-06-15T12:21:55Z")

</div>

Sorry for delay. That would be tabbed. [import]uid: 21331 topic\_id: 9600 reply\_id: 40880[/import]
