How to disable code autocomplete

Is there any way to disable the code autocomplete?

It is not uncommon for the app editor to become super laggy, even in small pages, and as I typing the autocomplete decides to add random tabs and even new lines.

Sometimes it takes 10 minutes just to write 8 lines and it's It is beyond me how this has been happening for months and no one is raising this issue.

1 Like

Hey @unexpectedvoid, welcome back to the Community! I hear you, this can definitely be frustrating. I have not seen other reports yet and I could not reproduce it on my end. A few quick questions to help narrow this down:

  • Which browser are you using?
  • Are you on Retool Cloud or self hosted If self hosted, which version?
  • Does the autocomplete issue appear in all apps or only some?
  • Which editors show it most? (For example JavaScript queries, transformers, or SQL editors)
  • Does it persist after clearing your cache or using an incognito window?
  • Can you share a short Loom video showing the behavior?
  • Is your network connection stable?

Thank you, this would be really helpful! :pray:t3:

1 Like

Chiming in for visibility. For me, the code autocomplete issue is part and parcel with the runaway CPU issue I've been experiencing for the last year. Whenever the CPU goes haywire (as I've posted about before, for me this usually happens when deleting components or working on a page that includes a ListView component), then autocomplete also becomes a drag on usability.

1 Like

1 - Browser: Chrome, Safari, etc. Doesn't really matter
2 - Retool Cloud
3 - Yes, the autocomplete/lag issue is somehow random and has nothing to do with the number of components/queries
4 - Pretty much the whole app becomes borderline unusable
5 - Yes, this issue is random but still happen a lot in a single day
6 - I'll record once it happens
7- 1 gigabit fiber optic connection via ethernet

I'm pretty sure this is an infinite loop happening within the retool editor app, I have built bigger apps myself and I can tell. Even something remove a single component that has no connections with anything else, can take 20 seconds or more.

This is just one light example of the app lagging, sometime I must refresh the browser several times.

App lagging again and, as you can see, the autocomplete is useless and even provides wrong information.

The editor is removing characters and new lines.

1 Like

Thanks so much for sharing the recordings and detailed findings! Let me take a closer look and get back to you! @unexpectedvoid

1 Like

Just commenting again to check the status of this issue.

The editor continues to be unbearably extremely slow with a low data quantity, I get 300% cpu spikes on Google Chrome, between 3 and 4 gigabytes of ram used as I tried to todo basic things has adding/moving a button.

At this point I start to question if ReTool is actually being maintained, I can’t be the only affected by this since the last 4 months at least.

1 Like

Hey @unexpectedvoid, thanks for the nudge! I’m surfacing this issue internally and gathering some potential ways to debug it. Really appreciate your patience on this. If you find anything else that might help me while I work on a solution, please let me know! :pray:

1 Like

Hello again @unexpectedvoid, for further debugging, can you share which country you’re based in? This can help me narrow down any region-specific issues, thanks!

1 Like

Portugal

1 Like

Thank you @unexpectedvoid I will let the team know!

1 Like

Hey @unexpectedvoid, thanks for waiting. There isn’t a way to disable autocomplete in our code editor at the moment unfortunately. A few things I’d love to confirm so we can narrow this down together!

  1. Can you share the specs of your computer?
  2. Is anyone else in your organization seeing the same behavior?
  3. Which version of Chrome are you on and can you try updating it?
  4. Do the same issues show up for you in other browsers?
  1. Macbook Pro 16- Apple M2 Max with 64 GB
  2. Yes, it only happens in the Editor, not the final app
  3. At the moment 142.0.7444.162
  4. Yes, I tried using multiple browsers but the result is the same.

There is some infinite loop that is triggered by random app interactions rendering the app unusable.

Hey @unexpectedvoid, thanks for the report! Can you check if you have any preloaded JS or preloaded CSS in your app? I want to rule out the possibility of those being the issue.

I’m not using those, both empty.

If you’re able to replicate this consistently or happen to run into it again, can you export a HAR file from one of those sessions and send it over? You can DM it to me here on the forum. Thank you!

Hey happy new year @unexpectedvoid :tada: Just checking in to see how you’re doing. Were you able to take a look at my response above? Let me know if you need more help! :+1:t3: