Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request] vertical numeric sequence filling #70

Open
toohandsome opened this issue Jun 16, 2023 · 2 comments
Open

[Feature request] vertical numeric sequence filling #70

toohandsome opened this issue Jun 16, 2023 · 2 comments

Comments

@toohandsome
Copy link

when i use "Insert numbers - Insert decimal number sequence" ,
His behavior appears to be shifting the original text to the next line, instead of inserting one number per line as I was hoping for.

image

I hope to add a feature that is similar to Notepad++'s column editing mode, where numbers can be inserted sequentially at specified positions.

image

@qcz
Copy link
Owner

qcz commented Jun 16, 2023

If you have multiple selections, it will insert a number to every active selection, like this:

Sample.2.mp4

@toohandsome
Copy link
Author

toohandsome commented Jun 19, 2023

If you have multiple selections, it will insert a number to every active selection, like this:

Sample.2.mp4

Thank you for your reply!

If it's just to solve the problem in my example, there are many ways to do it, such as inserting line numbers first and then using regex replace.

The method in your demo video needs to ensure that the characters before the numbers are the same or can be replaced simultaneously, which doesn't seem like a universal solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants