Fast way to create a path from Environment.SpecialFolder

Open Beginner friendly
#165 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
68/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
csharp
Domain
tooling

Research direction

Start by locating the AbsolutePath API and the Environment.SpecialFolder usage shown in the issue. Add a concise way to convert a special folder value to an AbsolutePath, and confirm that the Programs example works without explicitly calling Environment.GetFolderPath.

Written by the indexing model from the issue text.

Description

enhancement good first issue help wanted

Currently we need to do a new AbsolutePath(Environment.GetFolderPath(Environment.SpecialFolder.Programs)), but probably it worth to make this more short? Something like extension methods for enum Environment.SpecialFolder, which will be used like Environment.SpecialFolder.Programs.AsAbsolutePath().

Dominant language
C#
Stars
104
Forks
19
Avg merge
7h 27m
Merged PRs (30d)
7

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.

More from ForNeVeR/TruePath

All issues in ForNeVeR/TruePath

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.