Thursday 3 May 2012

QlikView for Notepad++ Update

NOTE: Links in this post are to deprecated versions, please see the QlikView Notepad++ page for the latest version and instructions.

Since so many people seem to have downloaded the QlikView language definition for Notepad++ that I released earlier this week, I thought I'd better finish adding the keywords and statements that were missing. It should now support ALL keywords and statements as well as all functions and line and block comments.

For those who haven't yet tried it you can read the instructions from the original post http://www.qlikviewaddict.com/2012/04/qlikview-scripts-in-notepad.html

For those that already have the first release you will need download the new language definition file http://qvacb.googlecode.com/files/qlikview-lang-def-v0.2.xml

You'll need to follow pretty much the same steps as before but remove the old QlikView language definition file before importing the new one. You can do this by selecting "QlikView" in the User language drop down at the top of the User Defined Language dialog and then click "Remove". You can then import the new file.

As before if you find any issues leave me a comment below.

7 comments:

  1. Awesome...thanks for the great tool.

    ReplyDelete
  2. Very interesting work Matt! I will share it for sure. Congrats!
    --Vasco

    ReplyDelete
  3. Hi Matthew,
    I like so much this "plug-in".

    I have found a bug in syntax highlighting, test this code please.

    load
    a,b,/*fdsfadf*/c
    resident x;

    load
    a,b,
    /*fdsfadf*/c
    resident x;

    load
    a,
    b,
    /*fdsfadf*/
    c
    resident x;

    Regards
    Luca Jonathan Panetta

    ReplyDelete
    Replies
    1. Hi Luca

      Unfortunately the functionality is limited by Notepad++'s language engine so there isn't a lot I can do to fix this. If you put a space before each /* and */ then it will highlight correctly though.

      Regards
      Matt

      Delete
    2. Thanks Matthew,
      I reported the issue only to improve the syntax highlighting.

      I found another issue:

      load
      replace(x, '\', '') as key
      ;

      The '\' generate ad error because it is interpreted as and escape char. Could you do something?

      Regards
      Luca

      Delete
    3. Hi Luca

      You are correct that's exactly what is happening. I'll release a new version removing the escape character when I get the chance.


      Regards
      Matt

      Delete
    4. Hi Luca

      I've released a new version that should solve the escape character issue. You can find it here http://www.qlikviewaddict.com/2012/06/qlikview-for-notepad-update.html

      Thanks
      Matt

      Delete