Title: tsx attribute formatting removes bracket spacing · Issue #10872 · microsoft/TypeScript · GitHub
Open Graph Title: tsx attribute formatting removes bracket spacing · Issue #10872 · microsoft/TypeScript
X Title: tsx attribute formatting removes bracket spacing · Issue #10872 · microsoft/TypeScript
Description: From Bryan Nicholls (@bookman25) on September 9, 2016 18:8 VSCode Version: 1.5.1 OS Version: Windows 10 Steps to Reproduce: TypeScript Version: 2.* Format document Expected behavior: In 1.8.10 the spa...
Open Graph Description: From Bryan Nicholls (@bookman25) on September 9, 2016 18:8 VSCode Version: 1.5.1 OS Version: Windows 10 Steps to Reproduce: TypeScript Version: 2.* Format docum...
X Description: From Bryan Nicholls (@bookman25) on September 9, 2016 18:8 VSCode Version: 1.5.1 OS Version: Windows 10 Steps to Reproduce: TypeScript Version: 2.* <input value={ this.state.value } /> Format...
Opengraph URL: https://github.com/microsoft/TypeScript/issues/10872
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"tsx attribute formatting removes bracket spacing","articleBody":"_From @bookman25 on September 9, 2016 18:8_\n- VSCode Version: 1.5.1\n- OS Version: Windows 10\n\nSteps to Reproduce:\n1. TypeScript Version: 2.*\n2. `\u003cinput value={ this.state.value } />`\n3. Format document\n\n**Expected behavior:**\nIn **1.8.10** the spacing inside the brackets was unchanged on format operation (closing bracket `}` or format document).\n`\u003cinput value={ this.state.value } />`\n\n**Actual behavior:** \nIn **2.**\\* the space inside the brackets is always removed when formatting.\n\n``` ts\n\u003cinput value={this.state.value} />\n```\n\nLooks like it might be related to: https://github.com/Microsoft/TypeScript/pull/9361\n\n_Copied from original issue: Microsoft/vscode#11791_\n","author":{"url":"https://github.com/waderyan","@type":"Person","name":"waderyan"},"datePublished":"2016-09-12T19:56:55Z","url":"https://github.com/microsoft/TypeScript/issues/10872"}
| 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:deb4548e-f378-10f0-2042-eb98031920af |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 84AE:EDA7A:A91415:D815CE:6B00F548 |
| html-safe-nonce | ad90912ee724880687d541d6d2ce47ceebf10aa297c50aabdf5e60971bb90e83 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NEFFOkVEQTdBOkE5MTQxNTpEODE1Q0U6NkIwMEY1NDgiLCJ2aXNpdG9yX2lkIjoiMzY3NzA4ODE3ODY5NjY4MDc3NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 070f7b86e553d25d093a54f4617a911385c7bdc7476e46d2e4107d365eb19772 |
| hovercard-subject-tag | issue:176468850 |
| 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/TypeScript/10872/issue_layout |
| twitter:image | https://opengraph.githubassets.com/80ec795a6d072ae0070b96810d3ae359e1dfca0a30b9b32769002814a546955a/microsoft/TypeScript/issues/10872 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/80ec795a6d072ae0070b96810d3ae359e1dfca0a30b9b32769002814a546955a/microsoft/TypeScript/issues/10872 |
| og:image:alt | From Bryan Nicholls (@bookman25) on September 9, 2016 18:8 VSCode Version: 1.5.1 OS Version: Windows 10 Steps to Reproduce: TypeScript Version: 2.* Format docum... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | waderyan |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4ef498cbabcbe3c50befc7a5b743e7072ee770b4daf0e15e54801180d1fa91fc |
| turbo-cache-control | no-preview |
| go-import | github.com/microsoft/TypeScript git https://github.com/microsoft/TypeScript.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 20929025 |
| octolytics-dimension-repository_nwo | microsoft/TypeScript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 20929025 |
| octolytics-dimension-repository_network_root_nwo | microsoft/TypeScript |
| 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 | 9983dd5da06943f833c971dd5b6bc988e2858be5 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width