Title: 在使用script setup语法糖的块内,回车总会多出一个缩进 · Issue #62 · JS-Encoder/JS-Encoder · GitHub
Open Graph Title: 在使用script setup语法糖的块内,回车总会多出一个缩进 · Issue #62 · JS-Encoder/JS-Encoder
X Title: 在使用script setup语法糖的块内,回车总会多出一个缩进 · Issue #62 · JS-Encoder/JS-Encoder
Description: 问题描述 在script setup的单文件模板内些代码的时候,回车换行会带出一层缩进 如何复现? 选择vue的component模板,改成setup语法糖 正常换行输入 预期结果是什么? 光标应该定位到行首 浏览器版本 Microsoft Edge 版本 126.0.2592.61 (正式版本) (64 位) 其他内容
Open Graph Description: 问题描述 在script setup的单文件模板内些代码的时候,回车换行会带出一层缩进 如何复现? 选择vue的component模板,改成setup语法糖 正常换行输入 预期结果是什么? 光标应该定位到行首 浏览器版本 Microsoft Edge 版本 126.0.2592.61 (正式版本) (64 位) 其他内容
X Description: 问题描述 在script setup的单文件模板内些代码的时候,回车换行会带出一层缩进 如何复现? 选择vue的component模板,改成setup语法糖 正常换行输入 预期结果是什么? 光标应该定位到行首 浏览器版本 Microsoft Edge 版本 126.0.2592.61 (正式版本) (64 位) 其他内容
Opengraph URL: https://github.com/JS-Encoder/JS-Encoder/issues/62
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"在使用script setup语法糖的块内,回车总会多出一个缩进","articleBody":"**问题描述**\r\n在script setup的单文件模板内些代码的时候,回车换行会带出一层缩进\r\n\r\n\r\n**如何复现?**\r\n1. 选择vue的component模板,改成setup语法糖\r\n2. 正常换行输入\r\n\r\n**预期结果是什么?**\r\n光标应该定位到行首\r\n**浏览器版本**\r\nMicrosoft Edge\r\n版本 126.0.2592.61 (正式版本) (64 位)\r\n**其他内容**\r\n","author":{"url":"https://github.com/Azir-11","@type":"Person","name":"Azir-11"},"datePublished":"2024-06-23T08:46:59.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/62/JS-Encoder/issues/62"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:e785993a-5141-fcb3-f240-c4dd0c64d78b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EBF0:12866F:77384:9729C:6990912F |
| html-safe-nonce | 56142c96c058776be9837216de996caddb2ee858f5fe290d369c175e073312d4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQkYwOjEyODY2Rjo3NzM4NDo5NzI5Qzo2OTkwOTEyRiIsInZpc2l0b3JfaWQiOiI1NTY2NzM1MDU3MTczOTA5ODA3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 3fdd96b8a786bf1f2eec3ba27cbc1a09b55978696dfe996cbea4d901c6dc40e6 |
| hovercard-subject-tag | issue:2368450238 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/JS-Encoder/JS-Encoder/62/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1ae8df63f09d8df98b18e6a61cd8470da62b491a26830e8d750f4789deffed1c/JS-Encoder/JS-Encoder/issues/62 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1ae8df63f09d8df98b18e6a61cd8470da62b491a26830e8d750f4789deffed1c/JS-Encoder/JS-Encoder/issues/62 |
| og:image:alt | 问题描述 在script setup的单文件模板内些代码的时候,回车换行会带出一层缩进 如何复现? 选择vue的component模板,改成setup语法糖 正常换行输入 预期结果是什么? 光标应该定位到行首 浏览器版本 Microsoft Edge 版本 126.0.2592.61 (正式版本) (64 位) 其他内容 |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Azir-11 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-preview |
| go-import | github.com/JS-Encoder/JS-Encoder git https://github.com/JS-Encoder/JS-Encoder.git |
| octolytics-dimension-user_id | 91447199 |
| octolytics-dimension-user_login | JS-Encoder |
| octolytics-dimension-repository_id | 190842308 |
| octolytics-dimension-repository_nwo | JS-Encoder/JS-Encoder |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 190842308 |
| octolytics-dimension-repository_network_root_nwo | JS-Encoder/JS-Encoder |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 3b33c5aedc9808f45bc5fcf0b1e4404cf749dac7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width