Author Topic: per project color profile  (Read 521 times)

setha

  • Junior Community Member
  • Posts: 3
  • Hero Points: 0
per project color profile
« on: September 04, 2023, 08:08:22 PM »
Is it possible to set a different color profile for each project or workspace?  I don't see any way to do it with the project/workspace setup options.

Right now I do it with separate configuration directories but it would be simpler if there the color could just change when I switch the project.

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6904
  • Hero Points: 531
Re: per project color profile
« Reply #1 on: September 04, 2023, 11:45:11 PM »
Not yet. There is support for different color profiles for each Language but this won't help if both projects have the same types of source files.

Graeme

  • Senior Community Member
  • Posts: 2800
  • Hero Points: 347
Re: per project color profile
« Reply #2 on: September 05, 2023, 12:24:23 PM »
You can definitely run a macro when you switch workspaces and I suspect a macro can change things in your configuration but exactly how I don't know.

Dennis

  • Senior Community Member
  • Posts: 3968
  • Hero Points: 517
Re: per project color profile
« Reply #3 on: September 05, 2023, 12:54:07 PM »
Assuming you do not have language-specific color profiles set up, you can record a macro to change the default color scheme.

Macro > Record Macro
Tools > Options... > Appearance > Colors > (Change Default color profile)
OK
Macro > Stop Recording...
Give the macro a name, e.g., set-color-chalkboard
Save

Then you can add that command to the list of commands to be ran when you open a workspace/project.

Project > Project Properties... > Open
Add set-color-chalkboard

If you want different colors for projects because the projects are in different languages, I'd just use the language-specific color profile settings.