nextcloud / nextcloud/notes

"auto"-completion of text

Open
#843 5 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

feature request feature: editor needs discussion
Dominant language
JavaScript
Stars
738
Forks
162
Avg merge
6h 2m
Merged PRs (30d)
35

Description

I would like to propose a new feature for the markdown editor (that i am willing to implement)

When a user types any type of bracket, usually the user wants to also complete the opposite bracket.
So if the user types an opening bracket, notes could insert the closing bracket after the cursor. Many IDE's have similar features.

Caveats: old-school smileys would require the user to remove the wrong closing bracket, but with a simple rule system we could limit such false positives.

Is that something we want for the notes-app? Are there other issues with that? Could we auto-apply suggestions for other elements too?

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 locating the markdown editor entry point in the Notes application and review how text input is handled. Define the bracket-pair and false-positive rules before implementation, then verify that opening brackets insert the intended closing brackets without breaking existing editing behavior.

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
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.