René's URL Explorer Experiment


Title: Single line statements leading to an indentation on the next line · Issue #1308 · microsoft/vscode-python · GitHub

Open Graph Title: Single line statements leading to an indentation on the next line · Issue #1308 · microsoft/vscode-python

X Title: Single line statements leading to an indentation on the next line · Issue #1308 · microsoft/vscode-python

Description: Environment data VS Code version: insiders Extension version (available under the Extensions sidebar): 2018.3.1 OS and version: Windows 10 Python version (& distribution if applicable, e.g. Anaconda): 3.6.4 Type of virtual environment us...

Open Graph Description: Environment data VS Code version: insiders Extension version (available under the Extensions sidebar): 2018.3.1 OS and version: Windows 10 Python version (& distribution if applicable, e.g. Anacond...

X Description: Environment data VS Code version: insiders Extension version (available under the Extensions sidebar): 2018.3.1 OS and version: Windows 10 Python version (& distribution if applicable, e.g. Ana...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Single line statements leading to an indentation on the next line","articleBody":"## Environment data\r\n\r\n- VS Code version: insiders\r\n- Extension version (available under the Extensions sidebar): 2018.3.1\r\n- OS and version: Windows 10\r\n- Python version (& distribution if applicable, e.g. Anaconda): 3.6.4\r\n- Type of virtual environment used (N/A | venv | virtualenv | conda | ...): venv\r\n- Relevant/affected Python packages and their versions: N/A\r\n\r\n## Actual behavior\r\n\r\n![sample](https://user-images.githubusercontent.com/54418/38383595-c5f4c780-38c1-11e8-87bd-c5da99dddb26.gif)\r\n\r\n## Expected  behavior\r\n\r\nThere should be no added indentation.\r\n\r\n## Steps to reproduce:\r\n1. Turn on `\"editor.formatOnType\": true`\r\n1. Type e.g. `if 1\u003c=2: pass`\r\n1. Press Enter\r\n\r\n## Logs\r\nOutput for `Python` in the `Output` panel (`View`→`Output`, change the drop-down the upper-right of the `Output` panel to `Python`)\r\n\r\nN/A\r\n\r\nOutput from `Console` under the `Developer Tools` panel (toggle Developer Tools on under `Help`)\r\n\r\nN/A","author":{"url":"https://github.com/brettcannon","@type":"Person","name":"brettcannon"},"datePublished":"2018-04-05T18:10:40Z","url":"https://github.com/microsoft/vscode-python/issues/1308"}

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:c344d918-f1b4-3aae-a634-f0a470811d71
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idB2D0:1127A8:2D8EF7:3B9FD3:6AFE5C7A
html-safe-nonceb1f18987425dd4b6e276fb6fa85bc457049ae507a73b8bd51e5a6e67b4810b5a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMkQwOjExMjdBODoyRDhFRjc6M0I5RkQzOjZBRkU1QzdBIiwidmlzaXRvcl9pZCI6IjU0OTc5ODcxNjA2NjMyODQ4NTgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac3d30cf7d7ff7236177f45d2345933130a1e659da65bd4066dc159ed140539e2c
hovercard-subject-tagissue:311714621
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/1308/issue_layout
twitter:imagehttps://opengraph.githubassets.com/e927225a661a4c6ca6234b9024a4631bc183b7dbf961c79d9d2360dfb018077b/microsoft/vscode-python/issues/1308
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/e927225a661a4c6ca6234b9024a4631bc183b7dbf961c79d9d2360dfb018077b/microsoft/vscode-python/issues/1308
og:image:altEnvironment data VS Code version: insiders Extension version (available under the Extensions sidebar): 2018.3.1 OS and version: Windows 10 Python version (& distribution if applicable, e.g. Anacond...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamebrettcannon
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/1308#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fvscode-python%2Fissues%2F1308
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%2F1308
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/1308
Reloadhttps://github.com/microsoft/vscode-python/issues/1308
Reloadhttps://github.com/microsoft/vscode-python/issues/1308
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/1308
New issuehttps://github.com/login?return_to=https://github.com/microsoft/vscode-python/issues/1308
Single line statements leading to an indentation on the next linehttps://github.com/microsoft/vscode-python/issues/1308#top
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
April 2018https://github.com/microsoft/vscode-python/milestone/5
https://github.com/brettcannon
Brett Cannon (brettcannon)https://github.com/brettcannon
on Apr 5, 2018https://github.com/microsoft/vscode-python/issues/1308#issue-311714621
https://user-images.githubusercontent.com/54418/38383595-c5f4c780-38c1-11e8-87bd-c5da99dddb26.gif
Brett Cannon (brettcannon)https://github.com/brettcannon
bugIssue identified by VS Code Team member as probable bughttps://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22bug%22
needs PRhttps://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22needs%20PR%22
area-formattinghttps://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22area-formatting%22
on Apr 5, 2018https://github.com/microsoft/vscode-python/issues/1308#event-1559382322
Brett Cannon (brettcannon)https://github.com/brettcannon
May 2018https://github.com/microsoft/vscode-python/milestone/6
on Apr 5, 2018https://github.com/microsoft/vscode-python/issues/1308#event-1559383004
Brett Cannon (brettcannon)https://github.com/brettcannon
Mikhail Arkhipov (MikhailArkhipov)https://github.com/MikhailArkhipov
on Apr 5, 2018https://github.com/microsoft/vscode-python/issues/1308#event-1559383181
https://github.com/MikhailArkhipov
Mikhail Arkhipov (MikhailArkhipov)https://github.com/MikhailArkhipov
on Apr 5, 2018https://github.com/microsoft/vscode-python/issues/1308#issuecomment-379034103
Mikhail Arkhipov (MikhailArkhipov)https://github.com/MikhailArkhipov
May 2018https://github.com/microsoft/vscode-python/milestone/6
April 2018https://github.com/microsoft/vscode-python/milestone/5
on Apr 5, 2018https://github.com/microsoft/vscode-python/issues/1308#event-1559468116
https://github.com/MikhailArkhipov
Mikhail Arkhipov (MikhailArkhipov)https://github.com/MikhailArkhipov
on Apr 5, 2018https://github.com/microsoft/vscode-python/issues/1308#issuecomment-379041447
#726https://github.com/microsoft/vscode-python/issues/726
Mikhail Arkhipov (MikhailArkhipov)https://github.com/MikhailArkhipov
completedhttps://github.com/microsoft/vscode-python/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Apr 5, 2018https://github.com/microsoft/vscode-python/issues/1308#event-1559492950
Mikhail Arkhipov (MikhailArkhipov)https://github.com/MikhailArkhipov
on Apr 5, 2018https://github.com/microsoft/vscode-python/issues/1308#event-1559880499
Fix indentation on single-liners and f-strings in type formatting (#1312https://github.com/microsoft/vscode-python/commit/db6030dc9545cf448a4d449abc5a75d5b2e68554
#1312https://github.com/microsoft/vscode-python/pull/1312
db6030dhttps://github.com/microsoft/vscode-python/commit/db6030dc9545cf448a4d449abc5a75d5b2e68554
Fix handling of escaped string in tokenizer + PTVS launch hardening (#…https://github.com/microsoft/vscode-python/commit/cbe48a553730ab836545815b5791b397e58e1a00
#…https://github.com/microsoft/vscode-python/pull/1377
cbe48a5https://github.com/microsoft/vscode-python/commit/cbe48a553730ab836545815b5791b397e58e1a00
Add telemetry reporting on VS analysis engine usage (#1382)https://github.com/microsoft/vscode-python/commit/472ae4979891ce6a5ae8f84f5cdc3a4b29047ad6
#1382https://github.com/microsoft/vscode-python/pull/1382
472ae49https://github.com/microsoft/vscode-python/commit/472ae4979891ce6a5ae8f84f5cdc3a4b29047ad6
Jedi 0.12 (#1418)https://github.com/microsoft/vscode-python/commit/102d577ae0e939009dfac051bf9b6778f55bdcf0
#1418https://github.com/microsoft/vscode-python/pull/1418
102d577https://github.com/microsoft/vscode-python/commit/102d577ae0e939009dfac051bf9b6778f55bdcf0
Replace unzip package (#1419)https://github.com/microsoft/vscode-python/commit/df72cac5bffe59667a3aa129bba002c76a819d06
#1419https://github.com/microsoft/vscode-python/pull/1419
df72cachttps://github.com/microsoft/vscode-python/commit/df72cac5bffe59667a3aa129bba002c76a819d06
Fixes multiple issues with formatting on type (#1450)https://github.com/microsoft/vscode-python/commit/db9f6cf22147611fdf0dfb17622e3b58e5efcbf1
#1450https://github.com/microsoft/vscode-python/pull/1450
db9f6cfhttps://github.com/microsoft/vscode-python/commit/db9f6cf22147611fdf0dfb17622e3b58e5efcbf1
Improve detection of the function argument list in autoformat (#1508)https://github.com/microsoft/vscode-python/commit/f7e4529349a7261a8448caa64d106a22efe06cdb
#1508https://github.com/microsoft/vscode-python/pull/1508
f7e4529https://github.com/microsoft/vscode-python/commit/f7e4529349a7261a8448caa64d106a22efe06cdb
Mikhail Arkhipov (MikhailArkhipov)https://github.com/MikhailArkhipov
on May 9, 2018https://github.com/microsoft/vscode-python/issues/1308#event-1616591006
PTVS engine update + handling of the interpreter change (#1613)https://github.com/microsoft/vscode-python/commit/f18a5ee52999d0cd0d3dec61f5534c6246e85d87
#1613https://github.com/microsoft/vscode-python/pull/1613
f18a5eehttps://github.com/microsoft/vscode-python/commit/f18a5ee52999d0cd0d3dec61f5534c6246e85d87
Mikhail Arkhipov (MikhailArkhipov)https://github.com/MikhailArkhipov
on May 21, 2018https://github.com/microsoft/vscode-python/issues/1308#event-1638023186
Changes to IntelliCode and engine downloads (#1715)https://github.com/microsoft/vscode-python/commit/ca657e0b54fa75fabeab9316c870d4b42669dc1e
#1715https://github.com/microsoft/vscode-python/pull/1715
ca657e0https://github.com/microsoft/vscode-python/commit/ca657e0b54fa75fabeab9316c870d4b42669dc1e
Fix bug, remove unnecessary flag, fix hash comparison on Linux (#1734)https://github.com/microsoft/vscode-python/commit/eee1529622c6c3d251fd6c61711cbe0946613948
#1734https://github.com/microsoft/vscode-python/pull/1734
eee1529https://github.com/microsoft/vscode-python/commit/eee1529622c6c3d251fd6c61711cbe0946613948
Simplifies LS startup and update test baselines (#1762)https://github.com/microsoft/vscode-python/commit/9b7ebf66ef413ba58a7ab6db40a87bb7078a741a
#1762https://github.com/microsoft/vscode-python/pull/1762
9b7ebf6https://github.com/microsoft/vscode-python/commit/9b7ebf66ef413ba58a7ab6db40a87bb7078a741a
Rename engine to 'Microsoft Python Language Server' (#1768)https://github.com/microsoft/vscode-python/commit/874b819e402366a539b11171e8c941e80da13732
#1768https://github.com/microsoft/vscode-python/pull/1768
874b819https://github.com/microsoft/vscode-python/commit/874b819e402366a539b11171e8c941e80da13732
Format on type fixes (#1798)https://github.com/microsoft/vscode-python/commit/51224e7d88ef6c33fdd882c705b2f119637122c5
#1798https://github.com/microsoft/vscode-python/pull/1798
51224e7https://github.com/microsoft/vscode-python/commit/51224e7d88ef6c33fdd882c705b2f119637122c5
Handle numbers formatted with underscores in tokenizer (#1819)https://github.com/microsoft/vscode-python/commit/5fa57f827054ba0967be006900637e4fd4c6a565
#1819https://github.com/microsoft/vscode-python/pull/1819
5fa57f8https://github.com/microsoft/vscode-python/commit/5fa57f827054ba0967be006900637e4fd4c6a565
Improve detection if '=' is in function or lambda arguments (#1824)https://github.com/microsoft/vscode-python/commit/d27f00cc5598deef42152253be59b14928c7042f
#1824https://github.com/microsoft/vscode-python/pull/1824
d27f00chttps://github.com/microsoft/vscode-python/commit/d27f00cc5598deef42152253be59b14928c7042f
Add command for loading of LS extensions (#1914)https://github.com/microsoft/vscode-python/commit/964a99c5de566ba151f3e9c325a5ff808a5fca3c
#1914https://github.com/microsoft/vscode-python/pull/1914
964a99chttps://github.com/microsoft/vscode-python/commit/964a99c5de566ba151f3e9c325a5ff808a5fca3c
lockhttps://github.com/apps/lock
on Jul 11, 2018https://github.com/microsoft/vscode-python/issues/1308#event-1727554459
Sign up for freehttps://github.com/signup?return_to=https://github.com/microsoft/vscode-python/issues/1308
Sign in to commenthttps://github.com/login?return_to=https://github.com/microsoft/vscode-python/issues/1308
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
April 2018https://github.com/microsoft/vscode-python/milestone/5
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.