Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    PowerShell syntax highlighting

    General Discussion
    5
    5
    7199
    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.
    • David Stein
      David Stein last edited by

      After posting this https://notepad-plus-plus.org/community/topic/15675/powershell-syntax-highlighting/1 - I ran more tests and had others do the same. I’ve now installed every version of Notepad++ from 7.4.2 up to 7.5.8, on 27 different computers and virtual machines, running Windows 10 x64 Enterprise. Color highlighting for .ps1 files only works for the following style themes: HotFudgeSunday, Kakhi, MossyLawn, Navajo, Obisidian, Plastic Code Wrap, Solarized Light, Solarized, and ZenBurn. So this appears to be an issue with the style themes and not the language config file.

      1 Reply Last reply Reply Quote 2
      • ron-g
        ron-g last edited by

        I’d love to have PS1 highlighting in N++. I’ve noticed SublimeText doesn’t have PS1 highlighting as well. I’m stuck on the Deep Black theme, but I like Monokai as well.

        1 Reply Last reply Reply Quote 0
        • Claudia Frank
          Claudia Frank last edited by

          What is preventing you from creating it?

          Cheers
          Claudia

          1 Reply Last reply Reply Quote 1
          • 9474757
            9474757 last edited by

            Can You upload that files for PS? In switch prog lang i have PS, but in sett`s of style I cant see string PowerShell…

            1 Reply Last reply Reply Quote 1
            • Chuck Rizzio
              Chuck Rizzio last edited by Chuck Rizzio

              For what it’s worth… I have been running NP++ in Dark Mode and not getting any syntax highlighting for PS1 files. I don’t know what made me do this but I turned off Dark Mode and then got syntax highlighting. I turned Dark Mode back on and the syntax highlighting is still there!!! I’ll have to see if it stays working after a reboot.

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Copyright © 2014 NodeBB Forums | Contributors