Title: Visual Studio formatting is wrong in some cases · Issue #3817 · microsoft/TypeScript · GitHub
Open Graph Title: Visual Studio formatting is wrong in some cases · Issue #3817 · microsoft/TypeScript
X Title: Visual Studio formatting is wrong in some cases · Issue #3817 · microsoft/TypeScript
Description: Here is an example var webApps: ng.ui.IState[] = [{ name: "home.webapp", templateUrl: "templates/empty-shell.html" }, { name: "home.webapp.templates", templateUrl: "templates/templates.html" }, { name: "home.webapp.work", templateUrl: "t...
Open Graph Description: Here is an example var webApps: ng.ui.IState[] = [{ name: "home.webapp", templateUrl: "templates/empty-shell.html" }, { name: "home.webapp.templates", templateUrl: "templates/templates.html" }, { n...
X Description: Here is an example var webApps: ng.ui.IState[] = [{ name: "home.webapp", templateUrl: "templates/empty-shell.html" }, { name: "home.webapp.templates", templateUrl: &qu...
Opengraph URL: https://github.com/microsoft/TypeScript/issues/3817
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Visual Studio formatting is wrong in some cases","articleBody":"Here is an example\n\n``` typescript\nvar webApps: ng.ui.IState[] = [{\n name: \"home.webapp\",\n templateUrl: \"templates/empty-shell.html\"\n}, {\n name: \"home.webapp.templates\",\n templateUrl: \"templates/templates.html\"\n}, {\n name: \"home.webapp.work\",\n templateUrl: \"templates/work.html\"\n}];\n```\n\nVS formats it to\n\n``` typescript\nvar webApps: ng.ui.IState[] = [{\n name: \"home.webapp\",\n templateUrl: \"templates/empty-shell.html\"\n}, {\n name: \"home.webapp.templates\",\n templateUrl: \"templates/templates.html\"\n }, {\n name: \"home.webapp.work\",\n templateUrl: \"templates/work.html\"\n }];\n```\n\nanother example is \n\n``` typescript\nfunction test($http: ng.IHttpService) {\n $http({\n url: \"https://github.com\",\n method: \"GET\"\n })\n .success((d) => {\n console.log(d);\n })\n .finally(() => {\n console.log(\"finally\");\n });\n}\n```\n\nVS formats it to \n\n``` typescript\nfunction test($http: ng.IHttpService) {\n $http({\n url: \"https://github.com\",\n method: \"GET\"\n })\n .success((d) => {\n console.log(d);\n })\n .finally(() => {\n console.log(\"finally\");\n });\n}\n```\n","author":{"url":"https://github.com/ahmelsayed","@type":"Person","name":"ahmelsayed"},"datePublished":"2015-07-10T23:53:12Z","url":"https://github.com/microsoft/TypeScript/issues/3817"}
| 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:0262b2cd-5627-afe8-1629-5b7e4cbc50c3 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B418:22DB35:9058C4:BC32D5:6B00DE1C |
| html-safe-nonce | bd5243ee841e80524c59678ed2aada0021d18349227216f7e2b96a13d8c7765e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNDE4OjIyREIzNTo5MDU4QzQ6QkMzMkQ1OjZCMDBERTFDIiwidmlzaXRvcl9pZCI6IjM1MDM4MjA2NzY3NjA5MTk1ODAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | a17fe582c0f3d61e40bf800993ff50bb846f16dba362df5b758145d376d83ddd |
| hovercard-subject-tag | issue:94415215 |
| 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/3817/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1183e87a7ee4203cf47ff0902c1a1391ec5a9196f48874ff4d53fdb204f9bf4d/microsoft/TypeScript/issues/3817 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1183e87a7ee4203cf47ff0902c1a1391ec5a9196f48874ff4d53fdb204f9bf4d/microsoft/TypeScript/issues/3817 |
| og:image:alt | Here is an example var webApps: ng.ui.IState[] = [{ name: "home.webapp", templateUrl: "templates/empty-shell.html" }, { name: "home.webapp.templates", templateUrl: "templates/templates.html" }, { n... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ahmelsayed |
| 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