René's URL Explorer Experiment


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

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"在使用script setup语法糖的块内,回车总会多出一个缩进","articleBody":"**问题描述**\r\n在script setup的单文件模板内些代码的时候,回车换行会带出一层缩进\r\n![image](https://github.com/JS-Encoder/JS-Encoder/assets/79054161/3c349b00-da8f-4439-9510-ca92222f525b)\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-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:e785993a-5141-fcb3-f240-c4dd0c64d78b
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idEBF0:12866F:77384:9729C:6990912F
html-safe-nonce56142c96c058776be9837216de996caddb2ee858f5fe290d369c175e073312d4
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQkYwOjEyODY2Rjo3NzM4NDo5NzI5Qzo2OTkwOTEyRiIsInZpc2l0b3JfaWQiOiI1NTY2NzM1MDU3MTczOTA5ODA3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac3fdd96b8a786bf1f2eec3ba27cbc1a09b55978696dfe996cbea4d901c6dc40e6
hovercard-subject-tagissue:2368450238
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/JS-Encoder/JS-Encoder/62/issue_layout
twitter:imagehttps://opengraph.githubassets.com/1ae8df63f09d8df98b18e6a61cd8470da62b491a26830e8d750f4789deffed1c/JS-Encoder/JS-Encoder/issues/62
twitter:cardsummary_large_image
og:imagehttps://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:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameAzir-11
hostnamegithub.com
expected-hostnamegithub.com
None42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b
turbo-cache-controlno-preview
go-importgithub.com/JS-Encoder/JS-Encoder git https://github.com/JS-Encoder/JS-Encoder.git
octolytics-dimension-user_id91447199
octolytics-dimension-user_loginJS-Encoder
octolytics-dimension-repository_id190842308
octolytics-dimension-repository_nwoJS-Encoder/JS-Encoder
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id190842308
octolytics-dimension-repository_network_root_nwoJS-Encoder/JS-Encoder
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release3b33c5aedc9808f45bc5fcf0b1e4404cf749dac7
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/JS-Encoder/JS-Encoder/issues/62#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FJS-Encoder%2FJS-Encoder%2Fissues%2F62
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FJS-Encoder%2FJS-Encoder%2Fissues%2F62
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=JS-Encoder%2FJS-Encoder
Reloadhttps://github.com/JS-Encoder/JS-Encoder/issues/62
Reloadhttps://github.com/JS-Encoder/JS-Encoder/issues/62
Reloadhttps://github.com/JS-Encoder/JS-Encoder/issues/62
JS-Encoder https://github.com/JS-Encoder
JS-Encoderhttps://github.com/JS-Encoder/JS-Encoder
Notifications https://github.com/login?return_to=%2FJS-Encoder%2FJS-Encoder
Fork 63 https://github.com/login?return_to=%2FJS-Encoder%2FJS-Encoder
Star 261 https://github.com/login?return_to=%2FJS-Encoder%2FJS-Encoder
Code https://github.com/JS-Encoder/JS-Encoder
Issues 0 https://github.com/JS-Encoder/JS-Encoder/issues
Pull requests 3 https://github.com/JS-Encoder/JS-Encoder/pulls
Discussions https://github.com/JS-Encoder/JS-Encoder/discussions
Actions https://github.com/JS-Encoder/JS-Encoder/actions
Security 0 https://github.com/JS-Encoder/JS-Encoder/security
Insights https://github.com/JS-Encoder/JS-Encoder/pulse
Code https://github.com/JS-Encoder/JS-Encoder
Issues https://github.com/JS-Encoder/JS-Encoder/issues
Pull requests https://github.com/JS-Encoder/JS-Encoder/pulls
Discussions https://github.com/JS-Encoder/JS-Encoder/discussions
Actions https://github.com/JS-Encoder/JS-Encoder/actions
Security https://github.com/JS-Encoder/JS-Encoder/security
Insights https://github.com/JS-Encoder/JS-Encoder/pulse
New issuehttps://github.com/login?return_to=https://github.com/JS-Encoder/JS-Encoder/issues/62
New issuehttps://github.com/login?return_to=https://github.com/JS-Encoder/JS-Encoder/issues/62
在使用script setup语法糖的块内,回车总会多出一个缩进https://github.com/JS-Encoder/JS-Encoder/issues/62#top
https://github.com/Azir-11
https://github.com/Azir-11
Azir-11https://github.com/Azir-11
on Jun 23, 2024https://github.com/JS-Encoder/JS-Encoder/issues/62#issue-2368450238
https://private-user-images.githubusercontent.com/79054161/342052566-3c349b00-da8f-4439-9510-ca92222f525b.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzEwODIzMzEsIm5iZiI6MTc3MTA4MjAzMSwicGF0aCI6Ii83OTA1NDE2MS8zNDIwNTI1NjYtM2MzNDliMDAtZGE4Zi00NDM5LTk1MTAtY2E5MjIyMmY1MjViLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjAyMTQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwMjE0VDE1MTM1MVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTE2NTdlNjIyMjUzMjQ0OTdhNWY4M2E3ZjlmYzBlY2VlZTJjZmExMjc3Mzk5ZjExNGM3NDFlOTU4YzgyYjI2YmEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.IMW2BJinUG4uCaH0zc4IUo-91WNqLesy3YVzhVu3W4g
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.