Skip to content

andrewgazelka/cursor-sync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Cursor Sync Plugin

A plugin that synchronizes cursor positions between VSCode and JetBrains IDEs.

This is very much a work in progress. Please look at the issues for more information.

cursor-sync.mp4

Reasoning

flowchart TB
    subgraph Motivation["Why Cursor Sync?"]
            direction TB
            ai["AI Features (Cursor IDE)"]
            ide["Professional IDE Features (JetBrains)"]
            pain["Pain Point: Switching between IDEs and finding position"]
            soln["Solution: Automatic cursor synchronization"]
            
            ai --> pain
            ide --> pain
            pain --> soln
        end
Loading

Architecture

flowchart TB
    subgraph VSCode["VSCode Extension"]
        vsm["CursorSyncManager"]
        vws["WebSocket Server (Port 3000)"]
        vsm --> vws
    end
    
    subgraph JetBrains["JetBrains Plugin"]
        jext["CursorSyncPlugin"]
        jws["WebSocket Client"]
        jext --> jws
    end
    
    subgraph Data["Shared Data"]
        cpos[/"CursorPosition {
            file, line, character
        }"/]
    end
    
    %% Connections
    vws <-->|WebSocket| jws
    Data -->|JSON| vws
    Data -->|JSON| jws
    
    %% Styling
    classDef default fill:#f9f9f9,stroke:#333,stroke-width:1px
    classDef data fill:#ffe6cc,stroke:#ff9933,stroke-width:2px
    classDef motivation fill:#e1f3d8,stroke:#82b366,stroke-width:2px
    
    class cpos data
    class Motivation,ai,ide,pain,soln motivation
Loading

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published