minchenkov / output-link-filter

IntelliJ IDEA plugin that filters output window for HTTP links and file paths and converts them to clickable links.
17 stars 8 forks source link

Better matcher for file links #2

Open Poeschl opened 9 years ago

Poeschl commented 9 years ago

I found out that the matcher pattern is not sufficent enough for some file links on windows.

I would suggest this one for files:

(([A-Z]:(\\+))|((\/+)))([a-zA-Z0-9' \/\\-_\\.]+)((:[0-9]+){2}:)

This would match for

[ant:checkstyle] C:\Users\ddd\Workspaces\Android Studio\callminder\app\src\main\java\de\activitys\BaseActivity.java:57:5: '@LayoutRes' Annotation-Modifier sollte vor den anderen Modifiern stehen.
[ant:checkstyle] /Users/ddd/Workspaces/Android Studio/callminder/app/src/main/java/de/activitys/BaseActivity.java:57:5: '@LayoutRes' Annotation-Modifier sollte vor den anderen Modifiern stehen.
iradovanovic commented 9 years ago

+1

DanielSperry commented 9 years ago

:+1: