Related:
lsegal/yard#1187 (comment)
It appear that with VSCode and Solargraph the stubs are not always available. It appear that YRI doesn't always trigger upon installing the gem.
Is this related to Bundler? Does it skip documentation generation?
Workaround is currently to run yard gems sketchup-api-stubs.
Maybe the gem should have a hook to automatically run YRI regardless of --documentation flag.