Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JBIDE-21949 - Allow user to turn on/off showing console when output changes #405

Merged
merged 1 commit into from
Mar 24, 2016

Conversation

xcoulon
Copy link
Member

@xcoulon xcoulon commented Mar 24, 2016

Changing the code to show the message console when it is created only,
then offering two methods to write lines in the shell and activate the
view or not (default).

Also, upgrading the project's execution environment to Java 1.7 to take
advantage of the 'try-with-resources' statement to make sure that the
outputstream is closed upon writting.

Signed-off-by: Xavier Coulon xcoulon@redhat.com

@xcoulon
Copy link
Member Author

xcoulon commented Mar 24, 2016

@robstryker could you review this PR please ?

@robstryker
Copy link
Member

Do we want to change the interface too? It's new so you can change it. Otherwise these changes won't be really available to most implementations.

@robstryker
Copy link
Member

Actually I think you should add it to the interface. There will be some clients who do wish ti to be active on write. In fact, I'd suggest it should be active-on-write by default since that's the previous behavior.

@xcoulon
Copy link
Member Author

xcoulon commented Mar 24, 2016

@robstryker ok, let me revert the default behaviour in the API, then

…hanges

Changing the code to show the message console when it is created only,
then offering two methods to write lines in the shell and activate the
view or not (default is 'true').

Also, upgrading the project's execution environment to Java 1.7 to take
advantage of the 'try-with-resources' statement to make sure that the
outputstream is closed upon writting.

Signed-off-by: Xavier Coulon <xcoulon@redhat.com>
@xcoulon
Copy link
Member Author

xcoulon commented Mar 24, 2016

@robstryker I updated the patch after your review (thanks about it !). Please let me know if this is better now ;-)

@robstryker
Copy link
Member

looks great, +1, i'll merge.

@xcoulon
Copy link
Member Author

xcoulon commented Mar 24, 2016

thanks !

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

Successfully merging this pull request may close these issues.

None yet

2 participants