awesome-repositories.com
博客
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
microsoft avatar

microsoft/vscode-extension-samples

0
View on GitHub↗
10,099 星标·3,889 分支·TypeScript·MIT·5 次浏览

Vscode Extension Samples

This repository contains a collection of code examples that demonstrate how to build extensions for Visual Studio Code using its extension API. The samples cover the core patterns for extending the editor, including implementing code actions, completions, snippets, and semantic token highlighting.

The examples show how to integrate a language server to provide diagnostics, completions, and hover information, as well as how to register a source control provider with file status and commit operations. Custom task types that run shell commands or scripts are also demonstrated, along with virtual file system mounting that allows the editor to browse and edit files from external sources.

The samples extend into user interface customization, covering custom editors and webview panels, notebook output renderers, tree views, status bar items, terminal creation, editor decorations, and color theme definitions. Language-specific editor behaviors such as bracket matching and comment toggling are also included.

Features

  • Extension API Samples - Contains code examples demonstrating how to use the Visual Studio Code extension API for building editor extensions.
  • Code Action Providers - Offers quick-fix or refactoring actions for diagnostics or selected code in the editor.
  • Code Completion - Suggests code completions at the cursor position, including snippets, based on the current context.
  • Source Control Provider Registrations - Demonstrates registering a source control provider with file status, staging, and commit operations.
  • Editor Extension Patterns - Provides sample code for implementing code actions, completions, snippets, and semantic token highlighting.
  • Language Server Integrations - Provides language features like diagnostics, completions, and hover info by communicating with a language server.
  • Language Server Protocols - Demonstrates connecting a language server to provide diagnostics, completions, and hover information.
  • Language Server Protocol Examples - Provides examples showing how to connect a language server to provide diagnostics, completions, and hover information.
  • Version Control Integrations - Integrates a version control system into VS Code with file status, staging, and commit operations.
  • VS Code Extensions - Contains examples for building custom extensions for Visual Studio Code to add new features and commands.
  • Custom Editor Panels - Provides examples for creating custom editors and webview panels with tailored interactive interfaces.
  • Editor - Shows how to mount a virtual file system so the editor can browse and edit files from any source.
  • Language-Specific Configurations - Defines bracket matching, comment toggling, and other language-specific editor behaviors.
  • Notebook Rendering Utilities - Shows how to render rich output like charts or HTML inside notebook cells using custom renderers.
  • Source Control Integration Samples - Demonstrates how to register a source control provider with file status and commit operations.
  • Editor Task Providers - Provides sample code for registering custom task types that run shell commands or scripts.
  • Task Provider Examples - Provides sample implementations for registering custom task types that run shell commands or scripts.
  • Editor - Demonstrates registering custom task types and managing integrated terminals for automated workflows.
  • Integrated Editor Terminals - Create and manage an integrated terminal instance within the editor workspace.
  • Custom Color Theme Definitions - Define a set of colors that change the overall appearance of the editor and its user interface.
  • Snippet Insertions - Inserts predefined code templates triggered by a prefix in the editor.
  • Status Bar Customizers - Display a custom icon or text in the status bar to show extension state or trigger actions.
  • Semantic Highlighters - Colors code tokens based on their semantic meaning, such as types, functions, or variables.
  • Editor Text Decorators - Apply colored highlights, underlines, or icons to specific text ranges in the editor.
  • Tree Views - Show a hierarchical data tree in the sidebar using a data provider and a view container.

Star 历史

microsoft/vscode-extension-samples 的 Star 历史图表microsoft/vscode-extension-samples 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

Vscode Extension Samples 的开源替代方案

