René's URL Explorer Experiment


Title: Fix indent/dedent for "return" syntax. · Issue #6564 · microsoft/vscode-python · GitHub

Open Graph Title: Fix indent/dedent for "return" syntax. · Issue #6564 · microsoft/vscode-python

X Title: Fix indent/dedent for "return" syntax. · Issue #6564 · microsoft/vscode-python

Description: While working on #6333, the dedent regex was kept simple for the return keyword (see #6497 (comment)), but didn't cover the case for return followed by a dangling [, ( or { before the cursor. This issue also covers restoring the dedent r...

Open Graph Description: While working on #6333, the dedent regex was kept simple for the return keyword (see #6497 (comment)), but didn't cover the case for return followed by a dangling [, ( or { before the cursor. This ...

X Description: While working on #6333, the dedent regex was kept simple for the return keyword (see #6497 (comment)), but didn't cover the case for return followed by a dangling [, ( or { before the cursor. T...

Opengraph URL: https://github.com/microsoft/vscode-python/issues/6564

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Fix indent/dedent for \"return\" syntax.","articleBody":"While working on #6333, the dedent regex was kept simple for the `return` keyword (see https://github.com/microsoft/vscode-python/pull/6497#issuecomment-509772399), but didn't cover the case for `return` followed by a dangling [, ( or { before the cursor.\r\n\r\nThis issue also covers restoring the dedent removed for #6813 (added for #6333).\r\n\r\nCurrent (pre-#6813) behaviour (merged in https://github.com/microsoft/vscode-python/pull/6497):\r\n\r\n![current](https://user-images.githubusercontent.com/51720070/61149776-cba2bb00-a496-11e9-8dca-3f77077ab9c3.gif)\r\n\r\nExpected/desired behaviour:\r\n\r\n![expected](https://user-images.githubusercontent.com/51720070/61149797-d9584080-a496-11e9-9555-8f86a34f0f21.gif)\r\n\r\n","author":{"url":"https://github.com/kimadeline","@type":"Person","name":"kimadeline"},"datePublished":"2019-07-12T18:20:51Z","url":"https://github.com/microsoft/vscode-python/issues/6564"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:a26592bd-dc92-8cf0-0089-ee299eec31af
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id9806:38CE1B:639BCC:878DB2:6AFE641B
html-safe-noncedfa01dc472b9fa7ba092be308b2acaae8f5629219abb37f7589769ea3953295c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5ODA2OjM4Q0UxQjo2MzlCQ0M6ODc4REIyOjZBRkU2NDFCIiwidmlzaXRvcl9pZCI6IjQwOTMzMTc4NjkyNTg5MjYzNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacda562b27634bb4024e022306d165f5ab23aeee66e54cfbbc7350c822afe9954b
hovercard-subject-tagissue:467542155
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/microsoft/vscode-python/6564/issue_layout
twitter:imagehttps://opengraph.githubassets.com/6467090f21e0b54ff20ef4377eae95b3b975eb947bf0dadc3053f5513562ead1/microsoft/vscode-python/issues/6564
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/6467090f21e0b54ff20ef4377eae95b3b975eb947bf0dadc3053f5513562ead1/microsoft/vscode-python/issues/6564
og:image:altWhile working on #6333, the dedent regex was kept simple for the return keyword (see #6497 (comment)), but didn't cover the case for return followed by a dangling [, ( or { before the cursor. This ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamekimadeline
hostnamegithub.com
expected-hostnamegithub.com
Noneb3c0f155eafc27e60db6e254d1ffff0e072e9ab3b4018a5ee518797c19d89f86
turbo-cache-controlno-preview
go-importgithub.com/microsoft/vscode-python git https://github.com/microsoft/vscode-python.git
octolytics-dimension-user_id6154722
octolytics-dimension-user_loginmicrosoft
octolytics-dimension-repository_id106462765
octolytics-dimension-repository_nwomicrosoft/vscode-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forktrue
octolytics-dimension-repository_parent_id49946255
octolytics-dimension-repository_parent_nwoDonJayamanne/pythonVSCode
octolytics-dimension-repository_network_root_id49946255
octolytics-dimension-repository_network_root_nwoDonJayamanne/pythonVSCode
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
release4a10310af51a1bfffbedc4fd81cb582acf0cb0ff
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/microsoft/vscode-python/issues/6564#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fvscode-python%2Fissues%2F6564
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fvscode-python%2Fissues%2F6564
Sign uphttps://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=microsoft%2Fvscode-python
Reloadhttps://github.com/microsoft/vscode-python/issues/6564
Reloadhttps://github.com/microsoft/vscode-python/issues/6564
Reloadhttps://github.com/microsoft/vscode-python/issues/6564
microsofthttps://github.com/microsoft
vscode-pythonhttps://github.com/microsoft/vscode-python
Codehttps://github.com/microsoft/vscode-python
Issues344 (344)https://github.com/microsoft/vscode-python/issues
Pull requests54 (54)https://github.com/microsoft/vscode-python/pulls
Discussionshttps://github.com/microsoft/vscode-python/discussions
Actionshttps://github.com/microsoft/vscode-python/actions
Wikihttps://github.com/microsoft/vscode-python/wiki
Security and quality2 (2)https://github.com/microsoft/vscode-python/security
Insightshttps://github.com/microsoft/vscode-python/insights
https://github.com/microsoft/vscode-python
New issuehttps://github.com/login?return_to=https://github.com/microsoft/vscode-python/issues/6564
New issuehttps://github.com/login?return_to=https://github.com/microsoft/vscode-python/issues/6564
Fix indent/dedent for "return" syntax.https://github.com/microsoft/vscode-python/issues/6564#top
area-formattinghttps://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22area-formatting%22
feature-requestRequest for new features or functionalityhttps://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22feature-request%22
2019 - August Sprint 16https://github.com/microsoft/vscode-python/milestone/38
https://github.com/kimadeline
Kim-Adeline Miguel (kimadeline)https://github.com/kimadeline
on Jul 12, 2019https://github.com/microsoft/vscode-python/issues/6564#issue-467542155
#6333https://github.com/microsoft/vscode-python/issues/6333
#6497 (comment)https://github.com/microsoft/vscode-python/pull/6497#issuecomment-509772399
#6813https://github.com/microsoft/vscode-python/issues/6813
#6333https://github.com/microsoft/vscode-python/issues/6333
#6813https://github.com/microsoft/vscode-python/issues/6813
#6497https://github.com/microsoft/vscode-python/pull/6497
https://user-images.githubusercontent.com/51720070/61149776-cba2bb00-a496-11e9-8dca-3f77077ab9c3.gif
https://user-images.githubusercontent.com/51720070/61149797-d9584080-a496-11e9-9555-8f86a34f0f21.gif
Kim-Adeline Miguel (kimadeline)https://github.com/kimadeline
feature-requestRequest for new features or functionalityhttps://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22feature-request%22
area-formattinghttps://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22area-formatting%22
triage-neededNeeds assignment to the proper sub-teamhttps://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22triage-needed%22
needs PRhttps://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22needs%20PR%22
on Jul 12, 2019https://github.com/microsoft/vscode-python/issues/6564#event-2479838003
triage-neededNeeds assignment to the proper sub-teamhttps://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22triage-needed%22
on Jul 12, 2019https://github.com/microsoft/vscode-python/issues/6564#event-2479840542
Don Jayamanne (DonJayamanne)https://github.com/DonJayamanne
on Jul 17, 2019https://github.com/microsoft/vscode-python/issues/6564#event-2490912220
Don Jayamanne (DonJayamanne)https://github.com/DonJayamanne
2019 - July Sprint 14https://github.com/microsoft/vscode-python/milestone/36
on Jul 17, 2019https://github.com/microsoft/vscode-python/issues/6564#event-2491140265
Don Jayamanne (DonJayamanne)https://github.com/DonJayamanne
on Jul 29, 2019https://github.com/microsoft/vscode-python/issues/6564#event-2517262548
Eric Snow (ericsnowcurrently)https://github.com/ericsnowcurrently
on Jul 30, 2019https://github.com/microsoft/vscode-python/issues/6564#event-2520547730
Don Jayamanne (DonJayamanne)https://github.com/DonJayamanne
2019 - July Sprint 14https://github.com/microsoft/vscode-python/milestone/36
2019 - July Sprint 15https://github.com/microsoft/vscode-python/milestone/37
on Jul 31, 2019https://github.com/microsoft/vscode-python/issues/6564#event-2524770108
Eric Snow (ericsnowcurrently)https://github.com/ericsnowcurrently
on Aug 1, 2019https://github.com/microsoft/vscode-python/issues/6564#event-2527038339
Eric Snow (ericsnowcurrently)https://github.com/ericsnowcurrently
2019 - July Sprint 15https://github.com/microsoft/vscode-python/milestone/37
on Aug 1, 2019https://github.com/microsoft/vscode-python/issues/6564#event-2527038902
Eric Snow (ericsnowcurrently)https://github.com/ericsnowcurrently
on Aug 1, 2019https://github.com/microsoft/vscode-python/issues/6564#event-2527045952
Eric Snow (ericsnowcurrently)https://github.com/ericsnowcurrently
2019 - July Sprint 15https://github.com/microsoft/vscode-python/milestone/37
on Aug 1, 2019https://github.com/microsoft/vscode-python/issues/6564#event-2527046154
Eric Snow (ericsnowcurrently)https://github.com/ericsnowcurrently
on Aug 13, 2019https://github.com/microsoft/vscode-python/issues/6564#event-2554569807
Drop dedent-on-enter for "return" statements. (#6939)https://github.com/microsoft/vscode-python/commit/11dd074dacff980569224f29ecd0d66d0d2a0e3b
#6939https://github.com/microsoft/vscode-python/pull/6939
11dd074https://github.com/microsoft/vscode-python/commit/11dd074dacff980569224f29ecd0d66d0d2a0e3b
https://github.com/DonJayamanne
Don Jayamanne (DonJayamanne)https://github.com/DonJayamanne
on Aug 14, 2019https://github.com/microsoft/vscode-python/issues/6564#issuecomment-521424351
Spike on auto indentation issues #6943https://github.com/microsoft/vscode-python/issues/6943
Don Jayamanne (DonJayamanne)https://github.com/DonJayamanne
2019 - August Sprint 16https://github.com/microsoft/vscode-python/milestone/38
on Aug 14, 2019https://github.com/microsoft/vscode-python/issues/6564#event-2558164295
https://github.com/brettcannon
Brett Cannon (brettcannon)https://github.com/brettcannon
on Aug 21, 2019https://github.com/microsoft/vscode-python/issues/6564#issuecomment-523564417
Brett Cannon (brettcannon)https://github.com/brettcannon
completedhttps://github.com/microsoft/vscode-python/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Aug 21, 2019https://github.com/microsoft/vscode-python/issues/6564#event-2573882769
needs PRhttps://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22needs%20PR%22
on Aug 21, 2019https://github.com/microsoft/vscode-python/issues/6564#event-2573882883
lockhttps://github.com/apps/lock
on Aug 28, 2019https://github.com/microsoft/vscode-python/issues/6564#event-2591412766
Sign up for freehttps://github.com/signup?return_to=https://github.com/microsoft/vscode-python/issues/6564
Sign in to commenthttps://github.com/login?return_to=https://github.com/microsoft/vscode-python/issues/6564
area-formattinghttps://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22area-formatting%22
feature-requestRequest for new features or functionalityhttps://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22feature-request%22
2019 - August Sprint 16https://github.com/microsoft/vscode-python/milestone/38
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.