Jean-FrancoisHIVERT Hi, These builtin PHP items are missing: constant SIGINT constant SIGTERM functions pcntl_async_signals, pcntl_signal functions ssh2_connect, ssh2_auth_password, ssh2_auth_agent, ssh2_scp_send, ssh2_scp_recv, ssh2_disconnect All ssh2_* functions Thank you for the fix.
JakubMisek Jean-FrancoisHIVERT thank you for the issue; ssh2 seems to be a non-standard extension, so you might need to add it to "php.stubs" setting: The same with pcntl. I'd like to ask - do you think it is a good approach? we'd like to make the code completion list smaller by showing only standard functions/constants by default. we'd like to avoid confusion about missing some frequently used functions ...
Jean-FrancoisHIVERT @JakubMisek Hi, you are right about ssh2, we need to install it with PECL. About PCNTL, it is not the same method, https://www.php.net/manual/en/pcntl.installation.php So I think you must implement PCNTL support but not SSH2 support.
JakubMisek Jean-FrancoisHIVERT thanks! so pcntl is a part of standard Unix/mac installations, right? In this case, we'd include it in IntelliSense on Unix platforms by default.
Jean-FrancoisHIVERT It is strange, now I don't have these errors anymore, (without php.stubs settings). Please ignore this ticket, it is strange, I don't know why I got these errors, sorry for the noise.
JakubMisek Jean-FrancoisHIVERT thanks for the update; at least we'll check if the editor isn't reporting Unknown Functions incorrectly.