Menu

How to fold sql?

Allan Li
2009-06-19
2012-11-13
  • Allan Li

    Allan Li - 2009-06-19

    Is there a way to fold sql script like xml? Thanks.

     
    • cchris

      cchris - 2009-07-06

      Action 1 is supposed to be something the normal user can do... Please come back if you have difficulies in using the user define language panel.I hardky know SQL, so I have no idea of the specifics and how they'd fit into the UDL framwork.

      CChris

       
    • Allan Li

      Allan Li - 2009-06-23

      Anyone?

       
    • cchris

      cchris - 2009-06-23

      There are three ways:
      * Create a user defined language that mimicks SQL, and add proper folding to it
      * Change the code in LexMySQL.cxx and build your own SciLexer.dll, then rebuld Notepad++.exe
      * Develop aan external lexer plugin that will implement the lexing and folding.

      Neither is too user friendly, but that's how Scintilla is designed.

      CChris

       
    • Allan Li

      Allan Li - 2009-07-06

      Thanks CChris.
      As you said, it's not a job for normal users like me. I'll just have to use other sql editors then.

       
MongoDB Logo MongoDB