codelite icon indicating copy to clipboard operation
codelite copied to clipboard

Partially update the PHP project file tree

Open AJenbo opened this issue 5 years ago • 4 comments

Adding, and deleting files can be extremely slow for some projects as it causes CodeLite to rescan the entire project file tree. Would it be possible to simply pop or inject the relevant list item instead?

AJenbo avatar Oct 23 '20 16:10 AJenbo

Can you provide steps to reproduce?

eranif avatar Oct 25 '20 18:10 eranif

Hm, I just realized that this doesn't happen in all cases, but just the one that I do most commonly :)

To trigger full rescan of the folder when adding a file: 1: Open a PHP project 2: Open a file, right-click the tab, and select "Duplicate tab..." 3: Name file 4: Wait while it rescans all files

To trigger slow removal of file: 1: Open a PHP project 2: Right-click a file and select remove 3: Wait while it rescans all files

To trigger when renaming a file: 1: Open a PHP project 2: Right click a file and rename file 3: Enter a new name 4: Wait while it rescans all files

To trigger full rescan of the folder when adding a file: 1: Open a PHP project 2: From the menu select File->New->New empty file 3: Save file to project folder 4: Wait while it rescans all files

Cases where it is able to add the single file without doing a full rescan:

  • Right click a folder in worspace, New file/New class

AJenbo avatar Oct 25 '20 19:10 AJenbo

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs (in 5 days). Thank you for your contributions.

stale[bot] avatar Mar 19 '21 22:03 stale[bot]

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs (in 5 days). Thank you for your contributions.

stale[bot] avatar Oct 22 '21 09:10 stale[bot]