aws / aws-toolkit-vscode

Amazon Q, CodeCatalyst, Local Lambda debug, SAM/CFN syntax, ECS Terminal, AWS resources
https://marketplace.visualstudio.com/items?itemName=AmazonWebServices.amazon-q-vscode
Apache License 2.0
1.51k stars 436 forks source link

feat(amazonq): workspace indexing only applies to new files that are changed #5559

Closed leigaol closed 2 months ago

leigaol commented 2 months ago

Problem

In current build, when workspace index expires, the IDE rebuild index for all files, which is slow.

Solution

Whenever the current index is out of date, the IDE rebuild index for only the files that are changed since last index.

Meanwhile, this change will also make the index refresh mush faster. New index will be created and refreshed if the existing index is more than 12 hours old.


License: I confirm that my contribution is made under the terms of the Apache 2.0 license.

github-actions[bot] commented 2 months ago

This pull request modifies files in src/ but no tests were added/updated. Confirm whether tests should be added or ensure the PR description explains why tests are not required.

leigaol commented 2 months ago

This should not require a review from DEXP