Community
    • Login

    User Defined Language as Default Language for New File

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    2 Posts 2 Posters 288 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.
    • Rafael FontanR
      Rafael Fontan
      last edited by

      I added a user defined language only to add folding to my .txt files, I just wanted to add the functionality where when I type

      // Spoke to John Doe
      Discussed this
      that
      and the other thing
      --
      // Spoke to Jane Doe
      Discussed this
      that
      and the other thing
      

      I want to see

      // Spoke to John Doe
      // Spoke to Jane Doe
      

      This seemed easy enough to do by creating a User Define Language however, when I click on the new file button, I was hoping to immediately have this functionality but the new files default to normal text instead of the User Defined Language which does not seem to be an option.

      Is there a way to accomplish this?

      EkopalypseE 1 Reply Last reply Reply Quote 0
      • EkopalypseE
        Ekopalypse @Rafael Fontan
        last edited by

        @Rafael-Fontan

        Afaik there is no builtin way to assign new documents to an UDL.
        Solution are possible by using scripting language plugins.
        Let us know if you want to go this way.

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