We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If you install this gem via gem 'openai', github: 'openai/openai-ruby', the solargraph auto-completion will not work by default.
gem 'openai', github: 'openai/openai-ruby'
To work around this, please set up a .solargraph.yml that include the path to the library files.
.solargraph.yml
For example if you have vendored your gems via bundle config set --local path vendor/bundle, the config should look like:
bundle config set --local path vendor/bundle
--- 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
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.
The text was updated successfully, but these errors were encountered:
ms-jpq
No branches or pull requests
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.yml
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: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
The text was updated successfully, but these errors were encountered: