marcelwgn / IndentRainbow

Visual Studio extension for colorization of indent levels
https://marketplace.visualstudio.com/items?itemName=chingucoding.IndentRainbow
MIT License
33 stars 8 forks source link

Fix bug where certain file extensions couldn't be determined #25

Closed marcelwgn closed 3 years ago

marcelwgn commented 3 years ago

The previous code used to get the file extension of an opened document could fail for certain files as mentioned here: https://stackoverflow.com/questions/48068134/get-path-of-the-document-from-iwpftextview-for-non-cs-files

Using different code for this, we no longer have this issue. Closes #24