Login  Register

Re: Is there a text-editor trick to write several identical lines of code while incrementing the numbers on each line ?

Posted by petafunk on May 08, 2020; 2:46pm
URL: http://nand2tetris-questions-and-answers-forum.52.s1.nabble.com/Is-there-a-text-editor-trick-to-write-several-identical-lines-of-code-while-incrementing-the-numbers-tp4034607p4034610.html

I'm not familiar with macros at all, but at some point I'll need to be I guess.

Sublime Text has a feature which, on selection of a string, can highlight all the instances of that string. As is it's not the best way to deal with my task but with some tinkering it's better than manual number incrementation.