GNOME Bugzilla – Bug 736745
external tools: links in sbt output are unrecognized
Last modified: 2019-03-23 20:35:18 UTC
sbt is probably the most popular tool for building Scala code. Its output looks like this: [error] /home/adam/rt/rt.scala:6: not found: value xyz [error] xyz [error] ^ [warn] /home/adam/rt/rt.scala:2: implicit conversion method double2test should be enabled The external tools plugin currently cannot recognize links in this output (it's confused by the [error] and [warn] prefixes).
If somebody wants to try to fix this it would be a matter of extending the regexes on: https://git.gnome.org/browse/gedit/tree/plugins/externaltools/tools/linkparsing.py and providing the appropriate unit test: https://git.gnome.org/browse/gedit/tree/plugins/externaltools/tools/linkparsing_test.py
Created attachment 286296 [details] [review] fix Here's a fix. :)
Review of attachment 286296 [details] [review]: Looks good to me.
OK - I just landed this, and also backported it to the gnome-3-12 and gnome-3-10 branches.