-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Progress bar for parsing a large compile_commands.json file #8647
Comments
We currently just a show a flame icon and don't have any progress reporting code when parsing a compile_commands.json. Is the project with a 102 MB compile_commands.json open source? I'm guessing LLVM might generate one of a similar size. |
It seems like something we should add as part of #8405. Maybe we should track it there. |
That is independent. #8405 is a UI change. If we decide to do that, then addressing this issue would still require additional changes to gather that status, which is not currently available. |
Yes, #8405 is a UI change which links to a discussion here talking about supporting progress as well. Though we can keep this open if we don't want to do them together. |
The project is not open source unfortunately :) In my case the flame icon does not appear at the beginning. The 5min have no visual indications that intellisense is doing something. But there is a |
If you're looking for examples:
FWIW, we never migrated LLVM's compile_commands.json parsing to our "nice" JSON parser, because it had a high level API that wanted to eagerly parse/decode/heap-allocate all those objects, and that hurt startup of chromium too much. It's still using an event-based YAML parser, and only decodes the keys upfront... |
The compile db i use has 12500 entries. The actual |
This feature request is being closed due to insufficient upvotes. When enough upvotes are received, this issue will be eligible for our backlog. |
Type: Feature Request
I searched the open issues and didn't find anything so i hope this is not a duplicate :)
I work with a project with a larger
compile_commands.json
file. It's around 102MB.The parsing and the intellisense seem to work fine but i have to wait around 3-5min until everything is
setup correctly.
It would be great to have a progress bar in the bottom right corner for example which indicates the progress of the intellisense engine when parsing a larger compile command database.
The text was updated successfully, but these errors were encountered: