PowerShell / PowerShell/PowerShellEditorServices

Refactor `HostStartupInfo` and `ProfilePathInfo` using records

Open
#1,480 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Area-General Issue-Enhancement
Dominant language
C#
Stars
767
Forks
266
Avg merge
3d 16h
Merged PRs (30d)
1

Description

Noted in #1474, we can simplify these with the newish record keyword (which we have access to because of OmniSharp).

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Locate the definitions and usages of HostStartupInfo and ProfilePathInfo, then review the related context in #1474. Convert these types to records while preserving their existing behavior, and verify that the project still builds and its relevant tests pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
devtools
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.