[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-8075":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":17,"stars30d":17,"stars90d":16,"forks30d":16,"starsTrendScore":16,"compositeScore":18,"rankGlobal":10,"rankLanguage":10,"license":19,"archived":20,"fork":20,"defaultBranch":21,"hasWiki":22,"hasPages":20,"topics":23,"createdAt":10,"pushedAt":10,"updatedAt":27,"readmeContent":28,"aiSummary":29,"trendingCount":16,"starSnapshotCount":16,"syncStatus":30,"lastSyncTime":31,"discoverSource":32},8075,"solargraph","castwide\u002Fsolargraph","castwide","A Ruby language server.","https:\u002F\u002Fsolargraph.org",null,"Ruby",2007,166,28,139,0,1,28.67,"MIT License",false,"master",true,[24,25,26],"intellisense","language-server","ruby","2026-06-12 02:01:48","# Solargraph\n\n[![RSpec](https:\u002F\u002Fgithub.com\u002Fcastwide\u002Fsolargraph\u002Factions\u002Fworkflows\u002Frspec.yml\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Fcastwide\u002Fsolargraph\u002Factions\u002Fworkflows\u002Frspec.yml)\n\n## A Ruby Language Server\n\nSolargraph provides a comprehensive suite of tools for Ruby programming: intellisense, diagnostics, inline documentation, and type checking.\n\n## Online Demo\n\nA web-based demonstration of Solargraph's autocomplete is available at https:\u002F\u002Fsolargraph.org\u002Fdemo.\n\n## Installation\n\nInstall the gem from the command line:\n\n    gem install solargraph\n\nOr add it to your Gemfile:\n\n    gem 'solargraph', group: :development\n\n## Using Solargraph\n\nPlug-ins and extensions are available for the following editors:\n\n* **Visual Studio Code**\n    * Extension: https:\u002F\u002Fmarketplace.visualstudio.com\u002Fitems?itemName=castwide.solargraph\n    * GitHub: https:\u002F\u002Fgithub.com\u002Fcastwide\u002Fvscode-solargraph\n\n* **Sublime Text**\n    * Extension: https:\u002F\u002Fpackagecontrol.io\u002Fpackages\u002FLSP\n    * GitHub: https:\u002F\u002Fgithub.com\u002Fsublimelsp\u002FLSP\n    * Instructions: https:\u002F\u002Flsp.sublimetext.io\u002Flanguage_servers\u002F#solargraph\n\n* **Vim**\n    * Github: `nvim-lspconfig`, https:\u002F\u002Fgithub.com\u002Fneovim\u002Fnvim-lspconfig\u002Fblob\u002Fmaster\u002Fdoc\u002Fconfigs.md#solargraph\n    * GitHub: `LanguageClient-neovim`, https:\u002F\u002Fgithub.com\u002Fautozimu\u002FLanguageClient-neovim\n    * GitHub: `coc`, https:\u002F\u002Fgithub.com\u002Fneoclide\u002Fcoc-solargraph\n    * GitHub: `Vim-EasyComplete`, https:\u002F\u002Fgithub.com\u002Fjayli\u002Fvim-easycomplete\n\n* **Emacs**\n    * GitHub: `eglot.el`, https:\u002F\u002Fgithub.com\u002Fjoaotavora\u002Feglot\n    * GitHub: `lsp-mode.el`, https:\u002F\u002Fgithub.com\u002Femacs-lsp\u002Flsp-mode\n\n* **Eclipse**\n    * Plugin: https:\u002F\u002Fmarketplace.eclipse.org\u002Fcontent\u002Fruby-solargraph\n    * GitHub: https:\u002F\u002Fgithub.com\u002FPyvesB\u002Feclipse-solargraph\n\n### Configuration\n\nSolargraph's behavior can be controlled via optional [configuration](https:\u002F\u002Fsolargraph.org\u002Fguides\u002Fconfiguration) files. The highest priority file is a `.solargraph.yml` file at the root of the project. If not present, any global configuration at `~\u002F.config\u002Fsolargraph\u002Fconfig.yml` will apply. The path to the global configuration can be overridden with the `SOLARGRAPH_GLOBAL_CONFIG` environment variable.\n\n### Plugins\n\nSolargraph supports [plugins](https:\u002F\u002Fsolargraph.org\u002Fguides\u002Fplugins) that implement their own Solargraph features, such as diagnostics reporters and conventions to provide LSP features and type-checking, e.g. for frameworks which use metaprogramming and\u002For DSLs.\n\nFor better Rails support, please consider using [solargraph-rails](https:\u002F\u002Fgithub.com\u002Fiftheshoefritz\u002Fsolargraph-rails\u002F)\n\nThe RSpec framework is supported via [solargraph-rspec](https:\u002F\u002Fgithub.com\u002Flekemula\u002Fsolargraph-rspec\u002F)\n\n### Gem Support\n\n**Note: Before version 0.53.0, it was recommended to run `yard gems` periodically or automate it with `yard config` to ensure that Solargraph had access to gem documentation. These steps are no longer necessary. Solargraph maintains its own gem documentation cache independent of the yardocs in your gem installations.**\n\nWhen editing code, a `require` call that references a gem will pull the documentation into the code maps and include the gem's API in code completion and intellisense.  Solargraph automatically generates code maps from installed gems, based on the YARD or RBS type information inside the gem.  You can also eagerly cache gem documentation with the `solargraph gems` command.\n\nIf your project automatically requires bundled gem with the `Bundler.require` statement, Solargraph will add all of the Gemfile's default dependencies to the map.\n\nTo ensure you have types for gems which contain neither RBS nor YARD\ninformation, use\n[gem\\_rbs\\_collection](https:\u002F\u002Fgithub.com\u002Fruby\u002Fgem_rbs_collection) to\ninstall a community-supported set of RBS types for various gems:\n\n```sh\nbundle exec rbs collection init\nbundle exec rbs collection install\n```\n\nOnce installed, you can also insert your own local overrides and definitions in RBS in a directory configured in the `rbs_collection.yaml` that the above commands create.\n\n### Type Checking\n\nAs of version 0.33.0, Solargraph includes a [type checker](https:\u002F\u002Fgithub.com\u002Fcastwide\u002Fsolargraph\u002Fissues\u002F192) that uses a combination of YARD tags and code analysis to report missing type definitions. In strict mode, it performs type inference to determine whether the tags match the types it detects from code.  In strong mode it will ask you to clarify your intentions by adding annotations for better validation.\n\n### The Documentation Cache\n\nSolargraph uses a cache directory to store documentation for the Ruby core and gems. The default location is `~\u002F.cache\u002Fsolargraph`, e.g., `\u002Fhome\u002F\u003Cusername>\u002F.cache\u002Fsolargraph` on Linux or `C:\\Users\\\u003Cusername>\\.cache\\solargraph` on Windows.\n\nYou can change the location of the cache directory with the `SOLARGRAPH_CACHE` environment variable.\n\n### Solargraph and Bundler\n\nIf you're using the language server with a project that uses Bundler, the most comprehensive way to use your bundled gems is to bundle Solargraph.\n\nIn the Gemfile:\n\n    gem 'solargraph', group: :development\n\nRun `bundle install` and optionally use `bundle exec solargraph gems` to generate the documentation. This process documents cached or vendored gems, or even gems that are installed from a local path.\n\nIn order to make sure you're using the correct dependencies, you can start the language server with Bundler. In VS Code, there's a `solargraph.useBundler` option. Other clients will vary, but the command you probably want to run is `bundle exec solargraph socket` or `bundle exec solargraph stdio`.\n\n### RuboCop Version\n\nIf you have multiple versions of [`rubocop`](https:\u002F\u002Frubygems.org\u002Fgems\u002Frubocop) installed and you would like to choose a version other than the latest to use, this specific version can be configured.\n\nIn `.solargraph.yml`:\n\n```yaml\n---\nreporters:\n- rubocop:version=0.61.0  # diagnostics\nformatter:\n  rubocop:\n    version: 0.61.0       # formatting\n```\n\n### Integrating Other Editors\n\nThe [language server protocol](https:\u002F\u002Fmicrosoft.github.io\u002Flanguage-server-protocol\u002Fspecification) is the recommended way for integrating Solargraph into editors and IDEs. Clients can connect using either stdio or TCP. Language client developers should refer to [https:\u002F\u002Fsolargraph.org\u002Fguides\u002Flanguage-server](https:\u002F\u002Fsolargraph.org\u002Fguides\u002Flanguage-server).\n\n### More Information\n\nSee [https:\u002F\u002Fsolargraph.org\u002Fguides](https:\u002F\u002Fsolargraph.org\u002Fguides) for more tips and tutorials about Solargraph.\n\n## Contributing to Solargraph\n\n### Bug Reports and Feature Requests\n\n[GitHub Issues](https:\u002F\u002Fgithub.com\u002Fcastwide\u002Fsolargraph\u002Fissues) are the best place to ask questions, report problems, and suggest improvements.\n\n### Development\n\nTo see more logging when typechecking or running specs, set the\n`SOLARGRAPH_LOG` environment variable to `debug` or `info`.  `warn` is\nthe default value.\n\nCode contributions are always appreciated. Feel free to fork the repo and submit pull requests. Check for open issues that could use help. Start new issues to discuss changes that have a major impact on the code or require large time commitments.\n\n### Sponsorship and Donation\n\nUse Patreon to support ongoing development of Solargraph at [https:\u002F\u002Fwww.patreon.com\u002Fcastwide](https:\u002F\u002Fwww.patreon.com\u002Fcastwide).\n\nYou can also make one-time donations via PayPal at [https:\u002F\u002Fwww.paypal.me\u002Fcastwide](https:\u002F\u002Fwww.paypal.me\u002Fcastwide).\n","Solargraph 是一个 Ruby 语言服务器，旨在为 Ruby 开发者提供智能感知、代码诊断、内联文档和类型检查等功能。它支持多种编辑器插件，包括 Visual Studio Code、Sublime Text、Vim、Emacs 和 Eclipse 等，便于开发者在不同环境中使用。Solargraph 的配置灵活，可以通过 `.solargraph.yml` 文件自定义行为，并且支持插件扩展，以实现更丰富的功能，如对 Rails 框架的支持。此外，Solargraph 维护了一个独立于已安装 gem 文档的缓存，确保了开发过程中的高效性和准确性。适用于需要提高 Ruby 项目开发效率的各种场景。",2,"2026-06-11 03:15:55","top_language"]