Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

"Module.exports" autocomplete every time I open a curly brace

This is driving me nuts. Every time I open a curly brace I get an autocomplete suggestion for like 20 lines of code that automatically enters whenever I hit the enter key (which I do after typing a curly brace, obviously).

Example: https://imgur.com/a/LNRLNte

The code that pops up is my tailwind.config.js file verbatim.

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

You can try switching accept suggestion on enter this setting to off then suggestion won’t be inserted into the editor unless tab is pressed or switch to smart.

Given that not any plugin is overriding that setting.

If you have doubt why same code is popping up, it might be due to AI based plugin for suggesting (code which you used mostly) or you would have created a code snippet.

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading