PowerShell / PowerShell/vscode-powershell
Feature Request: Refactor - Extract Method
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1.9k
- Forks
- 547
- PR merge metrics
- No merged PRs in 30d
Description
Summary of the new feature
'As a developer I want a script segment to be extracted out as a function so that function can be used in other scripts files as well.'
Proposed technical implementation details (optional)
This is common functionality provided in VS code
https://code.visualstudio.com/docs/editor/refactoring
https://refactoring.com/catalog/extractFunction.html
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 repository files, tests, or entry points are identified in the issue. Start by reviewing the VS Code refactoring documentation and the extension's existing architecture, then define the supported extraction cases and tests needed to demonstrate that a script segment becomes a reusable function.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- powershell, typescript, vscode
- Domain
- devtools
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100