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 4.2k Views 1 Watching
    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 Offline
      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 Offline
        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

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors