-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use proper syntax to open file at line for Visual Studio Code, Intellij and Eclipse #22575
Conversation
@maxandersen I don't really know how to reproduce this in VSCode as I never used this feature so I let you check it's working. |
vscode works now. Also once got this weird (probably unrelated to this PR) error if eclipse is running while I start (just setting
will do same with 2.6.2 to see if these are regressions or old issues. |
2.6.2 have the same issue with respect to having eclipse running - opened #23002 in 2.6.2 intellij does not even open so albeit this PR is "better" as vscode at least works but something still quirky. |
OK, looks like this thing was never tested. The syntax for Intellij is also completely different: https://www.jetbrains.com/help/idea/opening-files-from-command-line.html. I will fix that. |
5b5c9ee
to
4902dba
Compare
This workflow status is outdated as a new workflow run has been triggered. |
I added fixes for Eclipse and Intellij. It doesn't fix any infra issue you might have had but at least the options should be OK now. I couldn't figure out how to make things work with Netbeans though. |
it definitely was when I developed it as I use IntelliJ exclusively :) |
Yeah it was tested back then - looking a bit deeper what I'm finding is that I believe idea changed their command line so For eclipse its an OSX thing that fails because the command line to open eclipse on OSX is different ...for stupid eclipse reasons. so i'll say its better with this PR in; but still some ghosts left to fix. |
Well, the go to line feature was never tested. Because the |
I actually do recall that my initial code did not attempt to move to a line. So indeed, I can confirm that I personally have never tested the go to line syntax |
I added a commit to just open the file and not use the AFAICS, the |
Looks like all the IDEs have different syntaxes for opening a file to a given line so let's not suppose it will just be file:line as it works for none of them so chances it will work for a random one are quite thin.
32d37fd
to
9a29739
Compare
Failing Jobs - Building 9a29739
Full information is available in the Build summary check run. Failures⚙️ Gradle Tests - JDK 11 Windows #- Failing: integration-tests/gradle
📦 integration-tests/gradle✖
|
Merging this one. Even if it doesn't fix everything, it's a step in the right direction. |
Absolutely |
Fixes #22574
@maxandersen can you try with this patch?