Unsupported Screen Size: The viewport size is too small for the theme to render properly.

Remember Text Column On Newline

forums forums SQLyog SQLyog: Bugs / Feature Requests Remember Text Column On Newline

  • This topic is empty.
Viewing 3 reply threads
  • Author
    Posts
    • #9281
      andreas
      Member

      Hello, and thank you for the best mysql-interface in my 7 years of mysql-usage! Just bought the Enterprise version, and I just have one little request at the moment. When following the coding conventions of my company, the SQL queries have to be formatted in a specific way. I'm using SQLyog of course to create the queries, and it would be so nice if the SQL-window could remember the last tab (or space) position when you press enter.

      So if I enter

      SELECT

      [tab]firstname,

      And press enter, the cursor should end up on the same column as the firstname line (one tab up). Right now it always goes back to the first column. I always have to use tab to keep the formatting, and its a bit tedious.

      Hope you understand what I mean. Thanks again for the excellent product you have!

      Regards,

      Andreas

    • #19455
      peterlaursen
      Participant

      I think I understand!

      See attached picture.

      Cursor goes to position 1 when you press and you want it to go to position 2. Right?

      I think your request is a result of a not very typical SQL-formatting need. But for the editor of an IDE-programming environment, it is a must.

      The editor in SQLyog is optimized for SQL and SQL only. Well … Let Ritesh have a look at it!

    • #19456
      Ritesh
      Member

      I have added it in the TO-DO list. We will implement it in one of the future versions of SQLyog.

    • #19457
      andreas
      Member

      Sounds great, thanks for listening. 🙂

      Regards,

      Andreas

Viewing 3 reply threads
  • You must be logged in to reply to this topic.