zoukankan      html  css  js  c++  java
  • [Tip: C# in VS]Some quick tips for working on C# in VS

    1. Place your cursor, by a single click, immediately after the closing curly brace of the
    Main method. This highlights the beginning and closing braces.
    2. Press Ctrl+Enter. This inserts a new line between the curly braces, moves the cursor to

    that line, and indents the cursor. Think about the number of keystrokes this saved you.

    3. How to make use of snippet (take cw for console.write for example)

      1. Type c. This opens the IntelliSense window to the first command that starts with c.
      2. Type w. This traverses the IntelliSense list and brings you straight to the entry for cw. You can use IntelliSense to rip out code quicker than typing an entire keyword,
      which saves even more keystrokes. Also, observe that there is a torn-paper icon associated with cw, meaning that this is a snippet.
      3. Press Tab. This selects the snippet.
      4. Press Tab again. This executes the snippet, giving you a form to fill out. With each snippet, you must always press Tab twice. The first completes the snippet selection,
      and the second either gives you a form to fill out for changeable items or just places the cursor where you need to type. In this case, the second tab placed the cursor where you   need to type.
      5. Type "Simple VS2008 Program", including the quotes.
  • 相关阅读:
    SLAB
    /proc/vmstat 详解
    swap空间可以有效缓解内存压力
    内存问题排查手段及相关文件介绍
    buddyinfo 内存碎片数据采集
    取得Linux系统的各种统计信息
    HTML的常用总结
    采用jquery同django实现ajax通信
    Django的quarySet
    Django-MySQL数据库使用01
  • 原文地址:https://www.cnblogs.com/taoxu0903/p/1670524.html
Copyright © 2011-2022 走看看