Title: Format Code appears to indent differently than expected · Issue #7503 · microsoft/TypeScript · GitHub
Open Graph Title: Format Code appears to indent differently than expected · Issue #7503 · microsoft/TypeScript
X Title: Format Code appears to indent differently than expected · Issue #7503 · microsoft/TypeScript
Description: From Brennan Stehling (@brennanMKE) on March 11, 2016 20:0 I'd like to know if this can be configured with a workspace setting. I have tried adjusting editor.wrappingIndent but it does not appear to influence behavior. Below I have examp...
Open Graph Description: From Brennan Stehling (@brennanMKE) on March 11, 2016 20:0 I'd like to know if this can be configured with a workspace setting. I have tried adjusting editor.wrappingIndent but it does not appear t...
X Description: From Brennan Stehling (@brennanMKE) on March 11, 2016 20:0 I'd like to know if this can be configured with a workspace setting. I have tried adjusting editor.wrappingIndent but it does not appe...
Opengraph URL: https://github.com/microsoft/TypeScript/issues/7503
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Format Code appears to indent differently than expected","articleBody":"_From @brennanMKE on March 11, 2016 20:0_\n\nI'd like to know if this can be configured with a workspace setting. I have tried adjusting `editor.wrappingIndent` but it does not appear to influence behavior. Below I have examples that you can try yourself.\n\nEither there is a bug in configuring workspace settings or there is no way to configure this behavior. My team is using different IDEs for TypeScript and I want to make my settings match what the rest of the team is expecting.\n### My .vscode/settings.json\n\n``` json\n{\n \"editor.tabSize\": 2,\n \"editor.insertSpaces\": true,\n \"editor.wrappingIndent\": \"same\"\n}\n```\n### Extra Indenting (Things.ts)\n\n``` ts\n\nexport let Things = [{\n Hat: 'hat',\n Glove: 'glove',\n Umbrella: 'umbrella'\n},\n {\n Salad: 'salad',\n Burrito: 'burrito',\n Pie: 'pie'\n }];\n```\n### Expected Indenting (Things.ts)\n\n``` ts\nexport let Things = [{\n Hat: 'hat',\n Glove: 'glove',\n Umbrella: 'umbrella'\n},\n{\n Salad: 'salad',\n Burrito: 'burrito',\n Pie: 'pie'\n}];\n```\n\n_Copied from original issue: Microsoft/vscode#4036_\n","author":{"url":"https://github.com/dbaeumer","@type":"Person","name":"dbaeumer"},"datePublished":"2016-03-14T10:06:32Z","url":"https://github.com/microsoft/TypeScript/issues/7503"}
| 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:60f18dc9-0f28-dd69-7635-c6d9270e0e66 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AA90:1AE20C:5D0C03:77884C:6B00DC8A |
| html-safe-nonce | eb42825fb85933683fc2ec28160343a1eac4f5391b682624e3f446980f43f339 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQTkwOjFBRTIwQzo1RDBDMDM6Nzc4ODRDOjZCMDBEQzhBIiwidmlzaXRvcl9pZCI6Ijc2ODAwNzA0MzExNzc4NDQyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | b872775549f7e7bb2a5bb906e874dd1c9e9a35a63334cb194511b91cdb625776 |
| hovercard-subject-tag | issue:140628572 |
| 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/7503/issue_layout |
| twitter:image | https://opengraph.githubassets.com/70d02797cddd13d7cb44964a2a72c2a0b95ff5c4bab4b23eae8aa2b1b6f0889b/microsoft/TypeScript/issues/7503 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/70d02797cddd13d7cb44964a2a72c2a0b95ff5c4bab4b23eae8aa2b1b6f0889b/microsoft/TypeScript/issues/7503 |
| og:image:alt | From Brennan Stehling (@brennanMKE) on March 11, 2016 20:0 I'd like to know if this can be configured with a workspace setting. I have tried adjusting editor.wrappingIndent but it does not appear t... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dbaeumer |
| hostname | github.com |
| expected-hostname | github.com |
| None | 043c3f30fbcbe2c6c8e729e10cbbbc90c406546f9fbbb67c648d38f6b7d16daf |
| 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 | 5425dc24e8bd8d6fca9641a12afc984825a43875 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width