79249840

Date: 2024-12-04 04:00:23
Score: 1
Natty:
Report link

You can achieve this by downloading the Format Files extension.

Once you install the extension, run the Start Format Files: From Glob command and use ** as the glob pattern. It will automatically format everything to comply with the .editorconfig file.

For example, I'm working on an Angular project and I wanted to change the indent size to 4 instead of 2 on the TypeScript files. So, after editing the .editorconfig file, I ran this command and used **.ts as the glob pattern. Worked like a charm!

Reasons:
  • Blacklisted phrase (1): Worked like a charm
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: janksmap