I did some more testing and looked at the logs. It seems completion 
suggestions work, but linting doesn't (but it does in SublimeText). It 
looks like Solargraph doesn't report any "codeActionProvider" capabilities 
when launched from BBEdit:

2024-02-06 20:33:20.305: server startup response: {
    capabilities =     {
        completionProvider =         {
            resolveProvider = 1;
            triggerCharacters =             (
                ".",
                ":",
                "@"
            );
        };
        definitionProvider = 1;
        documentHighlightProvider = 1;
        documentSymbolProvider = 1;
        foldingRangeProvider = 1;
        hoverProvider = 1;
        referencesProvider = 1;
        renameProvider =         {
            prepareProvider = 1;
        };
        signatureHelpProvider =         {
            triggerCharacters =             (
                "(",
                ","
            );
        };
        textDocumentSync = 2;
        workspace =         {
            workspaceFolders =             {
                changeNotifications = 1;
                supported = 1;
            };
        };
        workspaceSymbolProvider = 1;
    };
}
2024-02-06 20:33:20.305: ...completed server startup.

This is the configuration that SublimeText uses:

"clients": {
    "ruby": {
            "enabled": true,
            "command": ["solargraph", "stdio"],
            "selector": "source.ruby | text.html.ruby",
            "initializationOptions": {
                "diagnostics": true
            }
        }
  },

it has this "diagnostics: true" option and that does exactly what I want, 
but I don't know how that is sent to Solargraph or what the equivalent in 
BBEdit would be
On Tuesday 6 February 2024 at 19:58:48 UTC+1 Rich Siegel wrote:

> On 6 Feb 2024, at 13:56, Esther Weidauer wrote:
>
> > Hi,
> >
> >> What specific version of BBEdit are you currently running?
> >
> > I'm running 15.0.1 now but that didn't fix the issue. I also tried the
> > latest 14.x version and it seems broken there too so I don't actually 
> know
> > what broke it.
>
> Could be some environmental thing, assuming you've been using the same 
> Solargraph version all along.
>
> > I tried getting verbose logs but I don't know where I can see those. Does
> > BBEdit show those somewhere?
>
> The "Logs" command on the Folders submenu of the BBEdit application menu 
> will open the appropriate Finder window. The LSP logs can be found in there.
>
> R.
>
> -- 
> Rich Siegel Bare Bones Software, Inc.
> <[email protected]> <https://www.barebones.com/>
>
> Someday I'll look back on all this and laugh... until they sedate me.
>

-- 
This is the BBEdit Talk public discussion group. If you have a feature request 
or need technical support, please email "[email protected]" rather than 
posting here. Follow @bbedit on Twitter: <https://twitter.com/bbedit>
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/c60eda65-3795-4662-814c-9a40e6c01775n%40googlegroups.com.

Reply via email to