click-to-component icon indicating copy to clipboard operation
click-to-component copied to clipboard

Feature: all editors support

Open amirrezaDev1378 opened this issue 1 year ago • 8 comments

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

amirrezaDev1378 avatar Feb 25 '24 17:02 amirrezaDev1378

⚠️ 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

changeset-bot[bot] avatar Feb 25 '24 17:02 changeset-bot[bot]

@ericclemmons

amirrezaDev1378 avatar Feb 26 '24 06:02 amirrezaDev1378

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!

AdoKevin avatar Feb 27 '24 09:02 AdoKevin

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

amirrezaDev1378 avatar Feb 27 '24 10:02 amirrezaDev1378

Is webstorm an alias for intellij?

adi-works avatar Apr 26 '24 15:04 adi-works