Order: 3 Area: tools TOCTitle: Samples ContentId: B32601A8-27ED-4D97-BA83-F1C8C945C635 PageTitle: Visual Studio Code Extension Samples DateApproved: 4/14/2016 MetaDescription: Learn from existing extension samples.
VS Code Extension Samples
VS Code 扩展范例
This is a list to make it easy to see where all the samples are...
这里是一个便于查看所有范例的列表。
We have two walkthroughs that cover many of the core concepts - start with these:
我们从覆盖了许多核心概念的两个演练开始:
Sample Extensions
扩展范例
Sample |
Description |
Type |
In Marketplace |
Word Count |
Adds a word count to the status bar for Markdown files that updates on editing events. We have a walkthrough on how this was created. |
Extension |
Y |
MDTools |
Work with selections and update based on common text processing e.g. ToUpper, HTMLEncode, ... |
Extension |
Y |
Decorator |
Shows how to decorate editor text with a border, colors, and a custom cursor as well as add an overview ruler highlight. |
Extension |
N |
TextDocumentProvider |
Shows how to create virtual documents and preview them. |
Extension |
N |
TSLint |
Lint your TypeScript files based on TSLint |
Language Server |
Y |
Spelling and Grammar Checker |
Configurable Markdown spelling and grammar checker. Calls an external web service for checking and supports activation, add to dictionary, error mapping. Watches for config file changes in real time. |
Extension |
Y |
Mock Debugger |
Helps you build and test a debugger. |
Debuggers |
Y |
Go Language Support |
Rich language support for Go Lang - IntelliSense, Debug, Peek, Rename, Syntax, ... |
Extension |
Y |
帮助你创建扩展的工具
Tool |
Purpose |
Extension Generator |
To help you getting started implementing an extension, we have a Yeoman generator. This creates all the initial settings you need for the development environment to work well and includes the API Typing files and any relevant modules. You can find the generator source here. |
Debugging Extensions |
We have worked hard to provide an easy way to develop, debug and locally test your extensions. |
Publishing Tool |
Once you have a working extension, it's time to share it in the extension Marketplace. We have a simple command line tool for this. You can find the source code here. |
Runtime samples
运行时范例
Next Steps
接下来的步骤
Common Questions
常见问题
Nothing yet
现在还没有