百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
S

solargraph

> 编程语言
开源

一个 Ruby 语言服务器。

2.0K stars0 点赞4 次浏览
访问官网GitHub

工具介绍

一个 Ruby 语言服务器。

Solargraph

Ruby 语言服务器

Solargraph 提供了一套全面的 Ruby 编程工具:智能提示、诊断、内联文档和类型检查。

在线演示

Solargraph 自动完成功能的基于 Web 的演示可在 https://solargraph.org/demo. 中查看。

安装

从命令行安装 gem: gem install solargraph 或者将其添加到您的 Gemfile 中: gem 'solargraph', 组: :development

使用 Solargraph

以下编辑器提供了插件和扩展:

  • Visual Studio Code

  • 扩展名: https://marketplace.visualstudio.com/items?itemName=castwide.solargraph

  • GitHub: https://github.com/castwide/vscode-solargraph

  • Sublime Text

  • 扩展名: https://packagecontrol.io/packages/LSP

  • GitHub: https://github.com/sublimelsp/LSP

  • 指示: https://lsp.sublimetext.io/language_servers/#solargraph

  • Vim

  • GitHub: nvim-lspconfig, https://github.com/neovim/nvim-lspconfig/blob/master/doc/configs.md#solargraph

  • GitHub: LanguageClient-neovim, https://github.com/autozimu/LanguageClient-neovim

  • GitHub: coc, https://github.com/neoclide/coc-solargraph

  • GitHub: Vim-EasyComplete, https://github.com/jayli/vim-easycomplete

  • Emacs

  • GitHub: eglot.el, https://github.com/joaotavora/eglot

  • GitHub: lsp-mode.el, https://github.com/emacs-lsp/lsp-mode

  • Eclipse

  • 插件: https://marketplace.eclipse.org/content/ruby-solargraph

  • GitHub: https://github.com/PyvesB/eclipse-solargraph

配置

Solargraph 的行为可以通过可选的 配置文件 来控制。优先级最高的文件是位于项目根目录的 .solargraph.yml 文件。如果不存在该文件,则会应用位于 ~/.config/solargraph/config.yml 的全局配置。全局配置的路径可以通过 SOLARGRAPH_GLOBAL_CONFIG 环境变量来覆盖。

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Rubyintellisenselanguage-serverruby

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言