Title: Function argument completion should not include default value · Issue #522 · microsoft/vscode-python · GitHub
Open Graph Title: Function argument completion should not include default value · Issue #522 · microsoft/vscode-python
X Title: Function argument completion should not include default value · Issue #522 · microsoft/vscode-python
Description: Environment data VS Code version: 1.19.1 Python Extension version: 0.9.1 Python Version: 3.6.3 OS and version: Ubuntu 14.04 Actual behavior Suppose you have a function with signature foo(bar=None). If you type foo(ba it displays suggesti...
Open Graph Description: Environment data VS Code version: 1.19.1 Python Extension version: 0.9.1 Python Version: 3.6.3 OS and version: Ubuntu 14.04 Actual behavior Suppose you have a function with signature foo(bar=None)....
X Description: Environment data VS Code version: 1.19.1 Python Extension version: 0.9.1 Python Version: 3.6.3 OS and version: Ubuntu 14.04 Actual behavior Suppose you have a function with signature foo(bar=None)....
Opengraph URL: https://github.com/microsoft/vscode-python/issues/522
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Function argument completion should not include default value","articleBody":"## Environment data\r\nVS Code version: 1.19.1\r\nPython Extension version: 0.9.1\r\nPython Version: 3.6.3\r\nOS and version: Ubuntu 14.04\r\n\r\n## Actual behavior\r\nSuppose you have a function with signature `foo(bar=None)`. If you type `foo(ba` it displays suggestions to complete the argument. If you hit Enter to accept the suggestion it enters `bar=None`.\r\n\r\n## Expected behavior\r\nThe completion should just be `bar=` without the default value `None`. After all, if we wanted the default value we wouldn't be typing `bar`. We're trying to change `bar` to something other than its default.\r\n\r\nAs it is you have to backspace over the default value to replace it.\r\n\r\nI flip back and forth between VSCode and Jupyter notebooks a lot. Notebooks just complete with `bar=` and it is really convenient.\r\n\r\n## Steps to reproduce: \r\n\r\nAs above.\r\n","author":{"url":"https://github.com/gauss256","@type":"Person","name":"gauss256"},"datePublished":"2018-01-03T06:01:55Z","url":"https://github.com/microsoft/vscode-python/issues/522"}
| 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:b866ac0c-a690-7672-b4bf-ac535392fac5 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D376:147131:2510F7:3066F6:6AFE4BCC |
| html-safe-nonce | 9ff35736085179fc7319e383178754da3b4c4ccd7cbe83341d1afad25626b81a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMzc2OjE0NzEzMToyNTEwRjc6MzA2NkY2OjZBRkU0QkNDIiwidmlzaXRvcl9pZCI6IjUxMTkxMjU5Njk0NzQzMDkwNjgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | e942edf1caca0d9d8599b00bc59dcebc47a93a6b66224258942cb17c5ba4e9de |
| hovercard-subject-tag | issue:285605072 |
| 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/522/issue_layout |
| twitter:image | https://opengraph.githubassets.com/57013038b91adf3ce6c999bb7c43b94a9e8870820eedf2374b0ee81c052a30d6/microsoft/vscode-python/issues/522 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/57013038b91adf3ce6c999bb7c43b94a9e8870820eedf2374b0ee81c052a30d6/microsoft/vscode-python/issues/522 |
| og:image:alt | Environment data VS Code version: 1.19.1 Python Extension version: 0.9.1 Python Version: 3.6.3 OS and version: Ubuntu 14.04 Actual behavior Suppose you have a function with signature foo(bar=None).... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | gauss256 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 894d3c8b932306ed8425e8dcbe0c1089667e487c5fe7b8a05d17e7b685207429 |
| 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 | 44570ad53e12be09be8000af683c29166c4007cb |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width