Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Atom Editor: theme/syntax per project or open window

I want to have multiple UI themes and syntax themes for my different projects in the Atom Editor, i.e. a theme for each open window How can I do this? Presently, changing one in the preferences will change it for all open windows.

I installed the project-manager plugin and tried to add an entry to the ~/.atom/projects.cson file as shown below, but it seems to have no effect.

project1:
  title: "project1"
  paths: [
    "/Users/abcd/coding/trials/project1"
  ]
  themes: [
    "atom-dark-ui"
    "monokai"
  ]

Anything else that I should try?

like image 651
sathishvj Avatar asked May 02 '16 13:05

sathishvj


People also ask

How do you make a custom Atom theme?

Create a Syntax Theme In Atom, press cmd-shift-P to bring up the command palette, then start typing "Generate Syntax Theme". When you see Package Generator: Generate Syntax Theme appear click it to execute the command: A window will appear in which you can enter the path and name for your syntax theme.

How do you make an Atom syntax?

Press Cmd+Shift+P (MacOS) or Ctrl+Shift+P (Windows) top open up the command palette, and start typing “Generate Syntax Theme”. As soon as this option appears, select. Name it whatever you want (although according to the Atom flight manual, syntax themes should end with -syntax) and save it somewhere on your computer.


1 Answers

The following should work

project1:
  title: "project1"
  paths: [
    "/Users/abcd/coding/trials/project1"
  ]
  settings:
    core:
      themes: [
        "atom-dark-ui"
        "monokai"
      ]

Cheers!

like image 191
omerftekin Avatar answered Oct 30 '22 23:10

omerftekin