-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Quickly switching between js files causes freezing. #11046
Comments
I'm using brackets 1.3 on windows 8.1 |
@PabloK Hii.. Are you facing this problem only with js files? Do these js files contain long lines (eg. minified js)? What is the size of the project opened (1> Right Click on folder opened in Brackets, go to Properties, what is shown in 'Contains :' 2> Or please run following command on Brackets Developer Tool console : require("project/ProjectManager").getAllFiles().done( function (fileLists) { console.log(fileLists.length); }); and check the number. |
Some files contain minified javascript but quickly pressing the files generated the same problem for short 100-200 row javascript files as well. I will aquire the information and return as soon as I can. |
54 files in the project. I have a minified copy of require js in the project and switching from that file to another js file causes the problem immediately. |
I'm seeing this as well. Freezing up to 30 seconds. But not just js files. HTML as well. I hadn't seen this prior to 1.3. Happens on both my Mac and Windows 8.1 machine. It doesn't always consistently happen. Haven't been able to identify exactly what types of files are causing this issue. |
I have win 8 aswell. My problems are exactly the same. 100% Cpu load and about 30s of freezing. Json files have the same problem as js and html. Do you have javascript in your html templates? Thinking it might be somthing with the highlightibg engine. |
I was able to resolve my issue by removing the Ternific extension. |
@PabloK does removing the Ternific extension resolve your issue, too? |
Is that an extension that comes with brackets? I only installed the theme extension. I have actually uninstalled brackets after this bug. because I could not open it without having it crash. |
Sorry to hear that! No, it's not an extension that comes bundled with Brackets, so apparently it's not what caused the issue for you. |
@dalekprime sorry for the inconvenience. Someone else had reported this issue with ternific and I have not had the chance to profile the code to find the issue. I will hopefully have some time this weekend. To be perfectly clear though, ternific is only for JS. So if you are having performance issues with other file types, then I am not sure it would be ternific. |
Hi I'm using brackets on a high-end machine but a simple task such as switching quickly between js files in the GUI causes it to freeze. This seems to occur even for small js files. Eventually the GUI catches up but some times I have to wait for several minutes.
The text was updated successfully, but these errors were encountered: