Open maxandersen opened 4 years ago
A MVP version of this would be, having this stacktrace in console:
have a click on one of the lines, ie:
at dev.jbang.cli.BaseScriptCommand.prepareScript(BaseScriptCommand.java:128)
would have startfix search for BaseScriptCommand.java
, if one found turn that into a ide://open-file?file=<path to BaseScriptCommand.java
and if mulitple open web page shwoing the multiple choices for the user then to choose.
furter out we could imagine using ide specific methods to just ask the IDE to locate this in its current open projects.
Smart selction rules ? Start with iterminal
Imagine the following:
you run an app or build in your terminal, ie.
mvn package
and an error occurs and a stacktrace is shown.now in iterm2 you can actually setup regular expression to turn these stacktraces into hyperlinks.
would be interesting if we could support something like:
which would tell the IDE to search for DefaultHttpClientFactory.java and open it on line 68.
Not all editors would support this but at least eclipse, netbeans and vscode should technically be capable of doing it.