• Login
Community
  • Login

Set Default Language Syntax to COBOL

Scheduled Pinned Locked Moved General Discussion
newbie
3 Posts 3 Posters 478 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.
  • R
    Robert Gilland
    last edited by May 31, 2023, 3:42 AM

    I have many files I need to edit all really using COBOL Syntax and all having many disparate extensions.
    I want the COBOL Syntax to be my default highlighting syntax. Can I do that?

    M 1 Reply Last reply May 31, 2023, 5:48 AM Reply Quote 0
    • M
      Mark Olson @Robert Gilland
      last edited by Mark Olson May 31, 2023, 5:50 AM May 31, 2023, 5:48 AM

      @Robert-Gilland
      c7692d54-1ffe-4d05-8579-aaa4d1d9149b-image.png
      If your files have like 100 different extensions, this is obviously not a great option, and you’d probably want to use a scripting solution like NppExec or PythonScript.

      1 Reply Last reply Reply Quote 2
      • W
        wonkawilly
        last edited by May 31, 2023, 5:14 PM

        Sure you can. Try this

        Settings > Preferences > New Document > Defaoult language and set COBOL there.

        Screeshot follows:

        d2c9030b-5ab0-416c-b94c-8951f3b6147b-image.png

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