Debugger - "evaluate selected" ?
Hi,
How about new debugger option where code selected gets evaluated and it's result is displayed in a tooltip ? For example, see the image attached - I've selected "event.getPhaseId()" but tooltip displays nothing, there's no one, actually. If instead it was displaying "APPLY_REQUEST_VALUES 2" - that would be waaay more faster than going with Alt+F8, Enter, Esc, Esc (first Esc to remove the selection, second to close the window)
Attachment(s):
1.png
Please sign in to leave a comment.
Drag and drop to watches :)?
Evgeny Goldin wrote:
--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"
I like this idea a lot. Quick Evaluate or some such name - it would
work like the way Quick Documentation Lookup works.
N.
Evgeny Goldin wrote:
I wouldn't say it's the same. Fiest, I may have "Watches" tab hidden. Second, even if I had it - I don't want to watch them (and then remove later), just a quick lookup ..
Also, it seems to me that selecting different portions of code and seeing results right away will work much much faster than having to drag-n-drop each one. Just imagine it: select, select, select .. Fast ! Now: drag-n-drop, drag-n-drop, drag-n-drop .. Slow See the difference ? It even takes longer to type it :)
Maxim Mossienko (JetBrains) wrote:
Actually - what I'd LOVE to see is the whole evaluate window to shift
from being a model dialog to a freeform draggable tab in the new debug
window/panel and ALWAYS have it available when debugging.
That modal dialog annoys me greatly...
Btw, expression evaluation dialog is not modal
Mark Derricutt wrote:
>> Drag and drop to watches :)?
--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"
Alt + Shift + F8 Quick evaluate
Evgeny Goldin wrote:
--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"
So it isn't... I hadn't noticed that before - personally I think I'd
rather have this as a dockable tool window (or part of the new debug
window) - would make working on the laptop easier.
Maybe some form REPL type command line interface would be nice as well,
auto-execute when you hit enter etc.
Maxim Mossienko (JetBrains) wrote:
Opa, that's nice, didn't know about that. Thanks !
But you guys managed to hide it pretty well ! This shortcut doesn't appear in either keymap PDF (http://www.jetbrains.com/idea/docs/ReferenceCard60.pdf) or any menu or something .. Did I miss it ?
Maxim, it seems that AltShiftF8 window doesn't remember it's size and position ..
See the images attached - 1.png is how it opens for the first time, 2.png is how I move it a little, 3.png is how it opens for the next time which is again identical to 1.png :(
But again, great shortcut !
Attachment(s):
1.png
2.png
3.png
Just tried to make the window size smaller - it still looses it's original position and size. I mean when I hit AltShiftF8 for the second time I receive the window kind-of the same size (but still different) and at another position than where I've left it in the last time
Two more issues with AltShiftF8 window:
Rich clicking doesn't work, i.e I can't choose "View As", for example.
Clicking "Set As Root", "Back", "Forward" buttons on the top makes the window jump immediately to some predefined coordinates so I need to drag it back all the time.
Hello,
It is by design a popup.
Fixed.
Thank you
-
Anna Kozlova
JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"
Nice, thanks a lot ! How about this pop-up remembering it's last size and position - will it be fixed as well ? Dragging it back to where I want it to be is kind of tiresome ..
Hello Evgeny,
As I can see it stores size and doesn't store location. Seems quite natural
for me that popup appears under cursor instead of last position (last cursor
position)
Thank you
-
Anna Kozlova
JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"
I'm not sure .. For me it would be more comfortable if this pop-up would remember it's position as otherwise it jumps all over the screen every time I press AltShiftF8 and every time it ends up being in another place (btw, I can now see the position is related to where the cursor is, didn't notice it before). May be it's just me, I still don't think of it as a pop-up .. I still think of it as kind-of Evaluation Expression window.