-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Description
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 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:
---
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
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
friendlyantz
Metadata
Metadata
Assignees
Labels
No labels