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

[html] auto-complete on closing tags when pasting with space #87118

Closed
helgemahrt opened this issue Dec 16, 2019 · 3 comments
Closed

[html] auto-complete on closing tags when pasting with space #87118

helgemahrt opened this issue Dec 16, 2019 · 3 comments
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s) html HTML support issues
Milestone

Comments

@helgemahrt
Copy link

Issue Type: Bug

Same as: #87067

In my opinion there is a bug here. Yes, the feature should create a mirror cursor on a matching tag, but when I'm pasting content with a leading space onto the opening tag, I'd expect the mirroring cursor to handle this like having typed the space manually.
I encounter this a lot because I want to copy some attribute to another tag. On new tags, like

, the closing ">" is right behind the tag name and therefore I include leading spaces when copying, so I can just put the cursor right at the end of the tag and paste. Having to manually press space is an additional step in my workflow and makes this feature rather cumbersome.

VS Code version: Code 1.41.0 (9579eda, 2019-12-11T18:37:42.077Z)
OS version: Windows_NT x64 10.0.19041

System Info
Item Value
CPUs Intel(R) Core(TM) i7-8650U CPU @ 1.90GHz (8 x 2112)
GPU Status 2d_canvas: enabled
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: enabled
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
Load (avg) undefined
Memory (System) 15.93GB (1.52GB free)
Process Argv
Screen Reader no
VM 0%
Extensions (17)
Extension Author (truncated) Version
jsonsort hma 1.0.0
vscode-docker ms- 0.9.0
vscode-asa ms- 0.2.0
python ms- 2019.11.50794
remote-wsl ms- 0.41.6
azure-account ms- 0.8.7
cpptools ms- 0.26.2
csharp ms- 1.21.9
powershell ms- 2019.11.0
vscode-typescript-tslint-plugin ms- 1.2.3
azurerm-vscode-tools msa 0.8.2
cordova-tools msj 1.9.0
debugger-for-chrome msj 4.12.3
wow-bundle Sep 1.3.0
code-spell-checker str 1.7.20
azure-event-hub-explorer Sum 0.1.2
azure-iot-toolkit vsc 2.14.0
@vscodebot
Copy link

vscodebot bot commented Dec 16, 2019

(Experimental duplicate detection)
Thanks for submitting this issue. Please also check if it is already covered by an existing one, like:

@octref octref added feature-request Request for new features or functionality html HTML support issues labels Dec 16, 2019
@octref octref added this to the December/January 2020 milestone Dec 16, 2019
@octref octref self-assigned this Dec 16, 2019
@octref octref added *duplicate Issue identified as a duplicate of another issue(s) and removed feature-request Request for new features or functionality labels Dec 17, 2019
@vscodebot
Copy link

vscodebot bot commented Dec 17, 2019

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for existing issues here. See also our issue reporting guidelines.

Happy Coding!

@vscodebot vscodebot bot closed this as completed Dec 17, 2019
@octref
Copy link
Contributor

octref commented Dec 17, 2019

Tracking in #87067.

@vscodebot vscodebot bot locked and limited conversation to collaborators Jan 31, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s) html HTML support issues
Projects
None yet
Development

No branches or pull requests

2 participants