After updating Nova to the latest version (currently version 9.1 Build 383286) it seems Nova no longer sends updated configurations to language servers. I noticed this because a key part of the features in the Intelephense language server extension I maintain relies on you being able to update LSP configurations, specifically being able to add stubs to support development for projects like WordPress.
It seems this is a regression introduced in v9, based on testing Nova v9 and v8.4.
- Use the following code as a test file:
<?php add_filter( 'test_filter', 'foo' ); intval( '1' );
- Install the Intelephense extension from the extension library. Make sure to use the one from me, not the one from GeneaLabs, since I don’t think they’ve added any LSP configuration options. If they have I suspect you’ll run into the same problem.
- In the Intelephense extension preferences (either in the project menu or extensions menu) add a line to the
stubslist with a value of
- Open the
test.phpfile that has the code above.
- You may need to run the “Restart Intelephense” action in Extensions > Intelephense > Restart Intelephense to trigger the language server in the test file.
In Nova 8.4
You’ll see that the language server knows about both
In Nova 9.1 / Nova 9
You’ll see that the language server only knows about
intval() and not
I hope this regression is simple to fix since it unfortunately breaks support for something essential to the projects I work on
Let me know if there’s anything else I can do to help!