Menu

#17 Tab in sql editor chage focus instead of write a tab.

Database
closed
None
5
2015-03-19
2015-03-18
lodopidolo
No

Hello, I've a problem when I press tab key in the sql editor. It change focus to other elements of the windows (tool bar, etc) instead of write a tab.

I've been searching any configuration about it but I haven't seen anything. How can I solve it?

Discussion

  • Andrzej Kałuża

    Hi,

    I am personally opposed to the use of tabs in the code, introduces more confusion, especially in group work.
    But... there are also other reasons - tab triggers snippets, allow code block move left / right, on dialog boxes, tab is used to move the cursor between fields.
    This is why I decided to standardize in orbada - without exception :-(

    Andrzej

     
  • lodopidolo

    lodopidolo - 2015-03-18

    Hi, well it is you opinion. Many languages and it's style code, base its code in indentations with tabs, meaning tab as fixed number of spaces. It is the case of Python for example.

    You allow use tab in Orbada to indent or not code blocks. Well, if you are writing a code with procedures and other blocks, it is more easy to indent at the beginning of the block and maintain it through next lines than write block, select it and after press tab key.

    Code indentation makes code more comprehensible to read.

    Why to force every people that wants to use Orbada to write its code without use key tab?

     
  • Andrzej Kałuża

    Hi,

    Why? because I can ;-)
    and seriously ... I will add the appropriate option to next release

    Andrzej

     
  • Andrzej Kałuża

    done :)
    available at 1.2.4+

     
  • Andrzej Kałuża

    • status: open --> closed
     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB