microsoft / PowerToys

Windows system utilities to maximize productivity
MIT License
110.98k stars 6.53k forks source link

Support `.ion`-files in Peek #35515

Open Korb opened 1 week ago

Korb commented 1 week ago

Description of the new feature / enhancement

First of all, a quick look at descript.ion files.

Scenario when this would be used?

View a commented list of the contents of the current folder.

Supporting information

I couldn't find an official specification for this format. You can read more about the syntax here. However, there is no need for syntax highlighting or interactivity - just plain-text viewing, as is currently the case when using Peek to open .txt files.

Image

Image

crutkas commented 1 week ago

this should be easy if it is just a txt file rendering. https://github.com/microsoft/PowerToys/pull/32817 shows how to do this.