# Editor Support Help - Mega thread to receive support for editor support related questions. # Git(hub) installs If you install this gem via `gem 'openai', github: 'openai/openai-ruby'`, the [solargraph](https://solargraph.org/guides) auto-completion will not work by default. To work around this, please set up a [`.solargraph.yml`](https://solargraph.org/guides/configuration) that include the path to the library files. For example if you have vendored your gems via `bundle config set --local path vendor/bundle`, the config should look like: ```yaml --- max_files: 0 exclude: [] include: - "vendor/bundle/ruby/*/bundler/gems/openai-ruby-*/lib/**/*.rb" - '*.rb' ``` If set up correctly, your edit might show something similar to the example below https://github.com/user-attachments/assets/8df35828-0282-41f3-95d0-3a8c466a9bff # In Editor Navigation For goto definition support, [Shopify LSP](https://shopify.github.io/ruby-lsp/vscode-extension.html) works quite well when you click on ruby constants. For non-constants, i.e. method calls, the language services makes a best guess with matching symbols. https://github.com/user-attachments/assets/dc465bc8-e919-4e6e-908c-d3130535eb1d
Editor Support Help
Git(hub) installs
If you install this gem via
gem 'openai', github: 'openai/openai-ruby', the solargraph auto-completion will not work by default.To work around this, please set up a
.solargraph.ymlthat include the path to the library files.For example if you have vendored your gems via
bundle config set --local path vendor/bundle, the config should look like:If set up correctly, your edit might show something similar to the example below
auto-completion.mov
In Editor Navigation
For goto definition support, Shopify LSP works quite well when you click on ruby constants.
For non-constants, i.e. method calls, the language services makes a best guess with matching symbols.
click-on-constants.mov