To answer my own question this was the Intelephense custom config that I
went with and it seems to both keep the default functions working and add
WordPress in there, I pulled it from the VSCode package.json:
{
"intelephense": {
"stubs": [
"apache",
"bcmath",
"bz2",
"calendar",
"com_dotnet",
"Core",
"ctype",
"curl",
"date",
"dba",
"dom",
"enchant",
"exif",
"fileinfo",
"filter",
"fpm",
"ftp",
"gd",
"hash",
"iconv",
"imap",
"interbase",
"intl",
"json",
"ldap",
"libxml",
"mbstring",
"mcrypt",
"meta",
"mssql",
"mysqli",
"oci8",
"odbc",
"openssl",
"pcntl",
"pcre",
"PDO",
"pdo_ibm",
"pdo_mysql",
"pdo_pgsql",
"pdo_sqlite",
"pgsql",
"Phar",
"posix",
"pspell",
"readline",
"recode",
"Reflection",
"regex",
"session",
"shmop",
"SimpleXML",
"snmp",
"soap",
"sockets",
"sodium",
"SPL",
"sqlite3",
"standard",
"superglobals",
"sybase",
"sysvmsg",
"sysvsem",
"sysvshm",
"tidy",
"tokenizer",
"wddx",
"wordpress",
"xml",
"xmlreader",
"xmlrpc",
"xmlwriter",
"Zend OPcache",
"zip",
"zlib"
]
}
}
On Sunday, January 14, 2024 at 10:09:53 PM UTC-5 Zackery Fretty wrote:
> I'm hoping to enable WordPress support in Intelephense but it seems to do
> so I need to add WordPress to the "Stubs".
>
> I see this question has been asked here before, but I don't see a real
> resolution:
>
> https://groups.google.com/g/bbedit/c/uxrwMeWokuU/m/UrUz46vDBAAJ
>
> Has anybody figured out a way to do this?
>
--
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/59531acf-4b2b-4d59-a5eb-12e02f443066n%40googlegroups.com.