Open TCWORLD opened 1 year ago
Thanks for the suggestion, @TCWORLD.
The problem is that the number sequence generator itself does not know how many numbers it will have to generate (it is decided by an upper layer for user input or the number of selections), so the final number is unknown.
The possible solutions are the following:
Insert series of items
command with built in padding. It will ask for padding details after selecting the series and does the smart padding itself after generating all items. (This is definitely possible and it will work with all available series).Ah, that makes sense.
It could be a case of specify, pad all items to x number of characters. For example in the ones above specify when running the command that they all should be padded to 2 characters with either 0's or spaces(pre/post). Any longer strings would then either have to stay being the larger width (in which case I could just undo and rerun the command with the correct width), or truncated to the specified width.
Apologies if this is a feature already, I couldn't seem to find a way to do it with this extension.
When inserting a sequence of numbers on multiple lines, it would be useful to have the option to specify padding the numbers, either with
such that the data added to every row is a constant width.
0
's orFor example, as an alterative of inserting:
It would be possible to instead have it insert one of the following options (0 or space padding, left or right aligned):
This would be useful when editing files with entries organised in fixed with columns.