microsoft / PowerToys

Windows system utilities to maximize productivity
MIT License
107.42k stars 6.34k forks source link

New File Explorer Add-on #29834

Open skanda890 opened 8 months ago

skanda890 commented 8 months ago

Description of the new feature / enhancement

A new File Explorer Add-on called Configuration Files. Example: .yml files or .yaml files.

Scenario when this would be used?

This would be used to run Configuration Files.

Supporting information

No response

Jay-o-Way commented 8 months ago

@Aaron-Junker isn't yaml already part of developer file types?

crutkas commented 8 months ago

@skanda890 you mean to preview the winget config files? can you use more detail here? /needinfo

skanda890 commented 8 months ago

@skanda890 you mean to preview the winget config files? can you use more detail here? /needinfo

Yes, I meant that, to preview the config files. BTW, those files can be used to config other apps.

pfeerick commented 6 months ago

YaML files are used a lot for some of the projects I work on, so this would be a great feature to see added... i.e. being able to see the content of YaML files via the File Explorer -> Preview Pane option without having to open them.

Aaron-Junker commented 6 months ago

@skanda890 @pfeerick What type of preview would you like then? A structured overview? Because a text preview for yaml files is already available.

/needinfo

pfeerick commented 6 months ago

I'll need to double check again, as when I checked before commenting it wasn't working for me and couldn't see any settings turned off that were related. But I could have sworn it did display a text preview before (prior to a clean reinstall for Win11 23H2).. which is all that is necessary. Syntax highlighting would be a bonus, but just showing the content is all I'm after.

skanda890 commented 6 months ago

@skanda890 @pfeerick What type of preview would you like then? A structured overview? Because a text preview for yaml files is already available.

/needinfo

Yeah, basically a structured overview.

pfeerick commented 6 months ago

Ok, it looks like there may be an issue with my system, as I just realised I'm not even getting the preview for a dumb text file! 😖 However unticking the Monaco option brings .txt preview pane functionality back... so maybe there is something wrong with the previewer itself on my machine, hence why I'm not seeing the .yml preview. I'll poke around a bit more and then will search for and report if it's not already an issue...

image