Closed rs6454 closed 1 year ago
(Experimental duplicate detection) Thanks for submitting this issue. Please also check if it is already covered by an existing one, like:
(Experimental duplicate detection) Thanks for submitting this issue. Please also check if it is already covered by an existing one, like:
this duplicate does not have a solution, Please include this feature
I just ran into this same limitation when editing 20k+ lines at once. In my case it wasn't a big deal as I only had to repeat my actions twice, but for larger files it would certainly be a hindrance. Adding a defaultSettings.json
preference (e.g. "editor.multiCursorMaxLines": 10000
) that users could increase in their own environments would be much appreciated.
I just ran into this same limitation when editing 20k+ lines at once. In my case it wasn't a big deal as I only had to repeat my actions twice, but for larger files it would certainly be a hindrance. Adding a
defaultSettings.json
preference (e.g."editor.multiCursorMaxLines": 10000
) that users could increase in their own environments would be much appreciated.
And where do you put the defaultSettings.json
?
@pablo-romano - defaultSettings.json
is just a built-in reference file that shows all available settings and their default values. Do a CTRL+SHIFT+P
and search for open default settings
. It's a useful reference when tweaking your settings file. I just mentioned it, as adding in a new settings option would also imply it's added to the defaultSettings.json
.
This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!
@alexdima / @vscodebot (or whoever manages it) Can you please clarify the language used in the previous message, regarding upvotes needed to move this to the backlog? Even after reading the included documentation link, and the fact that a Github issue itself cannot be upvoted, it's unclear whether one should upvote the initial post's comment or the comment from vscodebot in order to count towards the requisite 20 upvotes for backlog inclusion. Cheers.
@LesterCovax I think the opening post should be upvoted:
@chrmarti @kieferrm FYI there is some confusion about the bot language.
Was this implemented?
This would be very useful for dealing with large files where for example you wanted to add a comma to line
Since has reached 60 upvotes, it's gonna be implemented?
Already did Up vote ... I need this feature to past 300k lines
Having this configurable would be more useful than increasing it to 100000. I am just guessing but each machine may have a different limit to how much it can handle and I frequently handle text files with millions of lines. Whatever the maximum amount is that my machine can handle would be the best case for me.
Seems that it hasn't be implemented? I need this feature a lot, otherwise I have to deal large file with python, it is not so happy.
Been waiting for this for a looong time. Makes many data cleaning tasks an order of magnitude easier.
For a temporary fix / hack: find file workbench.desktop.main.js
(thank you @nikbucker) minified file on your vscode installation and search for the string MAX_CURSOR_COUNT
in there, change the set value (it is 1e4, make it 1e5 for 100000 for instance), save, restart vscode. Now on each new window, vscode will rightly complain about installation being corrupted but otherwise it will serve your needs until we can set this value through user preferences.
Why would an IDE have a max cursor count that cannot be changed via settings or available memory or something? That's ah, what we need it for.
Please make it happen!
when cursors more than 10000, why cannot select any one of cursor? why not select 10000 cursor first? or 10000 every time.
Please update soon, need to use reg exp on 200k lines
please update this! It is a big handicap for me.
WTB this update!
I'm working on XML files with millions of lines, and 100,000 top level child elements. Being able to select individual nodes for reporting would be really helpful.
I need to change at the same time 600 000 lines 📄. I hope that you'll take care of this 'feature' 👍 . Can't wait for this 🥇
Any news on this?
I would suggest learning how to use sed
. vscode is not the right tool for editing large files. even if it allows unlimited cursors you will probably run out of memory or performance will be extremely poor editing that many lines
Can't believe that this big project can't handle big files! It is just necessary!
@vscode Team, is there any technical reasons that this value is not configurable by the user, unlike how json.maxItemsComputed
is for JSON items?
As of the latest update, the MAX_CURSOR_COUNT workaround no longer seems to work.
Are there workarounds to this issue? Other then doing mass selections manually.
Any updates on this?
@DRSDavidSoft
My suggestion (a few years ago at this point:hurtrealbad:) was to add the following variable and default value:
"editor.multiCursorMaxLines": 10000
https://github.com/microsoft/vscode/issues/81589#issuecomment-574710401
bumping into this same constraint here, would love this to be configurable
No rush , But waiting for this for 3 years now. Edit : 4 Now
leaving dot here in case in the future will be implemented, don't know when thou
2022 and still waiting for this feature
2022 and still waiting for this feature
Yeeep.
waiting.
+1
+1. When will this be implemented? Has been added to the backlog almost 2 years ago :-S.
+1
+1
+1
+10001 ;)
+1
+1
Waiting
Wow, not implemented in VS still? For anyone else having same issue, try Sublime, can edit 50k+ lines simultaneously.
+1
Hi Team
I do a lot of work editing on text files with line more that 10000,editing of large file is limited due to the The number of cursors has been limited to 10000.
Please increase this limit to 100000 if possible