Author Topic: Beautifier Profile Overrides - how do they work?  (Read 1392 times)

ebbe

  • Community Member
  • Posts: 50
  • Hero Points: 2
Beautifier Profile Overrides - how do they work?
« on: September 11, 2023, 01:40:27 PM »
I'm asking because I have created a couple of these and I don't see any effects of them in SE. I have tried the following locations:
  • In a directory found by going up the directory tree
  • In the directory where the .vpj files are found
  • In the directory where the project source code is found
None of these placements have any effect; whenever I write something or press the Beautify button, SE uses the profile set in the Options for the language, not the one provided in the .seeditorconfig.xml file.

patrick

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 1818
  • Hero Points: 151
Re: Beautifier Profile Overrides - how do they work?
« Reply #1 on: September 11, 2023, 06:05:13 PM »
Go to Tools -> Options -> Editing -> General and make sure the "Apply .editorconfig, .seeditorconfig.xml settings" is "on".

The dialog that creates the .seeditorconfig overrides should probably at least give a link to this setting, or offer to turn it on if it's off when you're creating a new override.

ebbe

  • Community Member
  • Posts: 50
  • Hero Points: 2
Re: Beautifier Profile Overrides - how do they work?
« Reply #2 on: September 12, 2023, 07:56:08 AM »
Thank you - that helped.

A link to the help entry from the dialog where you add these overrides would be very welcome.

ebbe

  • Community Member
  • Posts: 50
  • Hero Points: 2
Re: Beautifier Profile Overrides - how do they work?
« Reply #3 on: November 08, 2024, 12:12:31 PM »
I have just upgraded to SE 2024/v29. There is still no link from the Beautifier override dialog to the settings and so I got bitten by this again. This is a clear case of the axiom "Something that must be remembered will be forgotten".

In fact, I think that enabling the first beautifier override should automatically enable at least the (se)editorconfig.xml that is created.