Community

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

    Zenburn schema - user file extensions doesn't work

    Help wanted · · · – – – · · ·
    3
    6
    350
    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.
    • Wojcisz PL
      Wojcisz PL last edited by

      Hello,

      I have problem after reinstall Windows and install new Notepad++ 64bit
      I am using my own user extensions of files for which I want to have “Pascal” language activate
      I configured (as always) my user extensions - screen
      I works for all my extensions, except “pro”
      I am opening .pro files, but there is no ‘Pascal’ language but normal text
      I’ve tried everything, also use older versions, but without succes…
      Will be glad for support!
      BR,
      Wojtek

      1 Reply Last reply Reply Quote 0
      • Michael Vincent
        Michael Vincent last edited by

        In the “Default” style, (of the Window in your screenshot) there is a language called “Visual Prolog” which already uses the ‘.pro’ extension. Although I don’t see that language defined in “Zenburn” (nor “Obsidian” - the style I use) I wonder if that’s causing a conflict?

        1 Reply Last reply Reply Quote 1
        • Wojcisz PL
          Wojcisz PL last edited by

          thanks for good remark, I removed this language from styler.xml and now is not visible on ‘default style’ but still is not ok. Indeed it can be some kind of conflict. Anybody has another ideas?

          Ekopalypse 1 Reply Last reply Reply Quote 0
          • Ekopalypse
            Ekopalypse @Wojcisz PL last edited by Ekopalypse

            @Wojcisz-PL

            I’ve tested this and it seemed to work.
            I removed pro from visualprolog in default langs.xml
            and added it for python in obsidian theme.
            Restart npp and I’m able to edit .pro files as python files.

            1 Reply Last reply Reply Quote 1
            • Wojcisz PL
              Wojcisz PL last edited by

              Indeed, it works perfectly!
              I didn’t know about langs.xml file and I edited only stylers.xml
              Thank You very much for help!

              BTW: During installation process, I choosed “Don’t use AppData” so I thought all .xml files used by NPP will be in the installation catalogue (portable version) but “AppData” catalogue is used by NPP and I have to edit .xml in this location
              Do You know how force on NPP do not use ‘AppData’ ?

              BR,
              Wojtek

              Ekopalypse 1 Reply Last reply Reply Quote 1
              • Ekopalypse
                Ekopalypse @Wojcisz PL last edited by

                @Wojcisz-PL

                as I’m always using the zipped versions I don’t know for sure but I assume by creating
                a file called doLocalConf.xml it shouldn’t read from appdata. File does not have any content.

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