mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-08-18 06:12:46 -06:00
Developing indexer
This commit is contained in:
parent
b16713e74c
commit
78dc90e9c2
34 changed files with 1059 additions and 219 deletions
|
|
@ -5,11 +5,12 @@
|
|||
void AssistEditor::SyncHeaders()
|
||||
{
|
||||
// hdepend.CacheTime();
|
||||
TIMESTOP("SyncHeaders");
|
||||
hdepend.TimeDirty();
|
||||
hdepend.SetDirs(theide->GetCurrentIncludePath() + ";" + GetClangInternalIncludes());
|
||||
master_source.Clear();
|
||||
String editfile = NormalizePath(theide->editfile);
|
||||
if(editfile.GetCount() && !IsSourceFile(editfile)) {
|
||||
if(editfile.GetCount() && IsCHeaderFile(editfile)) {
|
||||
for(int pass = 0; pass < 2; pass++) { // all packages in second pass
|
||||
const Workspace& wspc = GetIdeWorkspace();
|
||||
for(int i = 0; i < wspc.GetCount(); i++) { // find package of included file
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue