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> being inserted instead of actual tabs #59925

Closed
ssgtmccrae opened this issue Oct 3, 2018 · 8 comments · Fixed by VSCodeVim/Vim#3108
Closed

<tab> being inserted instead of actual tabs #59925

ssgtmccrae opened this issue Oct 3, 2018 · 8 comments · Fixed by VSCodeVim/Vim#3108
Labels
*caused-by-extension Issue identified to be caused by an extension

Comments

@ssgtmccrae
Copy link

ssgtmccrae commented Oct 3, 2018

Occurs randomly throughout the day, not occurring in any other applications, fixed by restarting VSCode. Also having issues with VSCode forgetting the replace tabs with 2 spaces even though detect indentation is turned off. Please let me know if this human error :-)

register: lxc_info
when: ansible_distribution_release == 'bionic'

  • name: DEBUG - DEBUG - DEBUG
    <tab><tab><tab><tab><tab><tab><tab>

  • name: Template Preseed file for 18.04
    template:

@RMacfarlane RMacfarlane added the info-needed Issue requires more information from poster label Oct 3, 2018
@RMacfarlane
Copy link
Contributor

Some questions:

  • What version of VSCode is this?
  • Do you have extensions installed and if so, do you still see the problem after disabling them? (can run the Reload Window with Extensions Disabled command)
  • Is this on Ubuntu 18.04?

@vityas-off
Copy link

Have the same problem since yesterday.
os: arch linux,
code: 1.27.0-insider 07618102efdd63f09949ce54c161e7fd2a954ee8
addons:

Dart-Code.dart-code
Dart-Code.flutter
dbaeumer.vscode-eslint
eamodio.gitlens
eg2.tslint
esbenp.prettier-vscode
freebroccolo.reasonml
James-Yu.latex-workshop
octref.vetur
oderwat.indent-rainbow
patrys.vscode-code-outline
PeterJausovec.vscode-docker
PKief.material-icon-theme
robinbentley.sass-indented
vscodevim.vim

@ssgtmccrae
Copy link
Author

ssgtmccrae commented Oct 4, 2018

Sorry for the late reply, here's the requested info. Due to the fact that the issue is so sporadic, I'm not sure that opening the window with extensions disabled will prove anything.

OS: Ubuntu 18.04.1

VSCode:
Version: 1.28.0-insider
Commit: 431ef9d
Date: 2018-10-03T12:37:10.832Z
Electron: 2.0.9
Chrome: 61.0.3163.100
Node.js: 8.9.3
V8: 6.1.534.41
Architecture: x64

Extensions:
Ansible 0.5.1
Django 0.17.0
Docker 0.3.1
GitLens 8.5.6
Jinja 0.0.8
Jupyter 1.1.4
MagicPython 1.1.0
Markdown All In One 1.6.2
markdownlint 0.20.0
Python 2018.8.0
Python Extension Pack 1.4.0
Vim 0.16.5
Visual Studio Intellicode - Preview 1.0.4
vscode-ansible-linter 0.11.0
vscode-icons 7.27.0

@RMacfarlane
Copy link
Contributor

Thanks @ssgtmccrae and @vityas-off for the additional info!

Do you think this is related? VSCodeVim/Vim#2499
Or is it less deterministic than just when you are doing a replace?

@vityas-off
Copy link

It's less deterministic, issue occurs at every tab input, not only replace.
But since vim extension was updated exactly when this started, i think this extension most likely is the source of the problem.

@RMacfarlane
Copy link
Contributor

Yeah, I think this is an issue with the extension. Someone else has already filed at issue about it in that repo: #59925

Looks like the releases page has all of the previous .vsix files, so you could set extensions.autoUpdate to false and manually install an older version as a temporary workaround.

@RMacfarlane RMacfarlane added *caused-by-extension Issue identified to be caused by an extension and removed info-needed Issue requires more information from poster labels Oct 5, 2018
@shawnaxsom
Copy link

While VSCodeVim/Vim#2499 is still an issue, it appears to happen only on replace.

This is more likely related to: VSCodeVim/Vim#3096. I am finishing up a fix for that issue. It happens if you are open or change editors that are in different Vim modes. A workaround is to change modes in the editor when you detect the problem, such as pressing <Esc>.

I don't know that these would affect the other issue mentioned regarding replace tabs with 2 spaces.

@shawnaxsom
Copy link

^^ PR is merged and should be resolved with the next VSCodeVim release.

@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*caused-by-extension Issue identified to be caused by an extension
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants