GithubHelp home page GithubHelp logo

chucongqing / cdoccomments Goto Github PK

View Code? Open in Web Editor NEW

This project forked from alexermolov/cdoccomments

0.0 1.0 0.0 402 KB

Visual Studio Extention

License: MIT License

TypeScript 95.59% C# 4.41%

cdoccomments's Introduction

XML Documentation Comments Support for Visual Studio Code

Generate documentation comments for Visual Studio Code.

Usage

Type "///", it auto-generates an XML documentation comment like this:

/// <summary>
/// 
/// </summary>

Type "/**" and push Enter, it auto-generates an documentation comment like this:

/** 
 * @brief  
 * @note   
 * @param  baudRate: 
 * @retval None
 */

Configuration

The menu under File > Preferences (Code > Preferences on Mac) provides entries to configure user and workspace settings. You are provided with a list of Default Settings. Copy any setting that you want to change to the related settings.json file.

settings.json

{
	// Press the Enter key to activate a command (Default: false)
	"docomment.activateOnEnter": true,
	// Insert spaces when pressing Tab.
	"editor.insertSpaces": true,
	// The number of spaces a tab is equal to.
	"editor.tabSize": 4
}

Installation

  1. Install Visual Studio Code 1.8.0 or higher
  2. Launch Code
  3. From the extension view Ctrl-Shift-X (Windows, Linux) or Cmd-Shift-X (macOS)
  4. Search and Choose the extension C-family Documentation Comments
  5. Reload Visual Studio Code

Supported Languages

  • C#
  • C++
  • C

Contributors

License

This extension is licensed under the MIT License.

cdoccomments's People

Contributors

alex-ermolov avatar alexermolov avatar dependabot[bot] avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.