Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Ability to turn off code hinting #4716

Closed
1c7 opened this issue Aug 9, 2013 · 14 comments
Closed

Ability to turn off code hinting #4716

1c7 opened this issue Aug 9, 2013 · 14 comments

Comments

@1c7
Copy link

1c7 commented Aug 9, 2013

My computer performance is not very good....
when i use brackets 28.. edit javascript code are slow..

example: input "al"(alert) or "fun"(function)..
software will stop.. wait about 300~500 Millisecond.
then pop out auto complete list...
this is Annoying...
how to close auto complete Feature?
Thanks!

@njx
Copy link
Contributor

njx commented Aug 13, 2013

@1c7 - are you seeing this in all JS files, or just in <script> blocks in HTML files? If the latter, this could be the same as #4608. If that's the case, let us know and we'll close this out as a duplicate.

As a workaround for now, you can move aside or delete the JavaScript code hints extension. First, locate the Brackets source folder in your installation; on Windows, this is in the "www" folder next to the Brackets executable (in Program FIles\Brackets Sprint 28); on Mac, you have to select the Brackets application file, right-click and choose "Show Package Contents", then navigate into the Contents/www folder. Within the www folder, navigate into extensions/default, then select the JavaScriptCodeHints folder and move it somewhere else (e.g. to your desktop). Then restart Brackets and JS code hinting should be disabled. To re-enable it, you can just move the folder back in.

@ghost ghost assigned njx Aug 13, 2013
@njx
Copy link
Contributor

njx commented Aug 13, 2013

Assigning to me to track until we figure out what's going on.

@Revlin
Copy link

Revlin commented Sep 8, 2013

Thank you much. The lag of this feature was making Brackets unusable as the javascript portion of my project grew in size/complexity. Will there be a menu option soon?

@Kingsler34
Copy link

I'm also experiencing this slowdown with JS autocomplete when using Brackets sprint 30.

I found that it was occurring mostly when trying to autocomplete JS that was inline inside of my .html documents. If I moved this JS to an external .js file, then the autocomplete ran perfectly with no lag.

@marcelgerber
Copy link
Contributor

I experienced this yesterday, too.
My pc is quite good (although the Brackets start takes 6 seconds), but it hung some time (not to much, I would say 50-100 ms).
Would be cool to be fixed.

@njx
Copy link
Contributor

njx commented Sep 23, 2013

Hi--are you all only seeing this in <script> blocks? If so, that's #4608. If not, please let us know.

@marcelgerber
Copy link
Contributor

It's happened in a .js file to me.
I've just tested it again, it took most time if I just write a dot into "nothing" (clear new line). But it isn't that much to me, because as I said my computer is quite fast (Win8).
But if I imagine how long this will take on my old Vista-PC...

@marcelgerber
Copy link
Contributor

Ok, I've tested it on my old Vista-PC (it is really slow).
If you just type a dot in a new (clear) line, it takes about 500ms to 1s to load the results. During this time the whole program hangs, so I can't type any more and so on. After that it hangs for every single letter I type (for example I want to type .save, this takes up to 3s and I must type some letters more often).
I've experienced this all in a .js file.

@Revlin
Copy link

Revlin commented Jan 23, 2014

Happens for me in .js files. I'm on Windows 7

@njx njx assigned dangoor and unassigned njx Mar 14, 2014
@njx
Copy link
Contributor

njx commented Mar 14, 2014

Tagging JS Code Hints and reassigning to @dangoor since he's focused on improving that area.

@dangoor dangoor changed the title How to close Auto Complete feature? Ability to turn off code hinting Mar 17, 2014
@peterflynn
Copy link
Member

We've had the ability to turn off code hints for quite some time now. The secondary issue in this bug is poor performance of JS code hints, but we have a bunch of items in Trello about improving JS code hints (such as this one). Any objections to closing this? (CC @dangoor, assignee)

@dangoor
Copy link
Contributor

dangoor commented Mar 8, 2015

👍

@ghost
Copy link

ghost commented Oct 26, 2015

How can i turn off auto tag closing?

@ghost ghost unassigned dangoor Oct 26, 2015
@redmunds
Copy link
Contributor

@ifexdebest

How can i turn off auto tag closing?

See info about the closeTags preference in How to Use Brackets doc.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

10 participants