Title: Issue in indentation when formatting consecutive objects · Issue #6271 · microsoft/TypeScript · GitHub
Open Graph Title: Issue in indentation when formatting consecutive objects · Issue #6271 · microsoft/TypeScript
X Title: Issue in indentation when formatting consecutive objects · Issue #6271 · microsoft/TypeScript
Description: Reposting microsoft/vscode#1661 There's a very annoying issue when hitting "format code" in a TS file. Here's an example: [{ }, { }] // or fn({ }, { }) becomes: [{ }, { }] // or fn({ }, { }) This gets really annoying when you have large ...
Open Graph Description: Reposting microsoft/vscode#1661 There's a very annoying issue when hitting "format code" in a TS file. Here's an example: [{ }, { }] // or fn({ }, { }) becomes: [{ }, { }] // or fn({ }, { }) This g...
X Description: Reposting microsoft/vscode#1661 There's a very annoying issue when hitting "format code" in a TS file. Here's an example: [{ }, { }] // or fn({ }, { }) becomes: [{ }, { }] // or f...
Opengraph URL: https://github.com/microsoft/TypeScript/issues/6271
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Issue in indentation when formatting consecutive objects","articleBody":"Reposting Microsoft/vscode#1661\n\nThere's a very annoying issue when hitting \"format code\" in a TS file. Here's an example:\n\n``` ts\n[{\n}, {\n}]\n// or\nfn({\n}, {\n})\n```\n\nbecomes:\n\n``` ts\n\n[{\n}, {\n }]\n// or\nfn({\n}, {\n })\n```\n\nThis gets really annoying when you have large nested objects containing things like functions etc...\n","author":{"url":"https://github.com/louy","@type":"Person","name":"louy"},"datePublished":"2015-12-28T08:09:16Z","url":"https://github.com/microsoft/TypeScript/issues/6271"}
| 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:b65f6e20-f8ae-d369-9eb7-413ac29f0bbf |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AEC4:D5AA4:6586DE:89C7CA:6B00CE2E |
| html-safe-nonce | 3312a0824fcc0566c8c00d06417d6aeb4051cff8be5757a2cab47be7d25b4bec |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRUM0OkQ1QUE0OjY1ODZERTo4OUM3Q0E6NkIwMENFMkUiLCJ2aXNpdG9yX2lkIjoiOTEzOTUwNzIzMTYyMzAwNzc5MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 93309052bfd5544e4014ba3591a2af61671b4ed65a00861721b3997924eb93a0 |
| hovercard-subject-tag | issue:124032718 |
| 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/6271/issue_layout |
| twitter:image | https://opengraph.githubassets.com/96d2763e5e80814fda2c27cc1418c2fd6c7a84fcf8c2b059b78f6f204dc0fc9b/microsoft/TypeScript/issues/6271 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/96d2763e5e80814fda2c27cc1418c2fd6c7a84fcf8c2b059b78f6f204dc0fc9b/microsoft/TypeScript/issues/6271 |
| og:image:alt | Reposting microsoft/vscode#1661 There's a very annoying issue when hitting "format code" in a TS file. Here's an example: [{ }, { }] // or fn({ }, { }) becomes: [{ }, { }] // or fn({ }, { }) This g... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | louy |
| hostname | github.com |
| expected-hostname | github.com |
| None | 85bbdfe2b6ba16e234513bc6ceff5d848ef8449820c900692a2b4e67061931e5 |
| 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 | 4943239a6d2c591325dad6e5c313e1cafda877f6 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width