Hi Edzard,

As far as I know, the green dot in the language preferences means that 
BBEdit found an executable file with the name/path given in the "Command:" 
field of the Server pane. 
(As documented in 
https://www.barebones.com/support/bbedit/lsp-notes.html#placement).

That doesn't imply the give executable is functional or even suitable.

Concerning the CSS LSP,  the vscode-css-languageserver-bin package creates 
a symlink named "css-languageserver" and BBEdit uses that as a default.

For whatever reason this symlink appears to use a relative path to the 
linked file and doesn't work.

    % ls -al `which css-languageserver`                
    lrwxr-xr-x  1 jj  admin  66 Aug 18 21:17 
/usr/local/bin/css-languageserver -> 
../lib/node_modules/vscode-css-languageserver-bin/cssServerMain.js

Try recreating this symlink with an absolute path (.

    % rm -i /usr/local/bin/css-languageserver
    % ln -fs 
<path_to_your_installed_node_modules>/vscode-css-languageserver-bin/cssServerMain.js
 
/usr/local/bin/css-languageserver
    
HTH

Jean Jourdain

On Friday, August 27, 2021 at 2:43:53 PM UTC+2 [email protected] wrote:

> Greetings,
>
> HTML LSP works fine. CSS does not seem to work. Never see the green dot. 
> See brew config below.
>
> % npm list -g --depth=0
>
> /usr/local/lib
>
> ├── [email protected]
>
> ├── [email protected]
>
> ├── [email protected]
>
> └── [email protected]
> Anny suggestions?
>
> Edz..
>
> On Tuesday, 17 August 2021 at 02:20:03 UTC-3 Jan Erik Moström wrote:
>
>> On 16 Aug 2021, at 16:19, Rich Siegel wrote: 
>>
>> > However, I recommend that you install clangd newer than the one 
>> > bundled with Xcode. clangd 12.0.1 (as installed by "brew install llvm" 
>> > and then symlinked into BBEdit's "Language Servers" support folder) 
>> > doesn't seem to have any trouble finding the standard headers. 
>>
>> Thanks, I'll do this. 
>>
>> = jem 
>>
>

-- 
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/e6beab5a-3042-4168-a1e7-8e751c06579cn%40googlegroups.com.

Reply via email to