-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Wrong URL when opening file on Sourcegraph web using the JetBrains plugin #49510
Comments
Does this have any overlap with #42294? |
|
@peterguy: they have no overlap.
|
@vdavid, @philipp-spiess, and I looked into this issue. Here are some findings. The repo on the user’s system is coming from a GHE code host (is a Git repository), but that code is cloned over from Perforce using some proprietary tooling. However, Sourcegraph instance only has Perforce code cloned via p4-fusion (original message). There is a possibility to configure remote URL replacements. Still, it's not going to work with the current logic of opening/copying Sourcegraph URL from IDE (building the editor URL in the IDE plugin and then opening file redirect) as Possible solutions we could think of:
|
@taras-yemets Do you know if this is still an issue? Sounds like it's related to the "search" component of the JB Search + Cody plugin. |
@taylorsperry, yes, this is JB Search + Cody plugin issue and it's still relevant. |
Reported by https://github.com/sourcegraph/accounts/issues/6716
2.1.2
Steps to reproduce:
More context can be found in this Slack thread.
Expected behavior:
The file is opened on a connected Sourcegraph instance with proper query params (revision, line, etc.).
Actual behavior:
The link navigates to the file not found page on a connected Sourcegraph instance.
If you would like immediate help on this, please email [email protected] (you can still create the issue, but there are no SLAs on issues like there are for support requests).
The text was updated successfully, but these errors were encountered: