Skip to content

Editor tiny issues #61

Open
Open

Description

@dimitre

I've work with python files idented with TAB
and I've noticed when I move ident back or forth with (command + [ ) or (command + ] ) it introduces spaces.
As it is difficult to differentiate in the code sometimes I use VSCode to change it back to tabs too.

other strange behavior is:
if there are 3 tabs, and my cursor is between the second and the third, if I use the shortcut to "select everything from the line start to the cursor" (command + shift + arrow left) it actually selects to the right.

Cheers!

Activity

  1. samizdatco commented on Jul 15, 2022

    @samizdatco
    Member

    I've work with python files idented with TAB and I've noticed when I move ident back or forth with (command + [ ) or (command + ] ) it introduces spaces. As it is difficult to differentiate in the code sometimes I use VSCode to change it back to tabs too.

    It might be worth adding a setting in Preferences to choose tabs vs spaces (and the indent-size too). Note that the Show Invisibles option in the View menu will let you spot where spaces vs tabs are being used in a given file if you need to fix things by hand.

    other strange behavior is: if there are 3 tabs, and my cursor is between the second and the third, if I use the shortcut to "select everything from the line start to the cursor" (command + shift + arrow left) it actually selects to the right.

    Admittedly it's weird behavior, but I think what you're seeing on that first command-left is that it's hopping to the beginning of the text rather than the beginning of the line itself. If you tap command-left repeatedly you'll see it hops between the indentation point and the leftmost column.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions