A convenient feature in iTerm2 is that you can command-click on file paths in the terminal and it will open the file in the appropriate editor. It would be great if this feature could be used with ts-unused-exports, but currently the output excludes the .ts extension from file names, so they are not actually valid paths.
I'm working around this with sed currently:
ts-unused-exports ./tsconfig.json | sed -E 's/^(.*):/\1.ts:/'
but it would be great if it were supported natively!
A convenient feature in iTerm2 is that you can command-click on file paths in the terminal and it will open the file in the appropriate editor. It would be great if this feature could be used with
ts-unused-exports
, but currently the output excludes the.ts
extension from file names, so they are not actually valid paths.I'm working around this with
sed
currently:but it would be great if it were supported natively!