This enables requests like workspaceSymbols to be dispatched using the
file user was most recently operating on. A replacement for D103179.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Thanks, and sorry for the long journey to get here :-)
clang-tools-extra/clangd/TUScheduler.cpp | ||
---|---|---|
1542 | this works, but for some reason my brain finds this both cuter and easier to parse if (Path.empty()) Path = LastActiveFile; else LastActiveFile = Path.str(); // and capture Path as before |
this works, but for some reason my brain finds this both cuter and easier to parse