• Login
Community
  • Login

How can I have D syntax highlighting?

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
dlang
6 Posts 3 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.
  • G
    Gikoskos
    last edited by Apr 4, 2017, 7:44 AM

    I’ve downloaded the 64bit version of Notepad++ 7.3.3 but it doesn’t seem that it supports syntax highlighting for D source files, even though I read everywhere online that it should. The Language menu option is set to D too. Is there an xml file I can download from somewhere to make it work?

    1 Reply Last reply Reply Quote 0
    • C
      chcg
      last edited by Apr 4, 2017, 6:32 PM

      Works for me with 32-bit version and testfile http://www.dsource.org/projects/dlanchat/browser/trunk/dlanchat/client/Main.d . Also 64-bit is ok regarding highlighting and code folding support.

      There is no config for the function list.

      1 Reply Last reply Reply Quote 0
      • G
        Gikoskos
        last edited by Apr 4, 2017, 7:11 PM

        I downloaded the x64 version from here https://notepad-plus-plus.org/download/v7.3.2.html and reeinstalled it, and definitely doesn’t work. Is it in an older version?

        1 Reply Last reply Reply Quote 0
        • G
          Gikoskos
          last edited by Apr 4, 2017, 7:40 PM

          Just tried it with the 32bit version from that url, same results. Also there isn’t a D language option in the Settings->Style Configurator dialog, for both versions

          1 Reply Last reply Reply Quote 0
          • D
            dail
            last edited by Apr 4, 2017, 7:44 PM

            Not all themes support all languages. So try the default theme.

            If you are using the default theme then you’ll have to delete your stylers.xml file (probably located in your %APPDATA% directory)

            1 Reply Last reply Reply Quote 1
            • G
              Gikoskos
              last edited by Apr 4, 2017, 8:09 PM

              Wow thank you! I didn’t think that it was due to the fact that i changed the theme. Changed it back to the default and works like a charm!

              1 Reply Last reply Reply Quote 0
              2 out of 6
              • First post
                2/6
                Last post
              The Community of users of the Notepad++ text editor.
              Powered by NodeBB | Contributors