Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tab moves focus message not consistently displayed #3363

Closed
seanmcbreen opened this issue Feb 23, 2016 · 3 comments
Closed

Tab moves focus message not consistently displayed #3363

seanmcbreen opened this issue Feb 23, 2016 · 3 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug

Comments

@seanmcbreen
Copy link

#3246

This message [red in status bar] was not always displayed e.g. when I closed all editor windows it would go away - the tab would still shift focus but this was not what I expected.

@seanmcbreen seanmcbreen added the bug Issue identified by VS Code Team member as probable bug label Feb 23, 2016
@seanmcbreen
Copy link
Author

no file in focus
screen shot 2016-02-23 at 9 26 47 am

file in focus
screen shot 2016-02-23 at 9 26 58 am

@joaomoreno
Copy link
Member

I believe Tab moves focus is only relevant when an editor is in fact open, since it makes Tab move focus away from the editor itself. @alexandrudima is this correct?

@alexdima
Copy link
Member

The editor is trapping Tab by default. This means that when inside an editor, by default, pressing the Tab key will not move focus and will insert a tab character or spaces for indentation. This is OK, as Tab is used a lot while coding.

However, we must have a way to escape the Tab trap and move focus to the next element in the focus ring. To do so, you can press Ctrl+M which now toggles this specific editor that it no longer traps Tab. Think of it similar to "insert/overwrite" mode (which we don't yet support, but which would have a similar status bar behaviour).

@bpasero bpasero assigned seanmcbreen and unassigned bpasero Mar 14, 2016
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug
Projects
None yet
Development

No branches or pull requests

4 participants