nextcloud / nextcloud/android

opening plaintext files without .txt or equiv in-app

Open
#15,284 0 comments 0 reactions 0 assignees View on GitHub
0. Needs triage enhancement
Dominant language
Kotlin
Stars
5.6k
Forks
2k
Avg merge
2d 18h
Merged PRs (30d)
92

Description

### How to use GitHub

* Please use the 👍 [reaction](https://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/) to show that you are interested into the same feature.
* Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
* Subscribe to receive notifications on status change and new comments.

**Is your feature request related to a problem? Please describe.**
As one of the things I use my nextcloud server for is syncing my dot files, I have quite a few plaintext files without file endings (or with more unusual filetypes like .kdl) that from time to time I'd like to edit on the go from my phone.

**Describe the solution you'd like**
The inbuilt plaintext editor, that opens by default for .md or .txt files should be able to handle these just fine, but isn't shown as an option in the "Open With" menu due to it being bound to only certain file type endings. Would it be possible to extend its use? This would probably require mimetype detection rather han simple file suffix binding.

**Describe alternatives you've considered**
- add a .txt to the end of a file I want to edit and remove it afterwards
- use a locally installed editor, most of which also have this issue

**Additional context**
N/A

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.