Skip to content

Conversation

Douzi-Qishen
Copy link

What
This PR fixes an issue where the IntelliJ IDEA command-line launcher would open the correct file but fail to position the cursor at the specified line and column. It also adds the -r flag so that files and folders are opened in an existing IDEA window rather than spawning a new one.

Why
Opening a new window each time breaks workspace continuity and can degrade performance.

Changes
Updated the launcher invocation array to include -r before --goto

…e number

🚸 修复 IDEA 跳转到光标但无法定位具体行号的问题

Added the `-r` parameter to force opening the file or folder in the existing window.
添加了 `-r` 参数,强制在已有窗口中打开文件或文件夹。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant