snowkit / atom-haxe

atom.io haxe plugin, includes completion, error checking and more.
MIT License
43 stars 10 forks source link

When pressing CTRL+B on a "non-haxe" project, nothing should be displayed to the user #28

Closed jeremyfa closed 9 years ago

jeremyfa commented 9 years ago

capture d ecran 2015-03-30 a 18 23 41

If I want to add the same shortcut for, let's say, building a coffee-script project, the haxe console will show up as well when pressing CTRL+B.

Maybe we should detect that when the selected flow/hxml file is not in the current workspace and if the current edited file is not a haxe/flow/hxml file, the console doesn't show up.

ruby0x1 commented 9 years ago

It's just meant to be in debug log, maybe you have debug logging enabled?

jeremyfa commented 9 years ago

No it's not:

capture d ecran 2015-03-30 a 21 40 01

ruby0x1 commented 9 years ago

Then it's just the wrong function call :}