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

Input freezes on typing #3825

Open
idoo opened this issue Jun 11, 2019 · 17 comments
Open

Input freezes on typing #3825

idoo opened this issue Jun 11, 2019 · 17 comments

Comments

@idoo
Copy link

idoo commented Jun 11, 2019

Vim mode doesn't allow to type text

To Reproduce
Steps to reproduce the behaviour:

  1. Open any file
  2. Switch to insert mode
  3. Type something
  4. VIM mode freeze and don't type anything and it's not possible to exit from input mode

Expected behaviour
Allow to type text

  • Extension (VsCodeVim) version:
  • VSCode version: Version 1.35.0 (1.35.0)
  • OS: OSX 10.14.5 (18F203)

Do you have ideas about how I could debug it and catch why it happens?

@idoo idoo changed the title Freee on type Input freezes on typing Jun 12, 2019
@Georacer
Copy link

I have the same issue, which appears when:

  1. I use the doxygen documentation generator extension
  2. Go into Insert mode
  3. Hit the comment block initiation sequence.

VSCode version: 1.35.0
OS: Ubuntu 18.04

@idoo
Copy link
Author

idoo commented Jun 14, 2019

@Georacer I don't have doxygen btw

It happens with any kind of files — even plain HTML

@rcarmo
Copy link

rcarmo commented Jun 15, 2019

I have the same (randomly occurring) issue. It's been bugging me for a while, and it took me a bit to make sure it was this extension. I usually toggle vim mode to resume working, but it can take a few seconds to do so and is extremely irritating when it happens.

@wldcordeiro
Copy link

wldcordeiro commented Jun 19, 2019

I'm positive this extension is just a giant memory leak because of its action history. It starts running just fine but after ~1 hour of usage it always slows to a crawl.

@rcarmo
Copy link

rcarmo commented Jun 19, 2019 via email

@idoo
Copy link
Author

idoo commented Jun 19, 2019

@rcarmo amVim does not support a lot of keycomb — for example, change surrounds

@wldcordeiro
Copy link

It doesn't completely halt the editor though which is 100x more important than features. Editing should never have freezes.

@jwmann
Copy link

jwmann commented Jul 4, 2019

I'm also getting this issue.
Don't have doxygen either.

Happened when vscode updated to 1.36.0
Could be a coincidence though.

@jwmann
Copy link

jwmann commented Jul 4, 2019

After a system restart, I'm still getting this issue.
It seems to happen even when visually selecting text.

My theory is that it's based on the status bar changing but I could be wrong.

@jwmann
Copy link

jwmann commented Jul 4, 2019

As I suspected above, it seems to be related to the status bar switching.
Setting "vim.statusBarColorControl": false, in my settings.json will alleviate any hang for me.

Let me know if this works for you too.

@smlparry
Copy link

smlparry commented Jul 9, 2019

@jwmann thanks so much! That fixed it for me 🔥 I guess its related to the updates in the latest release of vs code

@idoo
Copy link
Author

idoo commented Jul 9, 2019

I had such parameter switched off btw, so keeping looking

@elonliu
Copy link

elonliu commented Jul 10, 2019

Same issue here. By turning off vim.statusBarColorControl seems to work.
I noticed recently VS Code is updated with a feature that supports individual on/off settings for each status bar element. Not knowing if there's a connection.

@loisgomez
Copy link

Same issue here. I've been getting editor slow downs and freezes continuously while using vim.statusBarColorControl. Disabling this feature has solved the issue for me too.

@claforte
Copy link

claforte commented Sep 11, 2019

Same problem in one Python file, not particularly big (417 lines), at a particular line:

    assert len(str(pm4_folder_path)) < 200 # Windows still doesn't properly support paths longer than 225 characters. WTF it's 2019 for god's sake!

Disabling vim.statusBarColorControl made no difference.

I could confidentially share the source file with a trusted party (e.g. Microsoft) if needed. Let me know.

@tanc
Copy link

tanc commented Feb 25, 2020

Also having this problem when editing (some) class names in insert mode in html documents. Have to restart vscode each time. Disabling vim.statusBarColorControl also made no difference.

@yesudeep
Copy link

This is still a problem if someone can take a look at it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests