jednano / vscode-tabsanity

Arrow-key navigation through soft tabs as if they were hard tabs.
MIT License
12 stars 2 forks source link

Can't use shift+home to select to beginning of line #9

Closed factormystic closed 7 years ago

factormystic commented 8 years ago

Refiled here, from https://github.com/Microsoft/vscode/issues/10197

Steps to Reproduce:

  1. Open a file (I have tested this with .rb, .json, and .html files)
  2. Click on the middle of a code line with indentation
  3. Press home once & observe that the caret to the beginning of the text, after the indentation whitespace (correct)
  4. Press home once more & observe that the caret moves to the beginning of the line, before the indentation whitespace (correct)
  5. Press home once more & observe that the caret moves to the beginning of the text, after the indentation whitespace (correct)
  6. Press shift + home & observe that nothing happens (incorrect). What should happen is that the caret should be at the beginning of the line with indentation whitespace selected.
jednano commented 8 years ago

Thanks for the excellent steps to reproduce. I am able to reproduce on the latest version of TabSanity.

That said, I'm not sure when I can devote any time to fix it, so help is much wanted. I believe the latest vscode release notes gave us a different way to tap into the keyboard navigation with their API, so I wanted to do some research on that front as well.

Accepting PRs.

daniellittledev commented 7 years ago

I can take a stab at this issue

jednano commented 7 years ago

Thanks @Lavinski for the fix! I've published the fix in version 0.0.9.