Step 251: quick-fix actions as RPC mutations (getQuickFixes, applyQuickFix)
Concrete mutation objects for each diagnostic fix. getQuickFixes returns reviewable fixes with categories; applyQuickFix applies the fix and reports whether the diagnostic cleared. Heuristic fixes for missing return and unused variables. 20 MCP tools total. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1435,4 +1435,15 @@ target_link_libraries(step250_test PRIVATE
|
||||
tree_sitter_java tree_sitter_rust tree_sitter_go
|
||||
tree_sitter_org)
|
||||
|
||||
# Step 251: Quick-fix actions as RPC mutations
|
||||
add_executable(step251_test tests/step251_test.cpp)
|
||||
target_include_directories(step251_test PRIVATE src)
|
||||
target_link_libraries(step251_test PRIVATE
|
||||
nlohmann_json::nlohmann_json
|
||||
unofficial::tree-sitter::tree-sitter
|
||||
tree_sitter_python tree_sitter_cpp tree_sitter_elisp
|
||||
tree_sitter_javascript tree_sitter_typescript
|
||||
tree_sitter_java tree_sitter_rust tree_sitter_go
|
||||
tree_sitter_org)
|
||||
|
||||
# Step 12: Dear ImGui shell scaffolding created (main.cpp exists but not built due to dependencies)
|
||||
|
||||
Reference in New Issue
Block a user