vnotex / vnotex/vnote

[question] Iterate snippet on multiple lines

Open
#1,185 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
13k
Forks
1.3k
Avg merge
14h 3m
Merged PRs (30d)
3

Description

OS Version (操作系统): Linux

VNote Version: 2.8.2


Feature Request: It would be nice if snippets could iterate on each line selected, for example...

Snippet (with iteration):
- $$

Text:

1
2
3

Press Ctrl+A and apply the snippet.
The result should be:

- 1
- 2
- 3

How can I achieve this functionality?

Contributor guide

No contributing guide indexed for this repository

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

The issue names no implementation files or tests. Start by locating VNote's snippet handling and the code that applies a snippet to a selected block of text; verify how multiline selections and iteration are currently processed. Done means applying - $$ to 1, 2, and 3 produces one prefixed line for each selected line.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
desktop
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.