René's URL Explorer Experiment


Title: Auto-Indentation doesn't work after comment · Issue #385 · microsoft/vscode-python · GitHub

Open Graph Title: Auto-Indentation doesn't work after comment · Issue #385 · microsoft/vscode-python

X Title: Auto-Indentation doesn't work after comment · Issue #385 · microsoft/vscode-python

Description: Environment data VS Code version: 1.18.1 Python Extension version: 0.8.0 Python Version: 2.7 OS and version: 1709 (OS Build 16299.98) Actual behavior Auto-indent doesn't indent on line with a trailing comment Expected behavior Auto-inden...

Open Graph Description: Environment data VS Code version: 1.18.1 Python Extension version: 0.8.0 Python Version: 2.7 OS and version: 1709 (OS Build 16299.98) Actual behavior Auto-indent doesn't indent on line with a trail...

X Description: Environment data VS Code version: 1.18.1 Python Extension version: 0.8.0 Python Version: 2.7 OS and version: 1709 (OS Build 16299.98) Actual behavior Auto-indent doesn't indent on line with a t...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Auto-Indentation doesn't work after comment","articleBody":"## Environment data\r\nVS Code version:  1.18.1\r\nPython Extension version:  0.8.0\r\nPython Version:   2.7\r\nOS and version:    1709 (OS Build 16299.98)\r\n\r\n## Actual behavior\r\nAuto-indent doesn't indent on line with a trailing comment\r\n\r\n## Expected  behavior\r\nAuto-indent should work the same as if the comment was not there\r\n\r\n## Steps to reproduce:  \r\n-  Type  \r\n`       for i in xrange(j+1, n): # find pivot row`\r\n-  Press enter\r\n- The carat lines up with the 'f' in for, rather than being indented.\r\n\r\n## Logs\r\nOutput from ```Python``` output panel  \r\n``` \r\nN/A\r\n```   \r\nOutput from ```Console window``` (Help->Developer Tools menu)\r\n``` \r\nN/A\r\n```\r\n","author":{"url":"https://github.com/JoeMayo","@type":"Person","name":"JoeMayo"},"datePublished":"2017-12-10T22:22:04Z","url":"https://github.com/microsoft/vscode-python/issues/385"}

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:48a6f50f-549f-5c8e-7d6f-962e894c4713
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id8DE4:2D7C1E:8ABFD0:BBCBDB:6AFE717F
html-safe-nonce903eb56ddd2f0d1d1becd487ec23d9aa021efb954e86574906c48ccb405cfb03
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4REU0OjJEN0MxRTo4QUJGRDA6QkJDQkRCOjZBRkU3MTdGIiwidmlzaXRvcl9pZCI6IjgxODkyMDE5MDQ0MjE0NjY0OTUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac3bf4678569421539614a5ff5c9b5a8bc40ba91a026874cc4238a93aa5297296e
hovercard-subject-tagissue:280851282
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/385/issue_layout
twitter:imagehttps://opengraph.githubassets.com/7eebe587bfbca8b2b67fb6848412c1ea22ec935e744dfdb7d3c5a0fcdec52dc7/microsoft/vscode-python/issues/385
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/7eebe587bfbca8b2b67fb6848412c1ea22ec935e744dfdb7d3c5a0fcdec52dc7/microsoft/vscode-python/issues/385
og:image:altEnvironment data VS Code version: 1.18.1 Python Extension version: 0.8.0 Python Version: 2.7 OS and version: 1709 (OS Build 16299.98) Actual behavior Auto-indent doesn't indent on line with a trail...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameJoeMayo
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/385#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fvscode-python%2Fissues%2F385
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%2F385
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/385
Reloadhttps://github.com/microsoft/vscode-python/issues/385
Reloadhttps://github.com/microsoft/vscode-python/issues/385
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/385
New issuehttps://github.com/login?return_to=https://github.com/microsoft/vscode-python/issues/385
#562https://github.com/microsoft/vscode-python/pull/562
Auto-Indentation doesn't work after commenthttps://github.com/microsoft/vscode-python/issues/385#top
#562https://github.com/microsoft/vscode-python/pull/562
https://github.com/MikhailArkhipov
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
January 2018https://github.com/microsoft/vscode-python/milestone/2
https://github.com/JoeMayo
Joe Mayo (JoeMayo)https://github.com/JoeMayo
on Dec 10, 2017https://github.com/microsoft/vscode-python/issues/385#issue-280851282
Nexthttps://github.com/microsoft/vscode-python/issues/385?timeline_page=1
Don Jayamanne (DonJayamanne)https://github.com/DonJayamanne
awaiting 1-verificationhttps://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22awaiting%201-verification%22
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
on Dec 10, 2017https://github.com/microsoft/vscode-python/issues/385#event-1380537892
Mikhail Arkhipov (MikhailArkhipov)https://github.com/MikhailArkhipov
on Jan 8, 2018https://github.com/microsoft/vscode-python/issues/385#event-1414243149
Mikhail Arkhipov (MikhailArkhipov)https://github.com/MikhailArkhipov
awaiting 1-verificationhttps://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22awaiting%201-verification%22
on Jan 8, 2018https://github.com/microsoft/vscode-python/issues/385#event-1414274275
https://github.com/MikhailArkhipov
Mikhail Arkhipov (MikhailArkhipov)https://github.com/MikhailArkhipov
on Jan 8, 2018https://github.com/microsoft/vscode-python/issues/385#issuecomment-356067882
Brett Cannon (brettcannon)https://github.com/brettcannon
awaiting 2-PRhttps://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22awaiting%202-PR%22
on Jan 8, 2018https://github.com/microsoft/vscode-python/issues/385#event-1414280663
https://github.com/MikhailArkhipov
Mikhail Arkhipov (MikhailArkhipov)https://github.com/MikhailArkhipov
on Jan 9, 2018https://github.com/microsoft/vscode-python/issues/385#issuecomment-356414345
https://github.com/MikhailArkhipov
Mikhail Arkhipov (MikhailArkhipov)https://github.com/MikhailArkhipov
on Jan 9, 2018https://github.com/microsoft/vscode-python/issues/385#issuecomment-356439933
Mikhail Arkhipov (MikhailArkhipov)https://github.com/MikhailArkhipov
January 2018https://github.com/microsoft/vscode-python/milestone/2
on Jan 9, 2018https://github.com/microsoft/vscode-python/issues/385#event-1416658345
Mikhail Arkhipov (MikhailArkhipov)https://github.com/MikhailArkhipov
completedhttps://github.com/microsoft/vscode-python/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#562https://github.com/microsoft/vscode-python/pull/562
on Jan 10, 2018https://github.com/microsoft/vscode-python/issues/385#event-1418254480
Mikhail Arkhipov (MikhailArkhipov)https://github.com/MikhailArkhipov
on Jan 10, 2018https://github.com/microsoft/vscode-python/issues/385#event-1418254518
Fix auto-indent regex rules (#562)https://github.com/microsoft/vscode-python/commit/fb99423a3291fbd11fd2c4bae56bf8a8b855d07f
#562https://github.com/microsoft/vscode-python/pull/562
fb99423https://github.com/microsoft/vscode-python/commit/fb99423a3291fbd11fd2c4bae56bf8a8b855d07f
Brett Cannon (brettcannon)https://github.com/brettcannon
awaiting 4-validationhttps://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22awaiting%204-validation%22
closed-fixedhttps://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22closed-fixed%22
awaiting 2-PRhttps://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22awaiting%202-PR%22
on Jan 10, 2018https://github.com/microsoft/vscode-python/issues/385#event-1418330459
Brett Cannon (brettcannon)https://github.com/brettcannon
awaiting 4-validationhttps://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22awaiting%204-validation%22
on Jan 29, 2018https://github.com/microsoft/vscode-python/issues/385#event-1446963259
Mikhail Arkhipov (MikhailArkhipov)https://github.com/MikhailArkhipov
on Jan 29, 2018https://github.com/microsoft/vscode-python/issues/385#event-1447105885
Work around VSC issue with formatting on save #624 (#635)https://github.com/microsoft/vscode-python/commit/94cd7788899148d45b86c99d5b1deb89495063f9
#624https://github.com/microsoft/vscode-python/issues/624
#635https://github.com/microsoft/vscode-python/pull/635
94cd778https://github.com/microsoft/vscode-python/commit/94cd7788899148d45b86c99d5b1deb89495063f9
Formatting on Enter (#649)https://github.com/microsoft/vscode-python/commit/b45aae314a4408dc8bed4c40c351e68f01259445
#649https://github.com/microsoft/vscode-python/pull/649
b45aae3https://github.com/microsoft/vscode-python/commit/b45aae314a4408dc8bed4c40c351e68f01259445
Brett Cannon (brettcannon)https://github.com/brettcannon
closed-verified fixedhttps://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22closed-verified%20fixed%22
closed-fixedhttps://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22closed-fixed%22
on Feb 1, 2018https://github.com/microsoft/vscode-python/issues/385#event-1454127019
Mikhail Arkhipov (MikhailArkhipov)https://github.com/MikhailArkhipov
on Feb 9, 2018https://github.com/microsoft/vscode-python/issues/385#event-1465736977
Improve tooltip display (#725)https://github.com/microsoft/vscode-python/commit/7d936929b9db781522a6ab04f264f1cca2995166
#725https://github.com/microsoft/vscode-python/pull/725
7d93692https://github.com/microsoft/vscode-python/commit/7d936929b9db781522a6ab04f264f1cca2995166
Limit Jedi RAM consumption (#744)https://github.com/microsoft/vscode-python/commit/adcf71685a0b54c49f88e856d1b9fe50ef1f1883
#744https://github.com/microsoft/vscode-python/pull/744
adcf716https://github.com/microsoft/vscode-python/commit/adcf71685a0b54c49f88e856d1b9fe50ef1f1883
Update Jedi to 0.11.1 (#762)https://github.com/microsoft/vscode-python/commit/601546884d8e23bb941eb955b697b02f2426e675
#762https://github.com/microsoft/vscode-python/pull/762
6015468https://github.com/microsoft/vscode-python/commit/601546884d8e23bb941eb955b697b02f2426e675
Jedi 0.11 parser + test fixes (#777)https://github.com/microsoft/vscode-python/commit/5ccb9cdd62fba6619a6ac2d3bdfe45725238da9c
#777https://github.com/microsoft/vscode-python/pull/777
5ccb9cdhttps://github.com/microsoft/vscode-python/commit/5ccb9cdd62fba6619a6ac2d3bdfe45725238da9c
Improves linting behavior per #722 (#792)https://github.com/microsoft/vscode-python/commit/18be595b774d6f6d79e31b608bcd682b40ddbcbc
#722https://github.com/microsoft/vscode-python/issues/722
#792https://github.com/microsoft/vscode-python/pull/792
18be595https://github.com/microsoft/vscode-python/commit/18be595b774d6f6d79e31b608bcd682b40ddbcbc
Mikhail Arkhipov (MikhailArkhipov)https://github.com/MikhailArkhipov
on Mar 2, 2018https://github.com/microsoft/vscode-python/issues/385#event-1502177906
Fix backslash escape, multiple linters output, .pyenv/versions folder…https://github.com/microsoft/vscode-python/commit/29a0caea60354ac24232bc038d1f5af23db29732
29a0caehttps://github.com/microsoft/vscode-python/commit/29a0caea60354ac24232bc038d1f5af23db29732
Disable pylint print statement flag + fix venv detection (#954)https://github.com/microsoft/vscode-python/commit/77f3612fd01fb076a8fd1e786cc711a710cbe6a1
#954https://github.com/microsoft/vscode-python/pull/954
77f3612https://github.com/microsoft/vscode-python/commit/77f3612fd01fb076a8fd1e786cc711a710cbe6a1
Change how we offer to install/disable linters (#973)https://github.com/microsoft/vscode-python/commit/563f11d0f87f7b5877a2c5c327c048c479b801f3
#973https://github.com/microsoft/vscode-python/pull/973
563f11dhttps://github.com/microsoft/vscode-python/commit/563f11d0f87f7b5877a2c5c327c048c479b801f3
Mikhail Arkhipov (MikhailArkhipov)https://github.com/MikhailArkhipov
on Mar 20, 2018https://github.com/microsoft/vscode-python/issues/385#event-1532189161
Add missing operators in tokenizer, handle end-of-comment completion …https://github.com/microsoft/vscode-python/commit/287fd8bf28fb46b74bd78db3c289f8e4349cef12
287fd8bhttps://github.com/microsoft/vscode-python/commit/287fd8bf28fb46b74bd78db3c289f8e4349cef12
lockhttps://github.com/apps/lock
on Jul 12, 2018https://github.com/microsoft/vscode-python/issues/385#event-1729997484
Sign up for freehttps://github.com/signup?return_to=https://github.com/microsoft/vscode-python/issues/385
Sign in to commenthttps://github.com/login?return_to=https://github.com/microsoft/vscode-python/issues/385
Mikhail Arkhipov (MikhailArkhipov)https://github.com/MikhailArkhipov
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
January 2018https://github.com/microsoft/vscode-python/milestone/2
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.