René's URL Explorer Experiment


Title: Indentation level of `else:`-type lines is not reduced · Issue #771 · microsoft/vscode-python · GitHub

Open Graph Title: Indentation level of `else:`-type lines is not reduced · Issue #771 · microsoft/vscode-python

X Title: Indentation level of `else:`-type lines is not reduced · Issue #771 · microsoft/vscode-python

Description: Environment data VS Code version: 1.20.0 c63189deaa8e620f650cc28792b8f5f3363f2c5b x64 Python Extension version: 2018.1.0 Python Version: 3.6.3 OS and version: Ubuntu 2017.10 AMD64 Actual behavior After typing enter at the end of a line s...

Open Graph Description: Environment data VS Code version: 1.20.0 c63189deaa8e620f650cc28792b8f5f3363f2c5b x64 Python Extension version: 2018.1.0 Python Version: 3.6.3 OS and version: Ubuntu 2017.10 AMD64 Actual behavior A...

X Description: Environment data VS Code version: 1.20.0 c63189deaa8e620f650cc28792b8f5f3363f2c5b x64 Python Extension version: 2018.1.0 Python Version: 3.6.3 OS and version: Ubuntu 2017.10 AMD64 Actual behavior A...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Indentation level of `else:`-type lines is not reduced","articleBody":"## Environment data\r\nVS Code version:  \r\n```\r\n1.20.0\r\nc63189deaa8e620f650cc28792b8f5f3363f2c5b\r\nx64\r\n```\r\nPython Extension version:  `2018.1.0`\r\nPython Version: `3.6.3`\r\nOS and version: Ubuntu 2017.10 AMD64\r\n\r\n## Actual behavior\r\nAfter typing enter at the end of a line such as `else:`, `elif cond:`, `except:`, `finally:`, the indentation level of that line is unchanged and the next line is auto-indented to the wrong level as well:\r\n```\r\nif cond:\r\n    do_stuff()\r\n    else:|\r\n```\r\nafter typing enter, becomes\r\n```\r\nif cond:\r\n    do_stuff()\r\n    else:\r\n        |\r\n```\r\n## Expected  behavior\r\n```\r\nif cond:\r\n    do_stuff()\r\n    else:|\r\n```\r\nafter typing enter (or `:` on atom if I remember correctly), should become\r\n```\r\nif cond:\r\n    do_stuff()\r\nelse:\r\n    |\r\n```\r\n\r\n\r\n## Steps to reproduce:  \r\n-  Use a construct as if-elif-else, try-except-else-finally.\r\n\r\nIs this normal? I expect that this is a problem with my setup and not this extension given the simplicity of the issue, but my install is as standard as can be...\r\n","author":{"url":"https://github.com/nathdwek","@type":"Person","name":"nathdwek"},"datePublished":"2018-02-13T10:02:58Z","url":"https://github.com/microsoft/vscode-python/issues/771"}

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:dcdaf7f4-dcd5-158a-a25e-8c31138c18f5
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idABB0:11B988:A4B0B8:DF18F6:6AFE6626
html-safe-noncea31c2b8d1c97e95f96ebfbc9bedd8423bb6ac996187b7382b49dac16ffffd848
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQkIwOjExQjk4ODpBNEIwQjg6REYxOEY2OjZBRkU2NjI2IiwidmlzaXRvcl9pZCI6Ijc5NDA2ODg5NjM0NjE2MDQ5MDIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac5169da86ba7816c28eceab7b51859c5f9316783717d7a0ff4ef96a2b8f86d720
hovercard-subject-tagissue:296677831
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/771/issue_layout
twitter:imagehttps://opengraph.githubassets.com/f6540cfa6de186512acd1ed66378e4600b0a1514e4c5e0c5eec0a4d9ecf2a6f8/microsoft/vscode-python/issues/771
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/f6540cfa6de186512acd1ed66378e4600b0a1514e4c5e0c5eec0a4d9ecf2a6f8/microsoft/vscode-python/issues/771
og:image:altEnvironment data VS Code version: 1.20.0 c63189deaa8e620f650cc28792b8f5f3363f2c5b x64 Python Extension version: 2018.1.0 Python Version: 3.6.3 OS and version: Ubuntu 2017.10 AMD64 Actual behavior A...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamenathdwek
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/771#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fvscode-python%2Fissues%2F771
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%2F771
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/771
Reloadhttps://github.com/microsoft/vscode-python/issues/771
Reloadhttps://github.com/microsoft/vscode-python/issues/771
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/771
New issuehttps://github.com/login?return_to=https://github.com/microsoft/vscode-python/issues/771
Indentation level of else:-type lines is not reducedhttps://github.com/microsoft/vscode-python/issues/771#top
area-formattinghttps://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22area-formatting%22
bugIssue identified by VS Code Team member as probable bughttps://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22bug%22
windowshttps://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22windows%22
https://github.com/nathdwek
Nathan Dwek (nathdwek)https://github.com/nathdwek
on Feb 13, 2018https://github.com/microsoft/vscode-python/issues/771#issue-296677831
Don Jayamanne (DonJayamanne)https://github.com/DonJayamanne
bugIssue identified by VS Code Team member as probable bughttps://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22bug%22
awaiting 2-PRhttps://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22awaiting%202-PR%22
area-formattinghttps://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22area-formatting%22
on Feb 15, 2018https://github.com/microsoft/vscode-python/issues/771#event-1476323739
Mikhail Arkhipov (MikhailArkhipov)https://github.com/MikhailArkhipov
bugIssue identified by VS Code Team member as probable bughttps://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22bug%22
on Feb 20, 2018https://github.com/microsoft/vscode-python/issues/771#event-1483538749
https://github.com/MikhailArkhipov
Mikhail Arkhipov (MikhailArkhipov)https://github.com/MikhailArkhipov
on Feb 20, 2018https://github.com/microsoft/vscode-python/issues/771#issuecomment-367147519
Mikhail Arkhipov (MikhailArkhipov)https://github.com/MikhailArkhipov
feature-requestRequest for new features or functionalityhttps://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22feature-request%22
on Feb 20, 2018https://github.com/microsoft/vscode-python/issues/771#event-1483540661
Mikhail Arkhipov (MikhailArkhipov)https://github.com/MikhailArkhipov
on Feb 20, 2018https://github.com/microsoft/vscode-python/issues/771#event-1483540721
https://github.com/nathdwek
Nathan Dwek (nathdwek)https://github.com/nathdwek
on Feb 21, 2018https://github.com/microsoft/vscode-python/issues/771#issuecomment-367284619
https://github.com/AlexChapple
Alex Chapple (AlexChapple)https://github.com/AlexChapple
on Jul 8, 2018https://github.com/microsoft/vscode-python/issues/771#issuecomment-403326913
https://github.com/brettcannon
Brett Cannon (brettcannon)https://github.com/brettcannon
on Jul 11, 2018https://github.com/microsoft/vscode-python/issues/771#issuecomment-404310925
#1847https://github.com/microsoft/vscode-python/issues/1847
Don Jayamanne (DonJayamanne)https://github.com/DonJayamanne
on Oct 3, 2018https://github.com/microsoft/vscode-python/issues/771#event-1880921266
https://github.com/brettcannon
Brett Cannon (brettcannon)https://github.com/brettcannon
on Oct 17, 2018https://github.com/microsoft/vscode-python/issues/771#issuecomment-430815852
#2724https://github.com/microsoft/vscode-python/pull/2724
Brett Cannon (brettcannon)https://github.com/brettcannon
windowshttps://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22windows%22
bugIssue identified by VS Code Team member as probable bughttps://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22bug%22
feature-requestRequest for new features or functionalityhttps://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22feature-request%22
on Oct 17, 2018https://github.com/microsoft/vscode-python/issues/771#event-1910870773
Brett Cannon (brettcannon)https://github.com/brettcannon
Don Jayamanne (DonJayamanne)https://github.com/DonJayamanne
Mikhail Arkhipov (MikhailArkhipov)https://github.com/MikhailArkhipov
on Oct 17, 2018https://github.com/microsoft/vscode-python/issues/771#event-1910871123
Brett Cannon (brettcannon)https://github.com/brettcannon
completedhttps://github.com/microsoft/vscode-python/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Oct 17, 2018https://github.com/microsoft/vscode-python/issues/771#event-1910879488
lockhttps://github.com/apps/lock
on Nov 14, 2018https://github.com/microsoft/vscode-python/issues/771#event-1967331294
https://github.com/luabud
Luciana Abud (luabud)https://github.com/luabud
on Mar 15, 2019https://github.com/microsoft/vscode-python/issues/771#issuecomment-473452262
#481https://github.com/microsoft/vscode-python/issues/481
Sign up for freehttps://github.com/signup?return_to=https://github.com/microsoft/vscode-python/issues/771
Sign in to commenthttps://github.com/login?return_to=https://github.com/microsoft/vscode-python/issues/771
area-formattinghttps://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22area-formatting%22
bugIssue identified by VS Code Team member as probable bughttps://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22bug%22
windowshttps://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22windows%22
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.