microsoft / microsoft/PowerToys
Fallback to plain text monaco editor if not supported file type found for plain text files
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 139k
- Forks
- 8.6k
- PR merge metrics
- PR metrics pending
Description
Description of the new feature / enhancement
I would like peek to fallback to still display plain text files even if there is no file extension or if the file extension is not in the list of supported files.
Scenario when this would be used?
For example the following files are common in typescript codebases but are not displayed:
.node-version
.npmrc
Even common files like the following:
LICENSE
git files such as the config file
Any .example files such as .env.example
Supporting information
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating Peek's file-type support and Monaco editor integration, then check how files without supported extensions are handled. Update the fallback so plain-text files such as .node-version, .npmrc, LICENSE, git config, and .env.example are displayed, and verify that these examples open successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- desktop
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 57/100