Skip to content

File completion #445

@Dovencio

Description

@Dovencio

Feature Description

I purpose having file completion when writing a string that starts with "./" or '/' for Unix-like platforms and @"[A-Z]:[\\\/]" (regex) or @".[\\\/]" (regex) for windows platforms. This will help typing out long file paths accurately for the use of processing their data.
Example, the character is the cursor:

> Environment.CurrentDirectory
"/home/dovenchiko/FileTest"

> string str = ("./█

And the directory structure:

FileTest/
├── folder1/
│   ├── are
│   ├── beans
│   └── good
├── folder2/
│   └── the quick brown fox jumps over the lazy dog
├── bar
└── foo

Will give you the options "folder1", "folder2", "bar", "foo" (possibly display folders first). Selecting bar will have no other suggestions unless bar is a soft link to another directory, while selecting "folder2" gives the option "the quick brown fox jumps over the lazy dog"

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions