ufproperty.blogg.se

Change visual studio shortcuts
Change visual studio shortcuts











change visual studio shortcuts change visual studio shortcuts

You may have noticed that in this and the previous article about Format Document, we have the option of using " Ctrl+K" or " Ctrl+E" to start off the command. Otherwise, we'll end up commenting out an opening or closing tag, and we'll be left with an unbalanced comment. If the delimited comments span multiple lines, then we want to make sure to include the entire delimited comment in the selection. One thing to watch out for is when using the delimited-comment notation ( /* */ ) in our code. This means that if you then uncomment the same block, you will end up with the original code (including the original single-line comments).

change visual studio shortcuts

If a line already has a single-line comment, then the comment notations will be doubled-up. This means that it will work in most situations. As you can see, this uses the single-line comment notation (the //).













Change visual studio shortcuts