Run to cursor

Continues the execution until the position of the caret is reached.

Tip Screenshot

Instead of stepping through the code line by line after pausing, you might decide that you want the program to continue running until it reaches a specific point in the code where you've placed the cursor. This is where "Run to cursor" (⌥ Opt F9) in macOS or (Alt + F9) in Windows/Linux comes in handy.


Related Resources

Full Line Code Completion in GoLand
Full Line Code Completion in GoLand
Faster code completion with the help of a locally running deep learning model.
Goroutines Profiler Labels
Goroutines Profiler Labels
Advance beyond the current line of code and move on to the next line.
Step Over
Step Over
Advance beyond the current line of code and moves on to the next line.