Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
MASTERING PYCHARM

You're reading from   MASTERING PYCHARM Use PyCharm with fluid efficiency to write idiomatic python code

Arrow left icon
Product type Paperback
Published in Oct 2015
Publisher
ISBN-13 9781783551316
Length 232 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Nafiul Islam Nafiul Islam
Author Profile Icon Nafiul Islam
Nafiul Islam
Arrow right icon
View More author details
Toc

Imports and exports

The best way to import a theme is to simply import it as a setting file; these are typically .jar files. Remember, we mentioned that PyCharm is a derivative of the IntelliJ Platform? Well, you can use all the themes that are available to the Platform in PyCharm as well. One of the first places to look for themes is http://ideacolorthemes.org/themes/.

This gives you a good set of themes, and also shows you the languages that a theme will work with. So, we can just quickly download a theme; in this case, we will be downloading Solarized Dark (one of my all-time favorites).

Imports and exports

To download and install Solarized Dark, perform the following steps:

  1. Head over and just click on Download Theme:
    Imports and exports
  2. You should be then presented with a .jar file, which you can save:
    Imports and exports
  3. Click on Import Settings… to open up a dialog box for importing the JAR file:
    Imports and exports
  4. Just choose the file that you want and click on OK:
    Imports and exports
  5. Make sure that Editor Colors is selected and then simply press OK:
    Imports and exports

You should now be able to see a new option in your Scheme menu:

Imports and exports

That's all there is to it. You can export quite simply as well:

Imports and exports
Imports and exports

The Color schemes option must be selected, and at the end of it, you will get a settings.jar file that you can import into another PyCharm installation.

You have been reading a chapter from
MASTERING PYCHARM
Published in: Oct 2015
Publisher:
ISBN-13: 9781783551316
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime