René's URL Explorer Experiment


Title: Incorrect indentation after string literals containing escaped characters · Issue #4241 · microsoft/vscode-python · GitHub

Open Graph Title: Incorrect indentation after string literals containing escaped characters · Issue #4241 · microsoft/vscode-python

X Title: Incorrect indentation after string literals containing escaped characters · Issue #4241 · microsoft/vscode-python

Description: Steps to reproduce: Type string with '\n' in it, press Enter. a = '\n' Same for double quotes. Expected behaviour a = '\n' <--- cursor should be here Actual behaviour a = '\n' <--- cursor is here Environment data VS Code version: 1.30.2 ...

Open Graph Description: Steps to reproduce: Type string with '\n' in it, press Enter. a = '\n' Same for double quotes. Expected behaviour a = '\n' <--- cursor should be here Actual behaviour a = '\n' <--- cursor is here E...

X Description: Steps to reproduce: Type string with '\n' in it, press Enter. a = '\n' Same for double quotes. Expected behaviour a = '\n' <--- cursor should be here Actual behaviour a =...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Incorrect indentation after string literals containing escaped characters","articleBody":"## Steps to reproduce:\r\n1. Type string with '\\n' in it, press Enter.\r\n```\r\na = '\\n'\r\n```\r\nSame for double quotes.\r\n\r\n## Expected behaviour\r\n\r\n```\r\na = '\\n'\r\n\u003c--- cursor should be here\r\n```\r\n\r\n## Actual behaviour\r\n\r\n```\r\na = '\\n'\r\n    \u003c--- cursor is here\r\n```\r\n\r\n## Environment data\r\n\r\n- VS Code version: 1.30.2\r\n- Extension version (available under the Extensions sidebar): 2019.1.0\r\n- OS and version: Windows 10\r\n- Python version (& distribution if applicable, e.g. Anaconda): 3.7\r\n- Type of virtual environment used: N/A\r\n- Relevant/affected Python packages and their versions: none\r\n\r\n## Logs\r\n\r\nConsole:\r\n```\r\nStarting Jedi Python language engine.\r\n\r\nLinter 'pylint' is not installed. Please install it or select another linter\".\r\nError: Module 'pylint' not installed.\r\n``` \r\n","author":{"url":"https://github.com/caudate-julie","@type":"Person","name":"caudate-julie"},"datePublished":"2019-01-31T15:33:11Z","url":"https://github.com/microsoft/vscode-python/issues/4241"}

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:0d928f68-1481-77ed-e6dd-c0dd9fb39747
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idADE4:B0D00:AE4CD5:EC8925:6AFE6935
html-safe-nonce8f5de16caf0c666dab63c1e77d8be8cb098eca88b441c733166d94e9fa9a35cc
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBREU0OkIwRDAwOkFFNENENTpFQzg5MjU6NkFGRTY5MzUiLCJ2aXNpdG9yX2lkIjoiNTcyMTczOTMzNTk4ODgzMjU2NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac380680e291b1c1d5578169651a1f5cc6110ca27ad4f3f6e2e117dd3b0c5ab350
hovercard-subject-tagissue:405301407
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/4241/issue_layout
twitter:imagehttps://opengraph.githubassets.com/c1bfa5b8f12319f37a65cf141bcd4718f5952a1ea904939224dc181ce618905a/microsoft/vscode-python/issues/4241
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/c1bfa5b8f12319f37a65cf141bcd4718f5952a1ea904939224dc181ce618905a/microsoft/vscode-python/issues/4241
og:image:altSteps to reproduce: Type string with '\n' in it, press Enter. a = '\n' Same for double quotes. Expected behaviour a = '\n' <--- cursor should be here Actual behaviour a = '\n' <--- cursor is here E...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamecaudate-julie
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/4241#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fvscode-python%2Fissues%2F4241
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%2F4241
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/4241
Reloadhttps://github.com/microsoft/vscode-python/issues/4241
Reloadhttps://github.com/microsoft/vscode-python/issues/4241
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/4241
New issuehttps://github.com/login?return_to=https://github.com/microsoft/vscode-python/issues/4241
Incorrect indentation after string literals containing escaped charactershttps://github.com/microsoft/vscode-python/issues/4241#top
https://github.com/kimadeline
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
2019 - June Sprint 13https://github.com/microsoft/vscode-python/milestone/35
https://github.com/caudate-julie
Julie (caudate-julie)https://github.com/caudate-julie
on Jan 31, 2019https://github.com/microsoft/vscode-python/issues/4241#issue-405301407
triage-neededNeeds assignment to the proper sub-teamhttps://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22triage-needed%22
on Jan 31, 2019https://github.com/microsoft/vscode-python/issues/4241#event-2109754510
https://github.com/caudate-julie
Julie (caudate-julie)https://github.com/caudate-julie
on Jan 31, 2019https://github.com/microsoft/vscode-python/issues/4241#issuecomment-459392797
https://github.com/Microsoft/vscode-python/blob/c23603c9b7a3dbb805e8339a2d7cf01bb7327b34/src/client/extension.ts#L176https://github.com/Microsoft/vscode-python/blob/c23603c9b7a3dbb805e8339a2d7cf01bb7327b34/src/client/extension.ts#L176
Julie (caudate-julie)https://github.com/caudate-julie
on Jan 31, 2019https://github.com/microsoft/vscode-python/issues/4241#event-2109811311
Derek Keeler (d3r3kk)https://github.com/d3r3kk
triagehttps://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22triage%22
on Jan 31, 2019https://github.com/microsoft/vscode-python/issues/4241#event-2110340124
triage-neededNeeds assignment to the proper sub-teamhttps://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22triage-needed%22
on Jan 31, 2019https://github.com/microsoft/vscode-python/issues/4241#event-2110340198
Derek Keeler (d3r3kk)https://github.com/d3r3kk
Don Jayamanne (DonJayamanne)https://github.com/DonJayamanne
on Jan 31, 2019https://github.com/microsoft/vscode-python/issues/4241#event-2110340323
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
needs PRhttps://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22needs%20PR%22
on Feb 4, 2019https://github.com/microsoft/vscode-python/issues/4241#event-2116761380
Don Jayamanne (DonJayamanne)https://github.com/DonJayamanne
on Feb 4, 2019https://github.com/microsoft/vscode-python/issues/4241#event-2116761432
Don Jayamanne (DonJayamanne)https://github.com/DonJayamanne
area-formattinghttps://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22area-formatting%22
on Feb 4, 2019https://github.com/microsoft/vscode-python/issues/4241#event-2116761589
Brett Cannon (brettcannon)https://github.com/brettcannon
triagehttps://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22triage%22
on Feb 19, 2019https://github.com/microsoft/vscode-python/issues/4241#event-2150000970
https://github.com/jkyeung
jkyeunghttps://github.com/jkyeung
on Mar 9, 2019https://github.com/microsoft/vscode-python/issues/4241#issuecomment-471188789
#3284https://github.com/microsoft/vscode-python/issues/3284
https://github.com/jkyeung
jkyeunghttps://github.com/jkyeung
on Jun 12, 2019https://github.com/microsoft/vscode-python/issues/4241#issuecomment-501413029
https://github.com/Microsoft/vscode-python/blob/c23603c9b7a3dbb805e8339a2d7cf01bb7327b34/src/client/extension.ts#L176https://github.com/Microsoft/vscode-python/blob/c23603c9b7a3dbb805e8339a2d7cf01bb7327b34/src/client/extension.ts#L176
comment on #5821https://github.com/microsoft/vscode-python/issues/5821#issuecomment-500031791
#3915https://github.com/microsoft/vscode-python/pull/3915
https://github.com/karrtikr
Kartik Raj (karrtikr)https://github.com/karrtikr
on Jun 26, 2019https://github.com/microsoft/vscode-python/issues/4241#issuecomment-506050327
src/client/extension.tshttps://github.com/microsoft/vscode-python/blob/a328783d37379e27044435ed498728e28ab26b33/src/client/extension.ts
#5821 (comment)https://github.com/microsoft/vscode-python/issues/5821#issuecomment-500031791
#3284https://github.com/microsoft/vscode-python/issues/3284
Brett Cannon (brettcannon)https://github.com/brettcannon
2019 - June Sprint 13https://github.com/microsoft/vscode-python/milestone/35
on Jun 26, 2019https://github.com/microsoft/vscode-python/issues/4241#event-2442436872
Don Jayamanne (DonJayamanne)https://github.com/DonJayamanne
Kim-Adeline Miguel (kimadeline)https://github.com/kimadeline
on Jul 2, 2019https://github.com/microsoft/vscode-python/issues/4241#event-2455103867
Kim-Adeline Miguel (kimadeline)https://github.com/kimadeline
on Jul 4, 2019https://github.com/microsoft/vscode-python/issues/4241#event-2461338271
Add unit tests (will conflict with microsoft#4241)https://github.com/kimadeline/vscode-python/commit/c7f72152cb764fabf258c66fab989d9e28f27a72
microsoft#4241https://github.com/microsoft/vscode-python/issues/4241
c7f7215https://github.com/kimadeline/vscode-python/commit/c7f72152cb764fabf258c66fab989d9e28f27a72
Don Jayamanne (DonJayamanne)https://github.com/DonJayamanne
Eric Snow (ericsnowcurrently)https://github.com/ericsnowcurrently
on Jul 9, 2019https://github.com/microsoft/vscode-python/issues/4241#event-2470095540
https://github.com/ericsnowcurrently
Eric Snow (ericsnowcurrently)https://github.com/ericsnowcurrently
on Jul 9, 2019https://github.com/microsoft/vscode-python/issues/4241#issuecomment-509774812
Eric Snow (ericsnowcurrently)https://github.com/ericsnowcurrently
completedhttps://github.com/microsoft/vscode-python/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Jul 9, 2019https://github.com/microsoft/vscode-python/issues/4241#event-2470431612
needs PRhttps://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22needs%20PR%22
on Jul 9, 2019https://github.com/microsoft/vscode-python/issues/4241#event-2470431684
Eric Snow (ericsnowcurrently)https://github.com/ericsnowcurrently
on Jul 9, 2019https://github.com/microsoft/vscode-python/issues/4241#event-2470431936
Kim-Adeline Miguel (kimadeline)https://github.com/kimadeline
on Jul 12, 2019https://github.com/microsoft/vscode-python/issues/4241#event-2479545984
Add regex to dedent `else` and friends (#6497)https://github.com/microsoft/vscode-python/commit/245442325ff02a85dfbac2f2a4d1b649c0fa9f85
#6497https://github.com/microsoft/vscode-python/pull/6497
2454423https://github.com/microsoft/vscode-python/commit/245442325ff02a85dfbac2f2a4d1b649c0fa9f85
lockhttps://github.com/apps/lock
on Jul 16, 2019https://github.com/microsoft/vscode-python/issues/4241#event-2487335733
Sign up for freehttps://github.com/signup?return_to=https://github.com/microsoft/vscode-python/issues/4241
Sign in to commenthttps://github.com/login?return_to=https://github.com/microsoft/vscode-python/issues/4241
Kim-Adeline Miguel (kimadeline)https://github.com/kimadeline
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
2019 - June Sprint 13https://github.com/microsoft/vscode-python/milestone/35
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.