This is how I code with sublime text

It is so true that many of us hate doing repetitive tasks. Recently I have to code a bunch of stuff which involved mundane manual editing. To help you understand the situation, I have a set of comma separated strings(left) and I have to convert each of them to the right side view(C# properties). The list of strings I have to work with was horribly long.
This time I turned my attention to Sublime text. Sublime text and most modern text editors have a feature called multi cursor/multi selection editing. What this enables us to do is, create multiple cursors instead of traditional single cursor editing. Sublime text of course has the superior support when it comes to this feature. In essence, With multiple cursors you can edit multiple regions of the document simultaneously! Multiple cursors can be created manually by Ctrl+Mouse Click.

Below video shows how I code with sublime text with this feature!

Here, First I am finding all commas, Interestingly Sublime text not only finds all commas but also creates a cursor at each comma. The rest of the video is cake walk :)

One thought on “This is how I code with sublime text

Leave a Reply