microsoft / microsoft/edit

A way to type paths using Environment Variables in the open menu

Open
#499 3 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

C-task E-help-wanted
Dominant language
Rust
Stars
14.6k
Forks
734
Avg merge
8h 40m
Merged PRs (30d)
4

Description

In the open menu, I should can use something like %WINDIR% in Windows or $HOME in Linux.

Image

This is a natural behavior when using Windows Explorer, so I expect this works on the open menu. Currently, it creates file named %WINDIR% while I expect it should be expanded to C:\Windows.

For more info on the list of windows paths: https://superuser.com/a/1655270

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 open-menu path handling and inspect how the entered text is converted into a file path. Check the existing behavior on Windows and Linux for environment-variable syntax. Done means supported variables expand to their paths instead of being treated as literal filenames, with coverage for the examples in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli, operating-systems
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.