Project unification - #26
Open
d8vjork wants to merge 6 commits into
Open
Conversation
Brings the namespace intelligence from vscode-php-support-utils into the language server so VSCode, Zed and Neovim share one implementation. - tuskPhpLsp.createObject turns (dirUri, kind, name) into a namespace-aware WorkspaceEdit that creates a class/trait/interface/enum file with a PSR-4 derived namespace skeleton. - tuskPhpLsp.copyReference resolves the symbol under the cursor and returns labeled reference strings: FQN, short name, Class::method(), and the full Class::method(Type $param): ReturnType signature. Factors a shared formatParams helper out of GetSignatureHelp so signature help and copy-reference render parameter lists identically. - Exposes copyReference (alongside the existing copyNamespace/moveToNamespace) as refactor/source code actions for editors without custom command palettes. Both commands are advertised in the executeCommand capability and covered by new tests.
Documents tuskPhpLsp.createObject, tuskPhpLsp.copyReference, and the new copy/move-namespace code actions under [Unreleased].
Port the standalone tusk-mcp binary into the main tusk-php binary as a mcp subcommand with dump sub-subcommand support. Build stubs for wasm target (MCP is native-only). Remove the separate tusk-mcp binary.
tusk-mcp is now a subcommand of tusk-php, so only one binary needs to be built per platform. Clean up the build loop accordingly.
Update README and CHANGELOG to reflect that MCP server is now a subcommand built into tusk-php rather than a separate binary.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.