Title: [Formatter] Indent Right(hand side) `CommandExpressionAst` · Issue #2175 · PowerShell/PSScriptAnalyzer · GitHub
Open Graph Title: [Formatter] Indent Right(hand side) `CommandExpressionAst` · Issue #2175 · PowerShell/PSScriptAnalyzer
X Title: [Formatter] Indent Right(hand side) `CommandExpressionAst` · Issue #2175 · PowerShell/PSScriptAnalyzer
Description: Indent (a multiline) righthand side (list) expression assignment. Meaning, for a (multiline) Statements.Right CommandExpressionAst (as apposed to Ast's that have already their own embedded indention, as e.g. a PipelineAst), I would like ...
Open Graph Description: Indent (a multiline) righthand side (list) expression assignment. Meaning, for a (multiline) Statements.Right CommandExpressionAst (as apposed to Ast's that have already their own embedded indentio...
X Description: Indent (a multiline) righthand side (list) expression assignment. Meaning, for a (multiline) Statements.Right CommandExpressionAst (as apposed to Ast's that have already their own embedded inde...
Opengraph URL: https://github.com/PowerShell/PSScriptAnalyzer/issues/2175
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Formatter] Indent Right(hand side) `CommandExpressionAst`","articleBody":"Indent (a multiline) righthand side (list) expression assignment.\nMeaning, for a (multiline) `Statements.Right` `CommandExpressionAst` (as apposed to `Ast`'s that have already their own embedded indention, as e.g. a `PipelineAst`), I would like the righthand side to (optionally?) increase the indent:\n\n### Wrong way (?)\n\n```PowerShell\n$List =\n'One',\n'Two',\n'Three'\n```\n\n\n### Correct way\n\n```PowerShell\n$List =\n 'One',\n 'Two',\n 'Three'\n```\n\n### Wrong way (?)\n\n```PowerShell\n$4 = # or any lengthy variable name aka dot notation\n2 + 2\n```\n\n\n### Correct way\n\n```PowerShell\n$4 = # or any lengthy variable name aka dot notation\n 2 + 2\n```","author":{"url":"https://github.com/iRon7","@type":"Person","name":"iRon7"},"datePublished":"2026-04-20T14:30:15Z","url":"https://github.com/PowerShell/PSScriptAnalyzer/issues/2175"}
| 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:59c1463e-8a90-92a8-8463-47ded003d47f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9D26:D1B6C:10F5940:180F9CE:6AFCD419 |
| html-safe-nonce | 17f1060ef99c5e5bee48cc53e5e925cfb403511baaac173b46cedfb4bce7b0c0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RDI2OkQxQjZDOjEwRjU5NDA6MTgwRjlDRTo2QUZDRDQxOSIsInZpc2l0b3JfaWQiOiIzNTIwNTQwMjAyNzU5OTM1MDAxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 945b8f8d0b0b4a013a79cfc757793521f5ad3279c05bfe6b831cf490411561a5 |
| hovercard-subject-tag | issue:4296435754 |
| 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/PowerShell/PSScriptAnalyzer/2175/issue_layout |
| twitter:image | https://opengraph.githubassets.com/75c5aaaddfdd17b89b5c2a2f82ef634216b9f80c25677d67f94be699873cb95f/PowerShell/PSScriptAnalyzer/issues/2175 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/75c5aaaddfdd17b89b5c2a2f82ef634216b9f80c25677d67f94be699873cb95f/PowerShell/PSScriptAnalyzer/issues/2175 |
| og:image:alt | Indent (a multiline) righthand side (list) expression assignment. Meaning, for a (multiline) Statements.Right CommandExpressionAst (as apposed to Ast's that have already their own embedded indentio... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | iRon7 |
| hostname | github.com |
| expected-hostname | github.com |
| None | b5b7bc7e41e0a604bbdb5035c7ed9620c2d28b9c8a18747182e2262a75abfd91 |
| turbo-cache-control | no-preview |
| go-import | github.com/PowerShell/PSScriptAnalyzer git https://github.com/PowerShell/PSScriptAnalyzer.git |
| octolytics-dimension-user_id | 11524380 |
| octolytics-dimension-user_login | PowerShell |
| octolytics-dimension-repository_id | 33149177 |
| octolytics-dimension-repository_nwo | PowerShell/PSScriptAnalyzer |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 33149177 |
| octolytics-dimension-repository_network_root_nwo | PowerShell/PSScriptAnalyzer |
| 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 | ff5022cc3aa767e6115451d9c322dd975506d40e |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width