Phase 3c complete: syntax highlighting and configurable keybindings (Steps 52, 54)
Step 52: SyntaxHighlighter walks tree-sitter CST to produce colored token spans (keyword, string, comment, number, function, parameter, type, operator, etc.) for Python, C++, and Elisp. Step 54: KeybindingManager with swappable profiles — VSCode (default), JetBrains, and Emacs. Each profile maps 25+ actions (file, edit, search, nav, view, code, build) to key combos. Supports custom overrides and reverse lookup. Design direction: editor targets VSCode/JetBrains look-and-feel. Keybinding profile selectable at startup. VSCode is default. Phase 3c totals: 37/37 tests pass across 5 steps (50-54). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -242,10 +242,17 @@ add_executable(step51_test tests/step51_test.cpp)
|
||||
target_include_directories(step51_test PRIVATE src)
|
||||
target_link_libraries(step51_test PRIVATE unofficial::tree-sitter::tree-sitter tree_sitter_python tree_sitter_cpp tree_sitter_elisp)
|
||||
|
||||
add_executable(step52_test tests/step52_test.cpp)
|
||||
target_include_directories(step52_test PRIVATE src)
|
||||
target_link_libraries(step52_test PRIVATE unofficial::tree-sitter::tree-sitter tree_sitter_python tree_sitter_cpp tree_sitter_elisp)
|
||||
|
||||
add_executable(step53_test tests/step53_test.cpp)
|
||||
target_include_directories(step53_test PRIVATE src)
|
||||
target_link_libraries(step53_test PRIVATE unofficial::tree-sitter::tree-sitter tree_sitter_python tree_sitter_cpp tree_sitter_elisp)
|
||||
|
||||
add_executable(step54_test tests/step54_test.cpp)
|
||||
target_include_directories(step54_test PRIVATE src)
|
||||
|
||||
add_executable(step56_test tests/step56_test.cpp)
|
||||
target_include_directories(step56_test PRIVATE src)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user