Community
    • Login

    Python colored syntax?

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    pythoncolor syntaxcolor codehigh contrastthemes
    2 Posts 2 Posters 4.1k Views 2 Watching
    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 Offline
      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 Offline
        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

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors