thehogfather / brackets-code-folding

Code folding extension for brackets IDE
134 stars 42 forks source link

Code Folding Extension error #70

Closed soulrelic616 closed 10 years ago

soulrelic616 commented 10 years ago

The extension suddenly became unresponsive, Do you know what could be causing this?

sprint 40 experimental build 0.40.0-13109

thehogfather commented 10 years ago

You would need to provide some more information.

What OS? Does this happen on any file? whats the typical size of the file? and does this occur every time you open Brackets? Basically, how can I reproduce the error? Ideally sharing a file that causes the issue would be useful.

soulrelic616 commented 10 years ago

Hi,

Thanks for the prompt answer... the OS is Win7, it does happen with every single file I try to load. And yes it occurs every time I open brackets.

Well I'm not sure sharing a file that causes the issue would be much help as every single file doesnt seem to be working with the extension.

It works fine every time I try to reinstall. But it's gone again next time I open the program.

Last time it worked fine was when I saved my project but had some tags folded in a LESS file. The extension was gone when I opened it again. (I tried to delete the brackets.json) saved settings but that didn't help.

soulrelic616 commented 10 years ago

UPDATE:

I managed to solve the issue, I am not totally sure how but it worked.

I downloaded the codemirror upgrade ZIP from this link: https://github.com/thehogfather/brackets-code-folding/tree/codemirror_upgrade

I manually installed the extension, after doing that it didnt work - the manager still said "extension error" but this time it had an "update" option by it (before no update was available). I hit the update option and refreshed brackets.

Now the extension works no matter if I refresh or close brackets.

Thanks for your help... please let me know if you need any more info regarding this.

thehogfather commented 10 years ago

ok thanks for letting me know. I understand why you get an error after installing the codemirror_upgrade branch. It is because that branch uses old APIs that have changed in sprint 40. I however dont know why your initial problem occurred. I will close the issue for now but reopen if the problem reoccurs.

soulrelic616 commented 10 years ago

Hello,

I decided to update brackets and sadly the extension shows an error again :( I tried to update it without any luck.

thehogfather commented 10 years ago

Could you check if there is anything in the Brackets dev extensions folder? You can get to it via: Program Files/Brackets/www/extension/dev where "Program Files" is where you installed brackets.

Also if possible, a list of all extensions installed would be useful for debugging.

soulrelic616 commented 10 years ago

Hi Patrick...

I seem to have found the issue. I started disabling the extensions one by one and see what could have been clashing with yours, and found out that the extensions "bracket-match-highlighter" was indeed causing the error in yours. I deleted the extension and the Code Folder has been working since.

Thanks again for your time.

thehogfather commented 10 years ago

Thanks for the update. I will have a look at the extension and see what the problem is.