Conversation
| 1. Select the language for the database you want to download (only required if the project has databases for multiple languages). | ||
| 1. Once the CodeQL database has been imported, it is displayed in the Databases view. | ||
|
|
||
| For more information, see [Choosing a database](https://codeql.github.com/docs/codeql-for-visual-studio-code/analyzing-your-projects/#choosing-a-database) on codeql.github.com. |
There was a problem hiding this comment.
Do you think there should be some guidance if the repository doesn't have a database? Also, is there an easy way for users to determine which repos already has one?
There was a problem hiding this comment.
Do you think there should be some guidance if the repository doesn't have a database?
Yes, there probably should. I think that belongs in the real VS Code docs though. I'll open a separate issue in github/codeql for that
Also, is there an easy way for users to determine which repos already has one?
You can check per-repo using the REST API (described in https://codeql.github.com/docs/codeql-for-visual-studio-code/analyzing-your-projects/#obtaining-a-local-database) but you can't get an overview of which repos already have dbs. We might add a way to do that later.
There was a problem hiding this comment.
Nice. In the future, we can make this better. Being able to search for repos with dbs would be great. I've already spent lots of time looking for a suitable db to download. If I could issue a search, and find repos with dbs that match certain features, it would be helpful.
aeisenberg
left a comment
There was a problem hiding this comment.
I think this is good as-is. CodeQL docs can be updated separately.
LGTM.com is due to be deprecated (https://github.com/orgs/community/discussions/29534) so this PR updates the readme for the new 'Download database from GitHub' feature.
See also github/vscode-codeql-starter#132.