feat(lsp): method, type, and self-receiver rename (0.10)
Add rtkMethod so .Method( call sites rename with the method decl, improve type renames across extend/annotations, and clip self to the enclosing method body. - Len→Length includes self.Len(); Point→Vec2 hits extend + types - self→this stays within one method (textual func bounds) - smoke_lsp_rename_method + test-lsp wiring
This commit is contained in:
@@ -205,6 +205,9 @@ test-lsp: lsp
|
||||
@echo "=== LSP method call hierarchy smoke ==="
|
||||
@chmod +x tools/smoke_lsp_method_hierarchy.sh
|
||||
@tools/smoke_lsp_method_hierarchy.sh
|
||||
@echo "=== LSP method/type/receiver rename smoke ==="
|
||||
@chmod +x tools/smoke_lsp_rename_method.sh
|
||||
@tools/smoke_lsp_rename_method.sh
|
||||
|
||||
.PHONY: test-registry
|
||||
test-registry: build
|
||||
|
||||
Reference in New Issue
Block a user