pzavolinsky / ts-unused-exports

ts-unused-exports finds unused exported symbols in your Typescript project
MIT License
749 stars 49 forks source link

Include file extensions in output #32

Closed pelotom closed 5 years ago

pelotom commented 5 years ago

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!

mrseanryan commented 5 years ago

This is fixed in master - should be released soon