{"action":"created","issue":{"url":"https://api.github.com/repos/microsoft/vscode/issues/87170","repository_url":"https://api.github.com/repos/microsoft/vscode","labels_url":"https://api.github.com/repos/microsoft/vscode/issues/87170/labels{/name}","comments_url":"https://api.github.com/repos/microsoft/vscode/issues/87170/comments","events_url":"https://api.github.com/repos/microsoft/vscode/issues/87170/events","html_url":"https://github.com/microsoft/vscode/issues/87170","id":539026860,"node_id":"MDU6SXNzdWU1MzkwMjY4NjA=","number":87170,"title":"Auto-complete paste on html closing tag","user":{"login":"Kirubelabr","id":19479482,"node_id":"MDQ6VXNlcjE5NDc5NDgy","avatar_url":"https://avatars0.githubusercontent.com/u/19479482?v=4","gravatar_id":"","url":"https://api.github.com/users/Kirubelabr","html_url":"https://github.com/Kirubelabr","followers_url":"https://api.github.com/users/Kirubelabr/followers","following_url":"https://api.github.com/users/Kirubelabr/following{/other_user}","gists_url":"https://api.github.com/users/Kirubelabr/gists{/gist_id}","starred_url":"https://api.github.com/users/Kirubelabr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kirubelabr/subscriptions","organizations_url":"https://api.github.com/users/Kirubelabr/orgs","repos_url":"https://api.github.com/users/Kirubelabr/repos","events_url":"https://api.github.com/users/Kirubelabr/events{/privacy}","received_events_url":"https://api.github.com/users/Kirubelabr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2019-12-17T12:09:54Z","updated_at":"2019-12-17T12:10:00Z","closed_at":null,"author_association":"NONE","body":"\r\nIssue Type: <b>Bug</b>\r\n\r\nTrying to paste additional info i.e. 'class' on existing div tag it adds extra cursor on the closing tag too and good to change to any other HTML tags. But while pasting some CSS class or anything that includes space at the beginning it also adds it on the closing tag and leads to HTML template parse errors.\r\nTo reproduce: paste info on HTML div tag with leading space.\r\ni.e. paste ` class=\"page-wrapper\"` in an existing div tag\r\n<div></div> // first\r\n<div class=\"page-wrapper\"></div class=\"page-wrapper\"> //\r\n\r\nit should only paste content on oppening tag.\r\n<div  class=\"page-wrapper\"></div>\r\n\r\nPlease fix this.\r\n\r\nVS Code version: Code 1.41.0 (9579eda04fdb3a9bba2750f15193e5fafe16b959, 2019-12-11T18:37:42.077Z)\r\nOS version: Windows_NT x64 10.0.17763\r\n\r\n<details>\r\n<summary>System Info</summary>\r\n\r\n|Item|Value|\r\n|---|---|\r\n|CPUs|Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz (8 x 1992)|\r\n|GPU Status|2d_canvas: enabled<br>flash_3d: enabled<br>flash_stage3d: enabled<br>flash_stage3d_baseline: enabled<br>gpu_compositing: enabled<br>metal: disabled_off<br>multiple_raster_threads: enabled_on<br>oop_rasterization: disabled_off<br>protected_video_decode: enabled<br>rasterization: enabled<br>skia_renderer: disabled_off<br>surface_control: disabled_off<br>surface_synchronization: enabled_on<br>video_decode: enabled<br>viz_display_compositor: enabled_on<br>viz_hit_test_surface_layer: disabled_off<br>webgl: enabled<br>webgl2: enabled|\r\n|Load (avg)|undefined|\r\n|Memory (System)|11.84GB (1.98GB free)|\r\n|Process Argv||\r\n|Screen Reader|no|\r\n|VM|0%|\r\n</details><details><summary>Extensions (15)</summary>\r\n\r\nExtension|Author (truncated)|Version\r\n---|---|---\r\nvscode-css-formatter|aes|1.0.1\r\nflutter-snippets|ale|2.0.0\r\ndart-code|Dar|3.7.1\r\nflutter|Dar|3.7.1\r\nvscode-eslint|dba|2.0.6\r\ngithistory|don|0.4.11\r\nauto-close-tag|for|0.5.6\r\nvscode-react-native|msj|0.13.2\r\nawesome-flutter-snippets|Nas|2.0.3\r\nmaterial-icon-theme|PKi|3.9.2\r\nvscode-scss-formatter|sib|1.4.2\r\ncode-spell-checker|str|1.7.20\r\nvscode-icons|vsc|9.6.0\r\nvscode-todo-highlight|way|1.0.4\r\nhtml-css-class-completion|Zig|1.19.0\r\n\r\n\r\n</details>\r\n<!-- generated by issue reporter -->"},"comment":{"url":"https://api.github.com/repos/microsoft/vscode/issues/comments/566515191","html_url":"https://github.com/microsoft/vscode/issues/87170#issuecomment-566515191","issue_url":"https://api.github.com/repos/microsoft/vscode/issues/87170","id":566515191,"node_id":"MDEyOklzc3VlQ29tbWVudDU2NjUxNTE5MQ==","user":{"login":"vscodebot[bot]","id":28792856,"node_id":"MDM6Qm90Mjg3OTI4NTY=","avatar_url":"https://avatars2.githubusercontent.com/in/2406?v=4","gravatar_id":"","url":"https://api.github.com/users/vscodebot%5Bbot%5D","html_url":"https://github.com/apps/vscodebot","followers_url":"https://api.github.com/users/vscodebot%5Bbot%5D/followers","following_url":"https://api.github.com/users/vscodebot%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/vscodebot%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/vscodebot%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vscodebot%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/vscodebot%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/vscodebot%5Bbot%5D/repos","events_url":"https://api.github.com/users/vscodebot%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/vscodebot%5Bbot%5D/received_events","type":"Bot","site_admin":false},"created_at":"2019-12-17T12:10:00Z","updated_at":"2019-12-17T12:10:00Z","author_association":"NONE","body":"(Experimental duplicate detection)\nThanks for submitting this issue. Please also check if it is already covered by an existing one, like:\n- [\\[html\\] auto-complete on closing tags when pasting with space (#87118)](https://www.github.com/microsoft/vscode/issues/87118) <!-- score: 0.607 -->\n- [Paste indents twice with HTML formatting (#32320)](https://www.github.com/microsoft/vscode/issues/32320) <!-- score: 0.555 -->\n- [Pasting after selecting html tag pastes twice (#87067)](https://www.github.com/microsoft/vscode/issues/87067) <!-- score: 0.523 -->\n- [Doubled cursor in HTML files causes doubled content (#86455)](https://www.github.com/microsoft/vscode/issues/86455) <!-- score: 0.514 -->\n- [Multi Cursor Created on every click (#87014)](https://www.github.com/microsoft/vscode/issues/87014) <!-- score: 0.494 -->\n<!-- potential_duplicates_comment -->"}}
{"actor":{"display_login":"vscodebot"}}