What is LinqPad "Auto Track Execution" and "Jump to Execution Point" ? How to use them, if you can give an detail example would be great appreciate.
This is not a detailed example, but it illustrates the feature. If you have an script like
"1".Dump();
Thread.Sleep(10000);
"2".Dump();
Thread.Sleep(10000);
"3".Dump();
...
With Auto-track Execution enabled, you will get a yellow arrow pointing to each line as it is being executed.
With Auto-track Execution disabled, you can use the 'Jump to Execution Point' menu option or shortkey (Ctrl-Shift-J) to make the cursor jump to the currently executing line.
However Auto-track does not scroll/re-position automatically, so if the current line is not visible you need to use the 'Jump to Execution Point' to get it displayed.
Related
The Intellij Database Navigator plugin is handy, but every character I type when entering SQL I get prompted with a list of idiotic and irrelevant "suggestions", which I then have to dismiss to see what I'm typing. This "feature" changes the simple task of typing SQL into an intensely annoying and painfully slow process.
How do I turn suggestions off?
Navigate to:
Preferences
+-> Tools
+-> Database Navigator
+-> Code Completion
In the "Filter" panel there, clear the "Basic code completion" and "Extended code completion" selectors by clicking them twice, so that nothing whatsoever remains active.
I'm using the terraform plugin specifically but this is a more general intellij hotkey question.
I start typing a supported element and autocomplete pops up:
Hit tab and it sets up the method and puts the cursor in the first input and I can start typing and it gives me possible inputs:
But when i hit tab or enter it just completes it and leaves the cursor where it is:
Is there a hotkey to complete one of those options and then also jump to the next input?
There is a ticket for this feature, but its not implemented yet, please vote: https://youtrack.jetbrains.com/issue/IDEABKL-7063
From IntelliJ 14 help:
There are certain cases when IntelliJ IDEA will not stop at a
breakpoint. Consider the following situation: Two breakpoints are set
at the different methods of a class, and there suspend policy is set
to All. When one of the breakpoints is hit, some step actions are
performed. If at the time of stepping another thread hits the second
breakpoint, profuct will not stop there.
I thought it's a typo but "product will not stop there" still doesn't make sense.
I'm pretty sure they mean that the execution will not stop there, but I was wondering what the word there was supposed to be?
The word was supposed to be "IntelliJ IDEA" (it's a macro which gets replaced with the actual product name when the help is generated).
In eclipse when you hover over some erroneous text you can press F2 to focus there. What is the equivalent procedure in IntelliJ?
Whenever I put my pointer over some error the text describing it disappears.
In Eclipse it will suggest what I can do to fix something like an unhandled IO exception. I'm sure IntelliJ can also do this because some people I know who are quite skillful programmers highly recommended it to me, but- how to do this?
That is: hover over some text at is in error, see what the error is, the options to fix it, and then choose one.
If you click on the highlighted part of code, the error description will appear in a pop-up bubble as well as in statusbar.
You can then hit ALT+Enter which will offer you some options to handle the given error/warning or to disable the warning.
The actions you are looking for is called "Error Description" and "Show Intention Actions".
⌘+F1 (Ctrl+F1 on non-mac) will show the error info on based on where the caret is.
Alt+Enter will show the Intention Actions available based of the location of the caret.
How to in c++ 2010 builder show hint all the time when is code write?
For example if I try to use command MessageBox, I start to type message and press control+space, that will be show up list of functions which have first letter same, and after that I press enter on which function I like and that give me a yellow hint, everything is ok therefore I press backspace or make error in spelling that hint then disappear. So my question is how to force that hint message to stay guiding me all the time (like in Visual studio)?
Place cursor after '(' ans press Ctrl+Shift+Space to redisplay hint.