Kind of like pre-defined clipboard entries that I could map to custom keystrokes. ![]() So I had to sift through dozens to find those that allowed me to insert text when I pressed a keyboard shortcut. There are HUNDREDS of such apps out there, but I found that they each tend to focus on a particular feature set, and many of them didn't do exactly what I wanted. I wanted something that could automatically type out the comment line and insert the current date. So I finally got sick of typing it and looked into apps that provide shortcut keys to insert text values. Sure, it isn't terribly difficult to type:īut after you've typed it thousands of times over a few years, it becomes obvious that there isn't much value in typing it all out. Since I usually add a comment with nearly every change I make, I am often adding dozens of comment lines throughout my code. I like to use a format of the date, then my name, then the comment. ![]() One simple example would be my code comments. And there are many simple things that you have to type repeatedly, or that need variable values, that just aren't well supported by Visual Studio automation or intellisense.įrom what I've read, macros were removed from Visual Studio, so I was unable to find any native features that could help me easily automate simple text statements. There are some tools in Visual Studio that can help save time, like code snippets that I have discussed previously, but code snippets are a bit of a hassle to define. Things like variable declarations, method stubs, and properties are often 95% the same, except for a variable / property / method name. ![]() Writing code in Visual Studio often involves a lot of repetitive typing.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |