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

Failed to handle key <C-v>: Cannot read properties of null (reading 'pushUndoStop') #8053

Open
Gustavo9481 opened this issue Oct 24, 2022 · 0 comments

Comments

@Gustavo9481
Copy link

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

VSCodeVim version: 1.24.1

Stack trace
TypeError: Cannot read properties of null (reading 'pushUndoStop')
    at i.applyEdits (vscode-file://vscode-app/c:/Users/gusta/AppData/Local/Programs/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js:1726:15296)
    at Jl.$tryApplyEdits (vscode-file://vscode-app/c:/Users/gusta/AppData/Local/Programs/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js:2727:18404)
    at v._doInvokeHandler (vscode-file://vscode-app/c:/Users/gusta/AppData/Local/Programs/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js:1734:13070)
    at v._invokeHandler (vscode-file://vscode-app/c:/Users/gusta/AppData/Local/Programs/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js:1734:12752)
    at v._receiveRequest (vscode-file://vscode-app/c:/Users/gusta/AppData/Local/Programs/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js:1734:11522)
    at v._receiveOneMessage (vscode-file://vscode-app/c:/Users/gusta/AppData/Local/Programs/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js:1734:10224)
    at vscode-file://vscode-app/c:/Users/gusta/AppData/Local/Programs/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js:1734:8331
    at f.invoke (vscode-file://vscode-app/c:/Users/gusta/AppData/Local/Programs/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js:83:145)
    at a.deliver (vscode-file://vscode-app/c:/Users/gusta/AppData/Local/Programs/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js:83:2266)
    at c.fire (vscode-file://vscode-app/c:/Users/gusta/AppData/Local/Programs/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js:83:1844)
    at o.fire (vscode-file://vscode-app/c:/Users/gusta/AppData/Local/Programs/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js:545:19365)
    at g._receiveMessage (vscode-file://vscode-app/c:/Users/gusta/AppData/Local/Programs/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js:545:24177)
    at vscode-file://vscode-app/c:/Users/gusta/AppData/Local/Programs/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js:545:21620
    at f.invoke (vscode-file://vscode-app/c:/Users/gusta/AppData/Local/Programs/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js:83:145)
    at a.deliver (vscode-file://vscode-app/c:/Users/gusta/AppData/Local/Programs/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js:83:2266)
    at c.fire (vscode-file://vscode-app/c:/Users/gusta/AppData/Local/Programs/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js:83:1844)
    at c.acceptChunk (vscode-file://vscode-app/c:/Users/gusta/AppData/Local/Programs/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js:545:16196)
    at vscode-file://vscode-app/c:/Users/gusta/AppData/Local/Programs/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js:545:15326
    at Socket.E (vscode-file://vscode-app/c:/Users/gusta/AppData/Local/Programs/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js:545:27446)
    at Socket.emit (node:events:526:28)
    at addChunk (node:internal/streams/readable:315:12)
    at readableAddChunk (node:internal/streams/readable:289:9)
    at Readable.push (node:internal/streams/readable:228:10)
    at Pipe.onStreamRead (node:internal/stream_base_commons:190:23)
Additional context
currentMode: "Insert"
cursors: [
  "[[0, 0] | [0, 0]]"
]
actionsRunPressedKeys: [
  "i",
  "<C-v>"
]
actionsRun: [
  "K",
  "N"
]
textTransformations: [
  {
    "type": "insertText",
    "position": {
      "line": 0,
      "character": 0
    },
    "text": "🎯 Instalar virtualenv:\n\n$> pip install virtualenv\n🎯 Crear entorno virtual:\n\n$> virtualenv env\n🎯 Crear entorno virtual especificando el intérprete:\n\n$> virtualenv -p ruta/interprete/python env\n🎯 Crear entorno virtual heredando las librerías del sistema (no recomendado):\n\n$> virtualenv --system-site-packages env\n🎯 Activar el entorno virtual en Linux/Mac:\n\n$> source env/bin/activate\n🎯 Activar el entorno virtual en Windows:\n\n$> env\\Scripts\\activate.bat\n🎯 Salir del entorno virtual:\n\n$> deactivate\n🎯 Instalar un paquete/librería (por ejemplo, flask):\n\n$> pip install flask\n🎯 Instalar una versión concreta de un paquete/librería:\n\n$> pip install flask==1.0.1\n🎯 Actualizar la versión de un paquete/librería:\n\n$> pip install flask -U\n🎯 Desinstalar una librería:\n\n$> pip uninstall flask\n🎯 Listar todas las librerías:\n\n$> pip list\n🎯 Listar todos los paquetes/librerías en formato requirements.txt:\n\n$> pip freeze\n🎯 Crear/Actualizar el fichero requirements.txt:\n\n$> pip freeze > requirements.txt\n🎯 Mostrar la información de un paquete/librería:\n\n$> pip show flask\nConclusión",
    "cursorIndex": 0
  }
]
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

1 participant