相似的开源项目,按与 Vscode Extension Samples 的功能重合度排序。
  • sinelaw/freshsinelaw 的头像

    sinelaw/fresh

    5,914在 GitHub 上查看↗

    Zed is a terminal-based code editor built in Rust that provides a full-featured editing experience with familiar keybindings, mouse support, and multiple cursors. It runs entirely in the terminal while offering capabilities typically found in graphical editors, including split panes, a command palette, and integrated language server protocol support for real-time diagnostics, completions, go-to-definition, and code actions across multiple languages. The editor distinguishes itself through a plugin system that runs sandboxed TypeScript plugins in a QuickJS runtime, with an asynchronous bridge

    Rustideterminal-basedtext-editor
    在 GitHub 上查看↗5,914
  • microsoft/vscode-tips-and-tricksmicrosoft 的头像

    microsoft/vscode-tips-and-tricks

    9,086在 GitHub 上查看↗

    This project is a comprehensive productivity guide and configuration reference for the VS Code editor. It provides a curated collection of shortcuts, configuration tips, and tutorials designed to improve efficiency and optimize the daily coding workflow. The resource covers advanced AI-assisted development, including the integration of autonomous agents, custom prompt files, and AI-powered coding assistants for task automation and code generation. It also provides specialized guidance on integrated terminal management, such as configuring shell profiles and automating command execution. Addi

    在 GitHub 上查看↗9,086
  • emacs-lsp/lsp-modeemacs-lsp 的头像

    emacs-lsp/lsp-mode

    5,060在 GitHub 上查看↗

    lsp-mode is a Language Server Protocol client and IDE feature set for Emacs. It functions as a semantic code analysis tool and JSON-RPC communication layer that connects the editor to external language servers to provide intelligent code completion and real-time diagnostics. The project also serves as a Debug Adapter Protocol client, enabling interactive debugging sessions and breakpoint management. This allows for stepping through code and inspecting variables via a standardized protocol, including support for debugging within Docker containers. The system covers a broad range of developmen

    Emacs Lispangularcppdart
    在 GitHub 上查看↗5,060
  • lapce/lapcelapce 的头像

    lapce/lapce

    38,569在 GitHub 上查看↗

    Lapce is a high-performance text editor built with Rust that utilizes hardware acceleration for fast rendering and responsiveness. It functions as a modal text editor with Vim-style keybindings to minimize hand movement, an LSP client for language intelligence, and a remote development environment for editing files and executing code on distant servers. The editor features an extensible architecture based on the WebAssembly System Interface, allowing it to execute plugins compiled to WASI for cross-language functionality. It further distinguishes itself by implementing the Debug Adapter Proto

    Rustcode-editordeveloper-toolsrust
    在 GitHub 上查看↗38,569
查看 Vscode Extension Samples 的所有 30 个替代方案→

常见问题解答

microsoft/vscode-extension-samples 是做什么的?

This repository contains a collection of code examples that demonstrate how to build extensions for Visual Studio Code using its extension API. The samples cover the core patterns for extending the editor, including implementing code actions, completions, snippets, and semantic token highlighting.

microsoft/vscode-extension-samples 的主要功能有哪些?

microsoft/vscode-extension-samples 的主要功能包括:Extension API Samples, Code Action Providers, Code Completion, Source Control Provider Registrations, Editor Extension Patterns, Language Server Integrations, Language Server Protocols, Language Server Protocol Examples。

microsoft/vscode-extension-samples 有哪些开源替代品?

microsoft/vscode-extension-samples 的开源替代品包括: sinelaw/fresh — Zed is a terminal-based code editor built in Rust that provides a full-featured editing experience with familiar… microsoft/vscode-tips-and-tricks — This project is a comprehensive productivity guide and configuration reference for the VS Code editor. It provides a… emacs-lsp/lsp-mode — lsp-mode is a Language Server Protocol client and IDE feature set for Emacs. It functions as a semantic code analysis… lapce/lapce — Lapce is a high-performance text editor built with Rust that utilizes hardware acceleration for fast rendering and… golang/vscode-go — This project is a language extension for VS Code that provides comprehensive Go language support. It functions as a… facebook/pyrefly — Pyrefly is a static type checker for Python that operates as a language server, delivering real-time diagnostics,…