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.
  • 相关阅读:
    JavaScript自定义事件
    用Java构建一个简单的WebSocket聊天室
    PHP实现支付宝小程序用户授权的工具类
    jq ajax超时设置
    gulp使用笔记
    vue学习—组件的定义注册
    echarts设置线条粗细
    求js数组的最大值和最小值
    js删除数组中的 "NaN"
    jq方法(end)
  • 原文地址:https://www.cnblogs.com/taoxu0903/p/1670524.html
Copyright © 2011-2022 走看看