You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixes multicursor snippets, and adds support for stuff like auto-bracketing and auto-completion on multicursor mode.
Backspace Support:
Makes range represent the selection at position. This way we delete the correct range rather than the primary selection as it was before these changes.
Multicursor Character Insert:
Makes multicursor text insertion behave like single cursor text insertion by ultimately using the default: type command rather than vscode.TextEditor.insert() which doesn't have support for snippet mode, auto completion, bracketing, etc.
To accomplish this, I've added an optional property (isMultiCursor) to InsertTextVSCodeTransformation which represents vimState.isMultiCursorat the time the transformation was created. This property is used to filter the multicursor transformations into multicursorTextTransformations.
Because the default: type command handles inserting the text into the correct cursor positions there's no need to repeat the transformation multiple times and we can just execute the command once, as long as we know all transformations are trying to do the same thing.
Fixes#4281, fixes#4223, fixes#3005, fixes#4522, fixes#4515, fixes#1946, fixes#3976
Issue Type: Bug
Describe the bug
Autocomplete dissappears after typing in LaTex begin environments. Works after disabling vim.
To Reproduce
1.) Create basic latex file e.g.:
2.) Inside document type \begin and press tab to autocomplete begin environment
3.) Type any characters and autocomplete will disappear.
Expected behavior
Autocomplete should stay open and filter suggestions as you type.
Screenshots
![vim](https://user-images.githubusercontent.com/1909532/73128438-b140b280-3f8c-11ea-9094-1aea1c71fe39.gif)
Behavior with vim enabled:
Behavior without vim enabled:
![no_vim](https://user-images.githubusercontent.com/1909532/73128439-b6056680-3f8c-11ea-8636-a7c7c29bf2bc.gif)
Extension version: 1.12.4
VS Code version: Code 1.41.1 (26076a4de974ead31f97692a0d32f90d735645c0, 2019-12-18T14:58:56.166Z)
OS version: Windows_NT x64 10.0.18363
System Info
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
protected_video_decode: unavailable_off
rasterization: enabled
skia_renderer: disabled_off
surface_control: disabled_off
surface_synchronization: enabled_on
video_decode: enabled
viz_display_compositor: enabled_on
viz_hit_test_surface_layer: disabled_off
webgl: enabled
webgl2: enabled
The text was updated successfully, but these errors were encountered: