-
Notifications
You must be signed in to change notification settings - Fork 146
Auto pin behavior for opening new console #2240
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
Auto pin behavior for opening new console #2240
Conversation
1972493 to
ecec74e
Compare
ac36083 to
7240aea
Compare
...se.debug.ui/ui/org/eclipse/debug/internal/ui/preferences/DebugPreferencesMessages.properties
Outdated
Show resolved
Hide resolved
7240aea to
f8bf07b
Compare
debug/org.eclipse.ui.console/src/org/eclipse/ui/internal/console/messages.properties
Outdated
Show resolved
Hide resolved
f8bf07b to
6718b67
Compare
debug/org.eclipse.ui.console/src/org/eclipse/ui/internal/console/ConsoleViewConsoleFactory.java
Show resolved
Hide resolved
b0341f3 to
13a1dd5
Compare
debug/org.eclipse.ui.console/src/org/eclipse/ui/internal/console/OpenConsoleAction.java
Outdated
Show resolved
Hide resolved
...se.debug.ui/ui/org/eclipse/debug/internal/ui/preferences/DebugPreferencesMessages.properties
Outdated
Show resolved
Hide resolved
7b021b9 to
65e344e
Compare
debug/org.eclipse.ui.console/src/org/eclipse/ui/internal/console/OpenConsoleAction.java
Outdated
Show resolved
Hide resolved
debug/org.eclipse.ui.console/src/org/eclipse/ui/internal/console/ConsoleViewConsoleFactory.java
Outdated
Show resolved
Hide resolved
debug/org.eclipse.ui.console/src/org/eclipse/ui/internal/console/ConsoleViewConsoleFactory.java
Outdated
Show resolved
Hide resolved
debug/org.eclipse.ui.console/src/org/eclipse/ui/console/IConsoleConstants.java
Outdated
Show resolved
Hide resolved
debug/org.eclipse.ui.console/src/org/eclipse/ui/console/IConsoleConstants.java
Show resolved
Hide resolved
...org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/preferences/ConsolePreferencePage.java
Outdated
Show resolved
Hide resolved
65e344e to
47bcce1
Compare
|
LGTM. @iloveeclipse anything to add or can I merge this? |
iloveeclipse
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have one comment/change request regarding new behavior and few issues with the rest of the new code.
debug/org.eclipse.ui.console/src/org/eclipse/ui/internal/console/ConsoleViewConsoleFactory.java
Show resolved
Hide resolved
debug/org.eclipse.ui.console/src/org/eclipse/ui/internal/console/ConsoleViewConsoleFactory.java
Show resolved
Hide resolved
debug/org.eclipse.ui.console/src/org/eclipse/ui/internal/console/Messages.java
Outdated
Show resolved
Hide resolved
debug/org.eclipse.ui.console/src/org/eclipse/ui/internal/console/Messages.java
Outdated
Show resolved
Hide resolved
debug/org.eclipse.ui.console/src/org/eclipse/ui/internal/console/messages.properties
Outdated
Show resolved
Hide resolved
debug/org.eclipse.ui.console/src/org/eclipse/ui/internal/console/ConsoleView.java
Outdated
Show resolved
Hide resolved
debug/org.eclipse.ui.console/src/org/eclipse/ui/internal/console/OpenConsoleAction.java
Show resolved
Hide resolved
debug/org.eclipse.ui.console/src/org/eclipse/ui/internal/console/OpenConsoleAction.java
Outdated
Show resolved
Hide resolved
...org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/preferences/ConsolePreferencePage.java
Show resolved
Hide resolved
debug/org.eclipse.ui.console/src/org/eclipse/ui/internal/console/ConsoleViewConsoleFactory.java
Outdated
Show resolved
Hide resolved
338e090 to
ee23411
Compare
|
@mehmet-karaman : I see you've pushed new commit but some of the comments are still not resolved. Does it mean, you plan to push yet another change, should I wait with the review till then? |
...se.debug.ui/ui/org/eclipse/debug/internal/ui/preferences/DebugPreferencesMessages.properties
Outdated
Show resolved
Hide resolved
| PatternMatchListenerExtension_5=is missing required enablement expression and will be removed | ||
| UpdatingConsoleState=Updating console state | ||
| UpdatingConsoleState=Updating console state | ||
| TurnOnAutoPinDialogMessage=If a new Console view is opened, it's possible to auto pin the old Console view and new Console view to keep its content. Would you like to turn on the auto pin? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What about this:
Should we pin the old and new Console views (so different console pages could be updated independently)?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
debug/org.eclipse.ui.console/src/org/eclipse/ui/internal/console/OpenConsoleAction.java
Outdated
Show resolved
Hide resolved
ee23411 to
33e79be
Compare
No.. I wanted to recheck before resolving them.. After amend + push I couldn't see your comments.. It looks like there is a new feature of github, which is working differently.. Switched to classic and now I can see all again.. |
33e79be to
fedeafc
Compare
fedeafc to
1c65fb4
Compare
iloveeclipse
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe messages and dialog title need a change, I will push all requested changes now and also I will rebase on latest master.
debug/org.eclipse.ui.console/src/org/eclipse/ui/internal/console/ConsoleMessages.properties
Outdated
Show resolved
Hide resolved
debug/org.eclipse.ui.console/src/org/eclipse/ui/internal/console/ConsoleMessages.properties
Outdated
Show resolved
Hide resolved
...g.eclipse.ui.console/src/org/eclipse/ui/internal/console/ConsoleUIPreferenceInitializer.java
Outdated
Show resolved
Hide resolved
debug/org.eclipse.ui.console/src/org/eclipse/ui/internal/console/ConsoleViewConsoleFactory.java
Outdated
Show resolved
Hide resolved
- Added "auto pin behavior" for the Console view. If user opens a new Console view from opened Console, it will raise the question if Consoles should be pinned or not. - Added new preference to the ConsolePreferencePage - Bu default the preference will be enabled See eclipse-platform#2240
1c65fb4 to
8f2bf10
Compare
|
@mehmet-karaman : please provide N&N for the change. |
|
The N&N PR: eclipse-platform/www.eclipse.org-eclipse#438 |



The console view has a "pin console" action, which pins the current console. If the user wants a new console, the original one should be pinned, otherwise a console switch will switch all unpinned console views.
console, it will raise the question if auto pin should be done.