thehogfather / brackets-code-folding

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

Attempting to register an already-registered command #54

Closed FezVrasta closed 10 years ago

FezVrasta commented 10 years ago

Brackets S38 Git version.

Attempting to register an already-registered command: codefolding.collapse.all CommandManager.js:179
Attempting to register an already-registered command: codefolding.expand.all CommandManager.js:179
Attempting to register an already-registered command: codefolding.collapse CommandManager.js:179
Attempting to register an already-registered command: codefolding.expand CommandManager.js:179
MenuItem added with same id of existing MenuItem: view-menu-codefolding.collapse Menus.js:578
MenuItem added with same id of existing MenuItem: view-menu-codefolding.expand Menus.js:578
MenuItem added with same id of existing MenuItem: view-menu-codefolding.collapse.all Menus.js:578
MenuItem added with same id of existing MenuItem: view-menu-codefolding.expand.all Menus.js:578
Cannot assign Ctrl-Alt-C to codefolding.collapse. It is already assigned to codefolding.collapse KeyBindingManager.js:463
Cannot assign Ctrl-Alt-X to codefolding.expand. It is already assigned to codefolding.expand KeyBindingManager.js:463
Cannot assign Alt-1 to codefolding.collapse.all. It is already assigned to codefolding.collapse.all KeyBindingManager.js:463
Cannot assign Alt-Shift-1 to codefolding.expand.all. It is already assigned to codefolding.expand.all 
thehogfather commented 10 years ago

Can you give more context to these warnings/errors? I cannot reproduce them when I use the git version.

FezVrasta commented 10 years ago

I just start Brackets without doing anything else... maybe was something in my setup because now I don't get this error anymore.

thehogfather commented 10 years ago

Do you always get this error? It sounds like the extension is trying to install twice. Would you mind checking your extensions folder? Please check the global one (that you can access from the brackets "Show extension folder" menu) as well any dev versions that might be available in the brackets/src/extensions/dev folder (since you are using the git version).

Secondly does the extension load anyway? Regardless of the error? Thanks

FezVrasta commented 10 years ago

Yes there was two identical folders, now it works correctly. Thanks.

thehogfather commented 10 years ago

Great!