anthraxx / intellij-awesome-console

IntelliJ IDEA plugin: awesome console finally makes links in your console at least 200% more awesome!
MIT License
159 stars 40 forks source link

<path>/file.java:[<line>,<column>] ignores line and column if <path> is absolute #96

Open dmaxddog opened 1 year ago

dmaxddog commented 1 year ago

In the following cases (MacOS):

Screenshot 2023-07-19 at 9 15 39 AM

[DEBUG] test/awesome/integration/file1.java:[4,4] cannot find symbol [DEBUG] /Users/\<username>/src/intellij-awesome-console/src/test/resources/subdir/file1.java:[4,4] cannot find symbol

The first has the link as "test/awesome/integration/file1.java:[4,4]", and clicking on it navigates correctly to the file with the correct line number and column.

The second has the link as "/Users/\<username>/src/intellij-awesome-console/src/test/resources/subdir/file1.java:" and it does navigates to the correct file, but positions the cursor at the start of the file.

If I replace the actual \<username> with some dummy text, then the link includes the line and column, presumably because now the path is to a file that doesn't exist.

t-oster commented 9 months ago

I can confirm the problem. Lots of my maven tools output absolute paths with [line,column] so this would be good feature if its fixed