Vscode: Tab key no longer works in HTML or CSS or LESS files

Created on 8 Feb 2017  路  12Comments  路  Source: microsoft/vscode

  • VSCode Version: Code - Insiders 1.10.0-insider (eff9148502fd3edf42573beb16006bee533c3cf9, 2017-02-08T07:10:29.700Z)
  • OS Version: Windows_NT ia32 10.0.14393
  • Extensions:

    Disabled all extensions

Steps to Reproduce:

  1. Tab key in HTML and CSS/LESS files no longer work
*duplicate emmet

Most helpful comment

I have the same problem. I did manage to find a workaround. I copied (without changing anything) the keybinding setting for tab from the defaults to my personal keybindings setting file.

So just add this:

{
  "key": "tab",
  "command": "tab",
  "when": "editorTextFocus && !editorReadonly && !editorTabMovesFocus"
},

To your keybindings.json file and tab should start working again.

All 12 comments

For me it doesn't work in JavaScript files as well.

Doesn't work in PHP either.

I'm having this problem as well - seems to work in Typescript files though

I have the same problem. I did manage to find a workaround. I copied (without changing anything) the keybinding setting for tab from the defaults to my personal keybindings setting file.

So just add this:

{
  "key": "tab",
  "command": "tab",
  "when": "editorTextFocus && !editorReadonly && !editorTabMovesFocus"
},

To your keybindings.json file and tab should start working again.

@janhancic works for me, thanks!

@janhancic thanks,but emmet is not working yet.

+1, solved by solution by @janhancic
Version 1.10.0-insider (1.10.0-insider)

I would like to add another issue, not sure it is related but I guess it is, when I F2 a file name to rename it, the left-right arrow keys, don't respond.

Duplicate of #20209

I think this came first :) but hey, as long as it gets a solution who cares which came first

20209 happened to get triaged first, so will close this one as duplicate of #20209.

We have found the root cause, the fix is in master.

As a workaround set "emmet.triggerExpansionOnTab": false in your settings.

This should enable TAB again. Once the next update for insiders rolls out, you no longer need to have this setting.

The fix is in the latest insiders.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

DovydasNavickas picture DovydasNavickas  路  3Comments

curtw picture curtw  路  3Comments

philipgiuliani picture philipgiuliani  路  3Comments

sijad picture sijad  路  3Comments

vsccarl picture vsccarl  路  3Comments