语言服务器配置

原名:lsp-setup

为开发环境安装和配置 LSP,提供跳转、引用、悬停和类型信息。

中文 Skills 技能说明

适合编辑器缺少代码智能或新语言项目初始化。先确认操作系统、语言版本和现有编辑器配置,下载服务端前核验官方来源和许可证;全局安装、代理与 PATH 修改要由用户确认。

上游能力依据

上游原始适用说明:Enable code intelligence (go-to-definition, find-references, hover, type info) for any programming language by installing and configuring an LSP server for Copilot CLI. Detects the OS, installs the right server, and generates the JSON configuration (user-level or repo-level). Use when you need deeper code understanding and no LSP server is configured, or when the user asks to set up, install, or configure an LSP server.

上游 SKILL.md 主要章节(保留原文标题):

使用边界

先核对运行环境、账号、区域、依赖和最小权限。创建资源、改配置、发布服务或产生费用前必须让使用者确认。

作者、翻译与许可证

原作者
GitHub, Inc. 与 awesome-copilot contributors
中文翻译
CEOFans翻译
许可证
MIT
上游来源
https://github.com/github/awesome-copilot/tree/782200e3a4f7c17248974ac4a63284c868bc290f/skills/lsp-setup

适用范围

平台:linux、macos、windows;标签:开发运维、语言服务器配置

安全提示

基础静态扫描不等于绝对安全。技能可能调用命令、浏览器、云服务或本地文件,请在最小权限环境中使用,高风险操作必须人工确认。

如发现侵权、许可证或安全问题,可在本页前台提交投诉,管理员复核后可立即下架。