mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 21:57:43 +00:00
HackStudio: Basic C++ autocomplete logic
CppAutoComplete gets a string of code and a position within it, and returns a Vector of auto-complete suggestions that are relevant for the given position. Currently, it's very naive - it uses our CppLexer to find identifiers in the code which the auto-complete target is a prefix of.
This commit is contained in:
parent
253ab7536a
commit
42bdcf1828
3 changed files with 139 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
|||
set(SOURCES
|
||||
CodeDocument.cpp
|
||||
CppAutoComplete.cpp
|
||||
CursorTool.cpp
|
||||
Debugger/BacktraceModel.cpp
|
||||
Debugger/DebugInfoWidget.cpp
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue