PowerShell / PowerShell/PowerShell

Improvements for classes

Open
#6,418 29 comments 23 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Issue-Enhancement KeepOpen WG-Language WG-NeedsReview
Dominant language
C#
Stars
55.5k
Forks
8.5k
Avg merge
1d 2h
Merged PRs (30d)
88

Description

Original discussion in https://github.com/PowerShell/PowerShell/issues/6015

I have the following few things that keep bugging me when I write classes and would would be great to seem them appear in a next version (or at least a few of them)

  • Interface creation (Tracking #2223)
  • Abstract classes
  • Possibility to Override properties getters and setters (Tracking #2219)
  • Creation of static and non static nested classes
  • Implementing comment based help in Classes
  • Comment based help for Methods
  • Remove the need to reload classes (Currently, when developing, one needs to kill the console, and reload the class to get the latest version. IT would make sense to have the same functionality as in functions: Just F5, and the old version of classes get overwritten by the new version, and we can use it immediatley).

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

Start with the original discussion in issue #6015 and review the tracked items #2223 and #2219. The issue lists several separate class-language requests, including interfaces, abstract classes, property overrides, nested classes, help, and reloading; it needs to be narrowed to one decided improvement before work can begin.

Written by the indexing model from the issue text.

Assessment

Tech stack
powershell
Domain
cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.