Community
    • Login

    Python colored syntax?

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    pythoncolor syntaxcolor codehigh contrastthemes
    2 Posts 2 Posters 3.2k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Kurt SchmidtK
      Kurt Schmidt
      last edited by

      I would appreciate help with:
      I do not get any colored syntax in my .py (Python 3) files while editing them in NPP. I need a high contrast, black or navy background and white letters. I would like to get comments and docstrings colored. Other colored syntax would be great as well. I would appreciate suggestions for themes or how to set up what I need for colored syntax. Thanks!
      Kurt (NPP newbie)

      1 Reply Last reply Reply Quote 0
      • mere-humanM
        mere-human
        last edited by

        Ensure you have the language set correctly:
        67549ce2-2ac7-44bd-9504-581f67b52c4e-image.png
        It is usually done automatically if the extension is standard (e.g. *.py).

        As for the background colors, there are a lot of predefined themes for that.
        Take a look at this in menu: Settings > Style Configurator > Theme - Obsidian

        1 Reply Last reply Reply Quote 3
        • First post
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors