What php editor Xiaoxin will introduce to you today is a very practical function in GoLand IDE - automatic cursor transfer when switching tabs. In the process of programming and development, we often need to switch between multiple files, and it is troublesome to manually move the cursor every time we switch. GoLand IDE provides a convenient function that automatically moves the cursor to the last editing position when switching tabs, which greatly improves development efficiency. Next, let’s learn more about how to use this function and what to pay attention to.
I have a question. When I type something in GoLand IDE and switch to Chrome and then switch back to GoLand IDE, if my cursor is on an empty line, then in Chrome I have that cursor on another line, how do I get rid of it ? p>
I searched and tried many methods, but they all work.
Most likely, GoLand saves the file after you switch to another application and in the background calls the gofmt formatter or "save operation" to remove the lines/ Space.
Try turning off the "Save" action or "Save files when switching to a different application or the built-in terminal" in Settings | Tools | "Settings" | Appearance and Behavior | System Settings. . The latter option is not the safest solution, so I recommend disabling "Action on Save" in this case.
The above is the detailed content of Cursor automatically moves in GoLand IDE when switching tabs. For more information, please follow other related articles on the PHP Chinese website!