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
Domain: github.com
{"@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-profiling | 0 |
| react-import-map | react,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-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:0d928f68-1481-77ed-e6dd-c0dd9fb39747 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | ADE4:B0D00:AE4CD5:EC8925:6AFE6935 |
| html-safe-nonce | 8f5de16caf0c666dab63c1e77d8be8cb098eca88b441c733166d94e9fa9a35cc |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBREU0OkIwRDAwOkFFNENENTpFQzg5MjU6NkFGRTY5MzUiLCJ2aXNpdG9yX2lkIjoiNTcyMTczOTMzNTk4ODgzMjU2NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 380680e291b1c1d5578169651a1f5cc6110ca27ad4f3f6e2e117dd3b0c5ab350 |
| hovercard-subject-tag | issue:405301407 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoft/vscode-python/4241/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c1bfa5b8f12319f37a65cf141bcd4718f5952a1ea904939224dc181ce618905a/microsoft/vscode-python/issues/4241 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c1bfa5b8f12319f37a65cf141bcd4718f5952a1ea904939224dc181ce618905a/microsoft/vscode-python/issues/4241 |
| og:image:alt | 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... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | caudate-julie |
| hostname | github.com |
| expected-hostname | github.com |
| None | b3c0f155eafc27e60db6e254d1ffff0e072e9ab3b4018a5ee518797c19d89f86 |
| turbo-cache-control | no-preview |
| go-import | github.com/microsoft/vscode-python git https://github.com/microsoft/vscode-python.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 106462765 |
| octolytics-dimension-repository_nwo | microsoft/vscode-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | true |
| octolytics-dimension-repository_parent_id | 49946255 |
| octolytics-dimension-repository_parent_nwo | DonJayamanne/pythonVSCode |
| octolytics-dimension-repository_network_root_id | 49946255 |
| octolytics-dimension-repository_network_root_nwo | DonJayamanne/pythonVSCode |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 4a10310af51a1bfffbedc4fd81cb582acf0cb0ff |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width