Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Flatly)
  • No Skin
Collapse
Brand Logo

NetXMS Forum

  1. Home
  2. Support
  3. NetXMS NXSL - syntax highlight and calltips (tooltips)

NetXMS NXSL - syntax highlight and calltips (tooltips)

Scheduled Pinned Locked Moved Support
7 Posts 3 Posters 44.2k Views
  • 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.
  • T
    T
    tomaskir
    wrote on last edited by
    #1

    Hey guys,

    I have created a syntax highlighter and calltips (tooltips) for Notepad++ for NetXMS's scripting language NXSL.

    How the calltips work:

    How the highlighting works:

    You can find all the necessary info (and files for download) at:
    https://github.com/tomaskir/netxms-notepad_pp.git

    Regards,

    tom

    1 Reply Last reply
    0
    • T
      T
      tomaskir
      wrote on last edited by
      #2

      Changelog:

      v2016010701:
        Added new functions from 2.0 release to syntax highlight and calltips
        Fixed cosmetic errors in Calltips
        Fixed multi-line comments not being styled
        Fixed escaped quote breaking styling in strings
        Files moved to GitHub

      v2014102202:
        Added a few missing calltips

      v2014102201:
        Added function calltips!
        Added new functions from 1.2.17

      v2014091901:
        Fixed auto extention handling (.nxs - for real this time)
        Added .xml extension to the file for easier import into Notepad++

      v2014081801:
        Fixed auto extention handling (broken in v2014081701)
        Fixed some keywords missing (broken in v2014081701)

      v2014081701:
        Added missing keywords provided by Alex Kirhenshtein

      v2014081601:
        Added auto extention handling (.nxs)
        Added a few missing keywords and operators

      v2014081501:
        Original syntax file

      1 Reply Last reply
      0
      • A
        A
        Alex Kirhenshtein
        wrote on last edited by
        #3

        Thank you for contributing, awesome work.

        I did a quick check, and it seems that you missed couple of functions:

        FindAllDCIs
        GetDCIValues
        _exit (instead of "exit")

        There is also "nxinstall" command line tool, which provide couple more functions. I don't think that anyone except us use this tool, but here is list, just for the reference:

        CopyFile
        DeleteFile
        RenameFile
        access
        chdir
        fclose
        feof
        fgets
        fopen
        fputs
        mkdir
        rmdir
        system

        1 Reply Last reply
        0
        • T
          T
          tomaskir
          wrote on last edited by
          #4

          Thanks for listing those!

          Updated the syntax file in the attachement of the main post 🙂

          1 Reply Last reply
          0
          • T
            T
            tomaskir
            wrote on last edited by
            #5

            With todays update:
            Added support for NXSL function calltips in Notepad++.

            If anyone gets a chance to try this, let me know if it works 🙂

            1 Reply Last reply
            0
            • R
              R
              Riley
              wrote on last edited by
              #6

              @tomaskir said in NetXMS NXSL - syntax highlight and calltips (tooltips):

              With todays update:
              Added support for NXSL function calltips in Notepad++.

              If anyone gets a chance to try this, let me know if it works 🙂

              @tomaskir said in NetXMS NXSL - syntax highlight and calltips (tooltips):

              Changelog:

              v2016010701:
                Added new functions from 2.0 release to syntax highlight and calltips
                Fixed cosmetic errors in Calltips
                Fixed multi-line comments not being styled
                Fixed escaped quote breaking styling in strings
                Files moved to GitHub

              v2014102202:
                Added a few missing calltips

              v2014102201:
                Added function calltips!
                Added new functions from 1.2.17

              v2014091901:
                Fixed auto extention handling (.nxs - for real this time)
                Added .xml extension to the file for easier import into Notepad++

              v2014081801:
                Fixed auto extention handling (broken in v2014081701)
                Fixed some keywords missing (broken in v2014081701)

              v2014081701:
                Added missing keywords provided by Alex Kirhenshtein

              v2014081601:
                Added auto extention handling (.nxs)
                Added a few missing keywords and operators

              v2014081501:
                Original syntax file

              This is very cool dude. It works great and it was just what I needed. Thanks..

              1 Reply Last reply
              0
              • T
                T
                tomaskir
                wrote on last edited by
                #7

                Update for release of NetXMS 2.0!

                v2016010701:
                  Added new functions from 2.0 release to syntax highlight and calltips
                  Fixed cosmetic errors in Calltips
                  Fixed multi-line comments not being styled
                  Fixed escaped quote breaking styling in strings
                  Files moved to GitHub

                All the files are now located on GitHub at:
                https://github.com/tomaskir/netxms-notepad_pp.git

                1 Reply Last reply
                0

                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
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                Powered by NodeBB Contributors
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Users
                • Groups