Community
    • Login

    Need SQL Language to be set as default for .pks and .pkb file formats

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    2 Posts 2 Posters 3.5k 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.
    • Sivabalanarayanan LS
      Sivabalanarayanan L
      last edited by

      Hi,

      I am an Oracle Developer. We use Oracle PL/SQL as our programming language. We generally save Package Specification and Package Body as .pks and .pkb format respectively.

      When I open the files in Notepad++ , I need to select the language as SQL every time.

      Is there any way to default the language as SQL for the above file formats ?

      Regards,
      Siva

      1 Reply Last reply Reply Quote 0
      • guy038G
        guy038
        last edited by guy038

        Hello, @sivabalanarayanan-l, and All,

        Easy, just 30 seconds ! Here is the method :

        • Select the menu option Settings > Style Configurator…

        • On the left side, in the Language : list, choose the SQL language

        • At bottom of the dialog, in the User ext : zone, add the extensions, without the dot, separated with a space char. So pks pkb

        • Click on the Save & Close button to valid these modifications

        • Stop and restart N++

        From now on, each time you’ll open a file, with extension = .pkb or .pks, the SQL language will be automatically selected ;-))

        Tested on the last N++ v7.6

        Best Regards,

        guy038

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