daviduuang / ini-for-vscode

Provide outline view and section folding for INI file.
GNU General Public License v3.0
17 stars 7 forks source link

Settings: additional file extensions #5

Open kenroud opened 5 years ago

kenroud commented 5 years ago

It would be great, if you can add a settings property where the user can define custom file extensions. Many applications use proprietary file extensions for configuration files, but still ini syntax inside. In my case I would like to use ini outline view for *.inc files.

brechtm commented 4 years ago

This can be configured in the global VSCode settings.Text Editor > Files > Associations). Click Add Item and insert *.myext and ini. This enables syntax highlighting for .myext. files.

Unfortunately, Ini for VSCode doesn't respect these settings and still ignores these files. I would love to see that fixed.

mcrossley commented 3 years ago

That commit fixes my issue - let it work with any file where you define language to be ini - but the fix has not made it into the released extension?

bersbersbers commented 1 year ago

Works for me :)