The plug-in ensures positioning accuracy through a three-level synchronization mechanism:
1. Metadata records
- Captured when a jump is initiated:
- Absolute path of the file
- Cursor row/column number
- Current Code Folding Status
- Unsaved content (will trigger save first)
2. Target editor control
Positioning information is passed via command line arguments:编辑器路径 文件路径 --goto 行号:列号
For example, VS Code receivescode /project/file.js:10:5format of the instruction
3. Exception handling mechanisms
- When the file is not opened: jump to the project root directory
- VS Code multiple workspaces: automatic recognition of .code-workspace configurations
- Path Difference Handling: Support Windows/Mac cross-platform path conversion
Measured positioning accuracy up to±1 line range, an efficiency gain of more than 80% over manual switching.
This answer comes from the articleEditorJumper: Seamless switching tool for Cursor/Trae/Windsurf and JetBrainsThe































