brackets-terminal icon indicating copy to clipboard operation
brackets-terminal copied to clipboard

Clickable stack trace

Open hacker112 opened this issue 10 years ago • 2 comments

Being able to click on filepath in an stack trace would make this plugin very useful for tests etc.

Example:

  1. I run a mocha test in brackets-terminal that failes and outputs a stack trace :
at Object.method (/Users/user/project/someCode.js:69:39)
...
  1. I click on the file path (/Users/user/project/someCode.js:69:39)
  2. Brackets shows the file on the and moved the marker to row 69, column 39.

hacker112 avatar Jun 18 '14 13:06 hacker112

Hey @hacker112 - I was thinking of a reasonable way of doing this - does it make sense for you if only path that can be found in the same folder of this one are considered as "clickable"? Btw, still have to investigate about feasibility, since it will likely require tweaking tty.js

artoale avatar Jul 04 '14 12:07 artoale

To restrict the clickable files to only files in the Brackets project path directory and subdirectories makes sense for me :)

hacker112 avatar Aug 16 '14 14:08 hacker112