Skip to content
This repository has been archived by the owner on Oct 28, 2022. It is now read-only.

ANTLR Console should not kick in #118

Open
rslemos opened this issue Apr 26, 2015 · 5 comments
Open

ANTLR Console should not kick in #118

rslemos opened this issue Apr 26, 2015 · 5 comments
Labels

Comments

@rslemos
Copy link

rslemos commented Apr 26, 2015

When a grammar file is saved, antlr4ide starts compiling the grammar on background. That is nice.

What is not nice though is that the ANTLR Console kicks in, even when the view is minimized. Other consoles have buttons to control this behavior: "Show Console When Standard Out Changes" and "Show Console When Standard Error Changes".

@dev0173
Copy link

dev0173 commented Aug 14, 2015

For me, this behaviour is more of a problem when trying to test the grammar using the "Parse Tree" tab. Typing a test string normally result in the console grabbing focus before I've finished. I normally have to resort to preparing quick test strings externally then paste them in. Being able to turn off the console's "activate on write" feature would be great.

@Meffi42
Copy link

Meffi42 commented Sep 9, 2015

You can switch off the automatic build:

"Code is automatically generated on save if the grammar is valid. You can turn off this feature by going to: Window > Preferences > ANTLR 4 > Tool and uncheck the "Tool is activated" option. From there you can configure a couple more of options."

found here: https://github.com/jknack/antlr4ide

@rslemos
Copy link
Author

rslemos commented Oct 18, 2016

@StefanieScherzinger I still think that automatically compiling the grammar is nice and really useful. What I miss is some control on whether the console will grab focus or not (see, other consoles have such controls). So I can have simultaneously both "automatic build" AND no console focus grabbing (only this last one is a nuisance).

@HSorensen HSorensen added the bug label Nov 14, 2016
@HSorensen
Copy link
Member

antlr4ide should adhere to standard usage of console where the focus on changes to either stdout and stderr is optional.

@vbachvarov
Copy link

1+ for this bug.
The plugin is extremely useful and kuddos to the author. But the constant popping of the ANTLR4 console makes other views constantly to lose focus or get hidden behind it.
I really miss the two buttons of the normal console - activate when stdout changes, and activate when stderr changes. This should be configurable.
Another solution would be to just reuse the standard console and not have a special ANTLR4 one. This would automatically solve the bug.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

5 participants