tomlau10 / gcc-make-run

Compile-run C/C++ source code and execute Makefile in Atom.
https://atom.io/packages/gcc-make-run
MIT License
24 stars 10 forks source link

Make Run & Compile Run - Double Window #12

Closed Dreded closed 7 years ago

Dreded commented 7 years ago

Whenever I run either command it opens two command windows... no other method of running the file results in this even with other plugins

and right after I submitted this I ran the plugin again and got 3 windows and now 4.... and now 5...

Ok Figured it out everytime I uninstall/disable and re-enable plugin I get an additional window popping up

fixed it by uninstalling then closing atom then re-installing

dlwalter commented 7 years ago

Same issue. Uninstalling and Reinstalling results in multiple calls to make when 'make run' is selected from the contex menu.

tomlau10 commented 7 years ago

sorry for a bit late 😅


found the cause: when deactivate the package, did not dispose the subscribed editor commands thus when reactivating, it registered the editor commands again ...

will fix it when i have time