PowerShell / PowerShell/vscode-powershell
Autoformat cmdlet (and parameters) capitalization
Open
Nobody has claimed this yet.
Area-Code Formatting
Issue-Enhancement
- Dominant language
- TypeScript
- Stars
- 1.9k
- Forks
- 547
- PR merge metrics
- No merged PRs in 30d
Description
Summary of the new feature
Document formatter should be able to convert default cmdlets (and it's parameters) case, when some setting is set. (powershell.codeFormatting.keepcmdletcapitalization)
Before formatting:
get-content "somefile.json" -raw | convertfrom-json
After formatting:
Get-Content "somefile.json" -Raw | ConvertFrom-Json
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No implementation files or tests are named. Start by locating the document formatter and the powershell.codeFormatting.keepcmdletcapitalization setting, then trace how cmdlet and parameter casing is handled. Done means the setting produces the shown capitalization for the PowerShell example.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- powershell, typescript
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100