Title: Docstring popup breaks indented code formatting w/o trailing whitespace · Issue #787 · microsoft/vscode-python · GitHub
Open Graph Title: Docstring popup breaks indented code formatting w/o trailing whitespace · Issue #787 · microsoft/vscode-python
X Title: Docstring popup breaks indented code formatting w/o trailing whitespace · Issue #787 · microsoft/vscode-python
Description: Environment data VS Code version: 1.2.0 Python Extension version: 2018.1 Python Version: 3.6.3 OS and version: macOS 10.12 Actual behavior If you hover over this function for its docstring popup, if the trailing whitespace represented by...
Open Graph Description: Environment data VS Code version: 1.2.0 Python Extension version: 2018.1 Python Version: 3.6.3 OS and version: macOS 10.12 Actual behavior If you hover over this function for its docstring popup, i...
X Description: Environment data VS Code version: 1.2.0 Python Extension version: 2018.1 Python Version: 3.6.3 OS and version: macOS 10.12 Actual behavior If you hover over this function for its docstring popup, i...
Opengraph URL: https://github.com/microsoft/vscode-python/issues/787
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Docstring popup breaks indented code formatting w/o trailing whitespace","articleBody":"## Environment data\r\nVS Code version: 1.2.0\r\nPython Extension version: 2018.1 \r\nPython Version: 3.6.3\r\nOS and version: macOS 10.12\r\n\r\n## Actual behavior\r\n\r\nIf you hover over this function for its docstring popup, if the trailing whitespace represented by **....** is missing, the formatting for the indented code breaks.\r\n\r\n```python\r\ndef fixtures_dir(request):\r\n \"\"\"Return the test fixtures directory under `FIXTURES_DIR`.\r\n\r\n Example::\r\n\r\n from conftest import BASE_DIR\r\n........\r\n def test_something(fixtures_dir):\r\n assert fixtures_dir.strpath == BASE_DIR + '/some/path'\r\n\r\n :rtype: py.path.LocalPath\r\n \"\"\"\r\n```\r\n\r\n## Expected behavior\r\n\r\nThe indented code formatting inside the docstring popup should not change with/without the trailing whitespace.\r\n\r\n## Steps to reproduce: \r\n- Write the function\r\n- Add/remove the trailing whitespace\r\n- Hover over the function\r\n\r\n## Logs\r\nOutput from ```Python``` output panel \r\n```\r\nN/A\r\n``` \r\nOutput from ```Console window``` (Help->Developer Tools menu)\r\n```\r\nN/A\r\n```\r\n","author":{"url":"https://github.com/ray-grointel","@type":"Person","name":"ray-grointel"},"datePublished":"2018-02-15T07:41:10Z","url":"https://github.com/microsoft/vscode-python/issues/787"}
| 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:4c3dec24-c69b-939d-9720-a6ac33cbe20b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D74A:2F4083:89F1B:B4D4F:6AFE2FDB |
| html-safe-nonce | 61332d4308167831734cbcdfb1835341c3405e644325c0d7fa112a9fd71b9f09 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENzRBOjJGNDA4Mzo4OUYxQjpCNEQ0Rjo2QUZFMkZEQiIsInZpc2l0b3JfaWQiOiI3NTQzNTk0MTE1NjgyNjc2Njk5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 750a9012dc61613d5673854c4637078f469ef19b9a4edbbdb491f5cce9f33a74 |
| hovercard-subject-tag | issue:297353718 |
| 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/787/issue_layout |
| twitter:image | https://opengraph.githubassets.com/80349e1d21d4b2974864cb4a2334d09c85623523571be6cce160620750f4e289/microsoft/vscode-python/issues/787 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/80349e1d21d4b2974864cb4a2334d09c85623523571be6cce160620750f4e289/microsoft/vscode-python/issues/787 |
| og:image:alt | Environment data VS Code version: 1.2.0 Python Extension version: 2018.1 Python Version: 3.6.3 OS and version: macOS 10.12 Actual behavior If you hover over this function for its docstring popup, i... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ray-grointel |
| hostname | github.com |
| expected-hostname | github.com |
| None | d70e31220a67f6376c108d2416fa8e7df854c1065b1672ab7a88ab6dc3a809e2 |
| 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 | ccb88d9c92abe69245b429398c8a57ae87070c7c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width