Title: Remove return statement support. · Issue #6813 · microsoft/vscode-python · GitHub
Open Graph Title: Remove return statement support. · Issue #6813 · microsoft/vscode-python
X Title: Remove return statement support. · Issue #6813 · microsoft/vscode-python
Description: For #6333 we worked on improving syntax auto-indent/dedent (e.g. else). We were able to get dedent mostly right for return (see #6497 (comment)), but weren't able to find a good solution for return followed by a [, (, or { right before t...
Open Graph Description: For #6333 we worked on improving syntax auto-indent/dedent (e.g. else). We were able to get dedent mostly right for return (see #6497 (comment)), but weren't able to find a good solution for return...
X Description: For #6333 we worked on improving syntax auto-indent/dedent (e.g. else). We were able to get dedent mostly right for return (see #6497 (comment)), but weren't able to find a good solution for re...
Opengraph URL: https://github.com/microsoft/vscode-python/issues/6813
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Remove return statement support.","articleBody":"For #6333 we worked on improving syntax auto-indent/dedent (e.g. `else`). We were able to get dedent mostly right for `return` (see https://github.com/microsoft/vscode-python/pull/6497#issuecomment-509772399), but weren't able to find a good solution for `return` followed by a `[`, `(`, or `{` right before the cursor (see examples in #6564). We've determined that it would be better to remove dedent support for `return` entirely than to have some minor cases where it does the wrong thing.\r\n\r\nLater, we will work on sorting out indent/dedent for `return`in #6564.","author":{"url":"https://github.com/ericsnowcurrently","@type":"Person","name":"ericsnowcurrently"},"datePublished":"2019-08-01T15:45:49Z","url":"https://github.com/microsoft/vscode-python/issues/6813"}
| 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:21b89291-fabb-15ad-747b-61cad5c94f58 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 913C:10CB0:3EA3D5:521C5F:6AFE6189 |
| html-safe-nonce | 3770feeba4c4aa6dd22d088257bd5e6d34a45696a6013d2eb85607fc27922cf4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MTNDOjEwQ0IwOjNFQTNENTo1MjFDNUY6NkFGRTYxODkiLCJ2aXNpdG9yX2lkIjoiNTcxODYyOTMwNzIyMDEyNDA0MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | c5d8eeb34e645c834f51d60b75c1e2c77d2f00fcdefe9d3494e7471e668fc13f |
| hovercard-subject-tag | issue:475757600 |
| 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/6813/issue_layout |
| twitter:image | https://opengraph.githubassets.com/dc77c30011c68ffe089b7ef34c74673ef490fa7d9a6d13a662d09d23a68153ae/microsoft/vscode-python/issues/6813 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/dc77c30011c68ffe089b7ef34c74673ef490fa7d9a6d13a662d09d23a68153ae/microsoft/vscode-python/issues/6813 |
| og:image:alt | For #6333 we worked on improving syntax auto-indent/dedent (e.g. else). We were able to get dedent mostly right for return (see #6497 (comment)), but weren't able to find a good solution for return... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ericsnowcurrently |
| 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