-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Bug with JS autocompletion #12197
Comments
Hi @Tchoupinax, can confirm! Actually just
This will throw the following at ScopeManager#L1073
TernWorker will fail to walk over the I'll investigate it further. |
See: Error raised in tern_worker when parsing HTML #11162 Perhaps some research has already been done? Further, personally, code hinting and autocomplete are main reasons for using Brackets. But, I think hinting and auto complete is unreliable and these issues need to be more carefully track. |
@K-Thompson have you tested the code hints against newer versions of Acorn / Tern (such as with #11569?) |
This is fixed with the merge of #11569 and will come to you in Release 1.8. |
Hello,
i found a bug about JS autocompletion on Brackets.
Let's create an html file like this :
`
<title>Home</title> <script> </script> <style> </style> `Then, all is working right. When you write "d" between script tag, Brackets gives you some suggestion. Now, insert in body this code
"<p>...</p>"
. You can replace p by other tag like h1, h3, etc...After that, save your file and restart brackets (Close it and start it). Then, after restarting it, try to write again "d" between script tag. Autocompletion will not work.
While you do not restart Brackets, this code
"<p>...</p>"
prevent JS autocompletion from working.IMPORTANT. If you close Brackets with this file overview, this bug will appear. However, if you close it with an other file, autocompletion will work perfectly while do not open this file in brackets.
Autocompletion works for CSS or HTML anyway.
Sorry for my bad english. If you need more information on what i did, just ask it.
Regards,
The text was updated successfully, but these errors were encountered: