{"repo":"castwide/vscode-solargraph","free":true,"listed":false,"github":"https://github.com/castwide/vscode-solargraph","clone":"git clone https://github.com/castwide/vscode-solargraph.git","description":"A Visual Studio Code extension for Solargraph.","language":"TypeScript","stars":436,"topics":["ruby","language-server","intellisense","vscode","solargraph"],"license":null,"category":"dev-tools","readme_excerpt":"VS Code Solargraph Extension Solargraph is a language server that provides intellisense, code completion, and inline documentation for Ruby. Features Context-aware suggestions and documentation for the Ruby core Detection of some variable types and method return values (e.g., String.new. returns String instance methods) Identification of local, class, and instance variables within the current scope Find references and rename symbols (experimental as of solargraph gem v0.22.0) Support for gems Near-complete support for the Ruby core and stdlib Partial support for Ruby on Rails Requirements You need to install the Ruby gem: gem install solargraph Usage Code Completion Open a Ruby file and start typing. Solargraph should start providing contextual code suggestions. To start a search manually, hit ctrl-space. Example: Stri # Note: solargraph.bundlerPath should be an absolute path to bundler executable. Diagnostics (Linting) To enable diagnostics, set the solargraph.diagnostics configuration to true . Solargraph uses RuboCop for diagnostics by default. If your project has a .solargraph.yml file, you can configure the diagnostics in its reporters section. Example: reporters: - rubocop See the configuration guide for more information about the .solargraph.yml file. Use a .rubocop.yml file in your project's root folder to customize the linting rules. Restarting Solargraph Some changes you make to a project, such as updating the Gemfile, might require you to restart the Solargraph ser","default_branch":null,"files":null,"tree":[],"storefront":"/r/castwide","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/castwide/vscode-solargraph/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}