ericclemmons / click-to-component

Option+Click React components in your browser to instantly open the source in VS Code
MIT License
1.83k stars 69 forks source link

Feature: all editors support #82

Open amirrezaDev1378 opened 7 months ago

amirrezaDev1378 commented 7 months ago

Added support for Webstom and all other editors that support web protocols

changeset-bot[bot] commented 7 months ago

⚠️ No Changeset found

Latest commit: 5613faf50e85aa974f8dda295bb319b120e7ae68

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

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

amirrezaDev1378 commented 7 months ago

@ericclemmons

AdoKevin commented 7 months ago

This is exactly what I've been hunting for.

I'm trying to find a way to support opening files with vscode and remote ssh, it's protcol should look like vscode://vscode-remote/ssh-remote+host/home/file_to_open. However, there is a hardcoded ${editor}://file/ in the getUrl function and no hook to change it. If the awsome PR is merged, my problem's as good as solved!

amirrezaDev1378 commented 7 months ago

Another problem that it solves is that JetBrains IDEs may use slightly different web protocols in different versions and OS, this way you can specify your template. @AdoKevin

adi518 commented 5 months ago

Is webstorm an alias for intellij?