dawsbot / RelativePath

VSCode Relative path plugin
https://marketplace.visualstudio.com/items?itemName=jakob101.RelativePath
MIT License
69 stars 22 forks source link

Remove ".ts" and ".tsx" extension on imported files #35

Closed dawsbot closed 5 years ago

dawsbot commented 5 years ago

In the same way that .js and .jsx automatically have their file suffixes left out, so should .ts and .tsx.

CodingDive commented 5 years ago

As a workaround before the PR gets merged, I recommend putting following line into your settings.json.

"relativePath.excludedExtensions": [".js", ".ts", ".tsx", ".jsx"]

See https://github.com/jakob101/RelativePath#options

dawsbot commented 5 years ago

Thank you @ReasonableDeveloper ! I didn't realize I could do a local override like that 🙌