zhanghai / zhanghai/MaterialFiles
Text Editor Suggestions
Open
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 9k
- Forks
- 736
- PR merge metrics
- No merged PRs in 30d
Description
- Monospace toggle: Add a monospace (and default font) toggler. Any files that are not standard text files should be displayed in monospace font (e.g.
.txtfiles could be opened in default font but.propfiles should be opened in monospace font). But you can open all files in monospace font if you think this to be a bit overhead. - Line/word wrapping (optional): This feature speak for itself, I think. (Currently line wrapping is enabled by default).
- Font size (similar to #165): You obviously noticed that the font size of the file manager is much much bigger than the text editor. There should be an option to increase or decrease font size of the editor.
- Read only mode: This is also an obvious feature and available in many Android text editors (such as Solid Explorer's built-in text editor, Editor, etc.)
- Syntax highlight (No. 2 of #238): Syntax highlights should be available at least in the read only mode.
- Hex viewer (optional): There should be a hex viewer. Any binary file that is opened with Material Files text viewer should open there. Text files should also be opened in the hex viewer.
Attached images are proof of concept (taken from various apps) and doesn't represent the actual design:




Contributor guide
No contributing guide indexed for this repository
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
No files, tests, or entry points are named in the issue. Begin by locating the Android text editor implementation and its existing font-size or editor settings, then scope the requested toggles, wrapping, read-only mode, syntax highlighting, and hex viewing separately; done would require agreed behavior and validation for the selected subset.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- mobile
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100