Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add user-defined file-ext but supported format for "File Explorer add-ons utility" #10425

Open
runck opened this issue Mar 25, 2021 · 11 comments
Labels
Idea-New PowerToy Suggestion for a PowerToy Product-File Explorer Power Toys that touch explorer like Preview Pane

Comments

@runck
Copy link

runck commented Mar 25, 2021

Thanks to this power tool, I love the function named "Preview Pane" in "File Explorer add-ons utility", which supports markdown format.

However, some of my other markdown tools use different file-ext than simply .md or .markdown. Therefore, it would be great if there is an option to add user-defined file-ext, mapping to the supported format when previewed.

Thanks!

@runck runck added the Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams label Mar 25, 2021
@Jay-o-Way
Copy link
Collaborator

What is/are the extension(s) you would like to see?
Check out issue #1527, it's being worked on right now. Maybe that'll add the things you want.

@runck
Copy link
Author

runck commented Mar 25, 2021

Yes, very similar with maybe a little difference.
Actually I sometimes create my own extension(s) for special softwares, which is not common. So it is greater if there is a way to tell the powertoy that, this or that unknow extension is just a plain txt or other supported format.
I am not sure, but this issue could be closed, if it is the same thing with the mentioned issue from developers' views.
Thank agian.

@crutkas
Copy link
Member

crutkas commented Apr 2, 2021

#1527 is only known formats.

You can't make "unknown" act like text, what is the file is some massive binary file, then you're encoding and displaying. How i'd imagine this would work would be proxy style. When you see ext foo, treat it like bar ext

@crutkas crutkas added Idea-New PowerToy Suggestion for a PowerToy Product-File Explorer Power Toys that touch explorer like Preview Pane and removed Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams labels Apr 2, 2021
@crutkas
Copy link
Member

crutkas commented Apr 2, 2021

This then would solve #6019 and #9109 since you'd proxy them against Markdown

@crutkas
Copy link
Member

crutkas commented Apr 2, 2021

Issue #10126 needs to be done as part of #1527 / this item.

@runck
Copy link
Author

runck commented Apr 3, 2021

Yes as you said, I think my problem can be solved if with the proxy style.

@Pindar777
Copy link

Hi @crutkas,

is there any news concerning the implementation of the proxy style solution which would also solve #9109?

Cheers

@crutkas
Copy link
Member

crutkas commented Sep 30, 2021

It isn't something currently on the roadmap for the near future. https://github.com/microsoft/PowerToys/wiki/Roadmap The monaco engine support is the next big file explorer item we'd be adding in but has installer and settings work that needs to be done in the 0.51 iteration

@crutkas
Copy link
Member

crutkas commented Sep 30, 2021

If this is something you feel strongly on and would like to help out with, please lets chat!

@Korb
Copy link

Korb commented Jul 14, 2023

Check out issue #1527, it's being worked on right now

Not anymore.

This then would solve #6019 and #9109 since you'd proxy them against Markdown

Issue #10126 needs to be done as part of #1527 this item.

All of the above were closed without a decision to add support for many extensions that are actually plain text.

It remains for me to vote for this proposal, as the only one that has not yet been closed.

@koosvanderkolk
Copy link

This would be a great improvement. E.g. we have .module files which are in fact .php files. It would be very nice if we could map these extensions somehow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Idea-New PowerToy Suggestion for a PowerToy Product-File Explorer Power Toys that touch explorer like Preview Pane
Projects
Status: No status
Development

No branches or pull requests

6 participants