On 25 Aug 2021, at 11:18, Johan Sölve wrote:
> Language Server Protocol Support in BBEdit 14 is is a huge
> improvement!
> Intelephense have support for Wordpress function definitions by
> "adding
> wordpress to the intelephense.stubs array". Can this be done for
> BBEdit for
> example by adding something to Support/BBEdit/Language
> Servers/Configuration/intelephense/ ?
I suspect you would add a custom workspace configuration. See
<
https://www.barebones.com/support/bbedit/lsp-notes.html#advanced>.
I'm only guessing, but I suspect that the JSON would look something
like:
{
"initializationOptions":
{
// stuff goes here
}
"workspaceConfigurations":
{
"*":
{
"intelephense":
{
"stubs":
[...array of stubs, or whatever it is that intelephense expects...]
}
}
}
}
> Btw I added licence.txt to that folder and it seems to work as far as
> I can
> tell (not sure how to verify that the licence is activated though)
Intelephense enables certain features based on the presence of an active
license; their documentation gives a list, I think.
R.
--
Rich Siegel Bare Bones Software, Inc.
<
sie...@barebones.com> <
https://www.barebones.com/>
Someday I'll look back on all this and laugh... until they sedate me.