Skip to content

Conversation

@RHeynsZa
Copy link

@RHeynsZa RHeynsZa commented Oct 22, 2025

This adds support for remote editor instances, both Cursor, VSCode, and anything else

<ClickToComponent 
        editor={import.meta.env.REACT_APP_CLICK_TO_COMPONENT_EDITOR}
        pathModifier={(path) => {
          // Convert WSL paths to Windows paths for editors running on Windows
          const wslTarget = 'Ubuntu';
          return `vscode-remote/wsl+${wslTarget}/${path}`;
        }}
      />

@changeset-bot
Copy link

changeset-bot bot commented Oct 22, 2025

🦋 Changeset detected

Latest commit: 9d7802c

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
click-to-react-component Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@RHeynsZa
Copy link
Author

This fixes #58

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