Menu

SQL Folding Bug

infogulch
2009-09-02
2012-11-13
  • infogulch

    infogulch - 2009-09-02

    The new SQL folding is great!
    But there's a bug in the way the CASE ... END statement is handled on multiple lines.
    I'll try to upload a screenshot.

     
    • infogulch

      infogulch - 2009-09-02

      here's a screenshot: http://www.autohotkey.net/~infogulch/ext/Screenshot.png
      I couldn't figure out how to upload directly to the forum, and places like imagebin.com have some firewall restrictions and aren't permanent.

       
    • cchris

      cchris - 2009-09-03

      Following the talking on IRC last night (UTC), the issue is that you should be using the MSSQL lexer to highlight your code. If it is not in your language menu, go to Settings -> Preferences -> Language menu to enable it. Now, if all your files use this SQL variant, you may want to associate your SQL files with MSSQL and disable the binding with stancard SQL, which doesn't have CASE recognised as a fold point.

      CChris

       
MongoDB Logo MongoDB