V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
爱意满满的作品展示区。
gegeligegeligo

开发了个插件,用来快速在 visual studio 和 Cursor 之间切换

  •  
  •   gegeligegeligo · Sep 28, 2025 · 1900 views
    This topic created in 211 days ago, the information mentioned may be changed or developed.
    平时可能会用到 visual studio 来开发,但是又离不开 cursor 生成,所以开发了这个 Switch to Visual Studio 插件,

    安装方式:
    visual studio 插件市场搜索:Open in Visual Studio Code
    Cursor 插件市场搜索:Switch to Visual Studio

    两个配合使用(第一个插件是很早就有了,别人开发的),通过快捷键可以很方便的在 visual studio 和 Cursor 之间来回切换,并保持光标的位置

    源码:
    Open in Visual Studio Code: https://github.com/madskristensen/OpenInVsCode
    Switch to Visual Studio: https://github.com/naiyouweibaomihua/switch2vs

    缺点是如果打开了多个 Visual Studio 窗口,插件没办法识别出应该在哪一个窗口中打开,这个问题我也不知道怎么解决。

    如果使用过程中遇到问题,或者有改进建议,欢迎在 GitHub 上提交 Issue

    如果需要在 IDEA 和 Cursor 之间切换,请参考: https://www.v2ex.com/t/1106449
    4 replies    2025-09-29 22:04:41 +08:00
    TerranC
        1
    TerranC  
       Sep 29, 2025
    不错,确实最近就这个场景,不过有没有 idea to vscode 的?
    NASK
        2
    NASK  
       Sep 29, 2025
    TerranC
        3
    TerranC  
       Sep 29, 2025
    @NASK 这个我知道
    gegeligegeligo
        4
    gegeligegeligo  
    OP
       Sep 29, 2025 via Android
    @TerranC 这个够用了
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1003 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 19:10 · PVG 03:10 · LAX 12:10 · JFK 15:10
    ♥ Do have faith in what you're doing.