• Login
Community
  • Login

Feature Request

Scheduled Pinned Locked Moved General Discussion
power bidax languagem language
2 Posts 2 Posters 1.3k 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.
  • S
    Scott Badger
    last edited by Mar 28, 2024, 2:04 PM

    I would like to suggest adding Power BI DAX and M languages to the NotePad++ lineup.

    P 1 Reply Last reply Mar 28, 2024, 5:16 PM Reply Quote 0
    • P
      PeterJones @Scott Badger
      last edited by PeterJones Mar 28, 2024, 9:14 PM Mar 28, 2024, 5:16 PM

      @Scott-Badger ,

      The Notepad++ developer doesn’t actually implement any builtin languages himself: he uses a library called “Lexilla” for doing the syntax highlighting. As a result, if you wanted that added natively into Notepad++, you would have to go make an official feature request at the Lexilla Project “Issues” page , then wait for them to decide whether to implement it or not (doubtful; from what I remember, their response to requests for a new language is usually “we’ll include it if someone will write it and create a PR for us”, unless it’s just a slight variant of an existing language); after Lexilla creates or merges the new language lexer, then you have to wait for Notepad++ to update its Lexilla copy (nowadays, it tends to do that any time the developer has noticed a new Scintilla/Lexilla release)

      In general, the expectation is that for languages that aren’t in the list of 80+ languages included with Notepad++, the first line of defense is for the user to create a User Defined Language (“UDL”), with first checking the User Defined Language Collection and its list of contributed UDL definitions to see if someone else already has created it and made it public – I do see “DAX” with a description that confirms it’s Power BI, so at least that one already exists for you. You can follow the instructions in the Collection for how to install a UDL from the Collection.

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