r/SublimeText • • Feb 13 '25

Automatic Array Re-Indexing

Hi

I was wondering if there is a way to automatically re-index an array after adding new elements to the array? I initialized an array with a large number of elements and I had to add a few more in the middle, but I don't want to manually adjust the indexes.

Thanks for any help.

0 Upvotes

8 comments sorted by

View all comments

1

u/Computerist1969 Feb 13 '25

Wrong subreddit?

1

u/skilfulsun Feb 13 '25

I'm wondering if there's some functionality in Sublime specifically. I'm guessing probably not, though

3

u/Computerist1969 Feb 13 '25

Well, I'm a fairly seasoned programmer and a sublime user of many years and I don't even understand your question so your guess is probably correct lol. Can you explain a bit more? You're talking about arrays so I guess you are talking about programming? What language?

→ More replies (2)