Skip to content

How to close text editor's auto wrap #1966

Closed

Description

@k870611

If the line is too long, e.g.
@{mylist} Create List ${arg1} ${arg2} ${arg3} ${arg4} ${arg5} ${arg6}

after click "Apply Changes" button (in Text Editor tab ), Save, or Run the test case, it will auto wrap to

@{mylist}    Create List    ${arg1}    ${arg2}    ${arg3}    ${arg4}    ${arg5}
...    ${arg6} 

How do I close this function (Disable auto warp) ?
Thanks and best regard.

Activity

  1. Nyral commented on Jul 6, 2019

    @Nyral
    Contributor

    This is done by a class from the RobotFramework tidy function, which RIDE indirectly calls every time when saving. It cannot be disabled and it's not configurable either. :(

    If you don't mind getting your hands dirty, you can manually change the max column count at which auto size occurs. See these variables here.

  2. k870611 commented on Jul 8, 2019

    @k870611
    Author

    Thanks Nyral, it works, thanks a lot ~~~~~~~~~~~
    By the way, I want to ask does it is possible to use pdb in ride ??

    Thanks and best regard.

  3. reopened this on Jul 8, 2019
  4. HelioGuilherme66 commented on Jul 8, 2019

    @HelioGuilherme66
    Member

    @k870611 Please explain what justifies the reopening of the issue.
    Also it would be nice to know what code changes you did to solve the problem. Maybe we can improve Text Editor by adding an option. Thanks.

  5. k870611 commented on Jul 9, 2019

    @k870611
    Author

    @HelioGuilherme66

    Like Nyral says, I change datafilewriter.py (both robotide and robot's ) line 52 (txt_column_count from 8 to 10. (txt_column_count = 8 => txt_column_count = 10)

    And reopen is because I want to ask does pdb is useable in ride ?? (it will report >
    (1)()->None
    (Pdb)
    | FAIL |
    Evaluating expression 'pdb.Pdb(stdout=sys.stdout).set_trace()' failed: BdbQuit)

    Thanks and best regard.

  6. Nyral commented on Aug 8, 2019

    @Nyral
    Contributor

    It's not very usable. You will need to look for something else.
    I haven't found anything either. 😞

    Sorry I took so long to reply, I didn't realize the question was for me.

  7. added this to the v1.7.4 milestone on Sep 5, 2019
  8. added
    enhancement
    and removed on Sep 5, 2019
  9. added a commit that references this issue on Sep 5, 2019
    7186a4b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

enhancement

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions