Xavalon / XamlStyler

Visual Studio extension to help format your XAML source code
Apache License 2.0
1.17k stars 128 forks source link

Issue when trying to use external config file #491

Closed keekis closed 1 month ago

keekis commented 2 months ago

Work when I specify absolute path like C:\repo\dev\xamlstyler.json Don't work if I I set "Search to drives root" like shown in picture below image

xamlstyler.json file contains following: xamlstyler.json

grochocki commented 2 months ago

External configuration file is intended to specify an absolute path for configuration files outside of project hierarchy. Otherwise, you can leave this blank, and it will be picked up automatically if you follow standard file naming convention ("Settings.XamlStyler"). Some more information on External Configurations here.

keekis commented 1 month ago

Great. Thanks. It worked when I renamed the file to Settings.XamlStyler. If not already documented (I might have missed it) - I suggest to include this in the documentation :).

grochocki commented 1 month ago

Great! I emphasized file name in the doc as it might have been easy to miss.