nextcloud / nextcloud/text

Introduce .nctext file extension and open in the text module by default

Open
#3,630 23 comments 5 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop discuss enhancement
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.
  • *.md files 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.