Introduce .nctext file extension and open in the text module by default
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 659
- Forks
- 133
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 110
Description
Start using a new file extension - for example .nctext to indicate these files are meant to be edited with text.
*.nctext is created by and opens in the text module by default
*.md has an option to use the text module if the user prefers to
This will
- Avoid data loss / changing the .md syntax without consent.
- Allow users who never heard of markdown to use the editor to format text with the default settings.
*.mdfiles continue to be opened in Text by default, with a user option to disable this.
Originally posted by @inthreedee in https://github.com/nextcloud/text/issues/593#issuecomment-1344491604
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 tracing how the text module identifies file extensions and chooses the default editor, then compare the existing .md behavior with the requested .nctext behavior. Done means .nctext files are created and opened in Text by default, while .md files retain their current default with a user option to disable it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100