Skip to content

Commit 0c971bc

Browse files
committed
update info about downloading dbs in vs code
1 parent 6576f19 commit 0c971bc

File tree

3 files changed

+3
-19
lines changed

3 files changed

+3
-19
lines changed

docs/codeql/codeql-for-visual-studio-code/analyzing-your-projects.rst

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ To analyze a project, you need to add a :ref:`CodeQL database <codeql-database>`
1414

1515
#. Open the CodeQL Databases view in the sidebar.
1616

17-
#. Hover over the **Databases** title bar and click the appropriate icon to add your database. You can add a database from a local ZIP archive or folder, from a public URL, or from a project slug or URL on LGTM.com.
17+
#. Hover over the **Databases** title bar and click the appropriate icon to add your database. You can add a database from a local ZIP archive or folder, from a public URL, or from a project slug on GitHub.com.
1818

1919
.. image:: ../images/codeql-for-visual-studio-code/choose-database.png
2020
:width: 350
@@ -31,8 +31,6 @@ If you have a CodeQL database saved locally, as an unarchived folder or as a ZIP
3131

3232
- To create a database with the CodeQL CLI, see ":ref:`Creating CodeQL databases <creating-codeql-databases>`."
3333

34-
- .. include:: ../reusables/download-lgtm-database.rst
35-
3634
- To analyze a test database, add a ``.testproj`` folder to the Databases view.
3735
Test databases (that is, folders with a ``.testproj`` extension) are generated when you run regression tests on custom queries using the :ref:`CodeQL CLI <codeql-cli>`.
3836
If a query fails a regression test, you may want to analyze the test database in Visual Studio Code to debug the failure.

docs/codeql/codeql-for-visual-studio-code/customizing-settings.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Editing settings
2828
Choosing a version of the CodeQL CLI
2929
--------------------------------------
3030

31-
The CodeQL extension uses the CodeQL CLI to run commands. If you already have the CLI installed and added to your ``PATH``, the extension uses that version. This might be the case if you create your own CodeQL databases instead of downloading them from LGTM.com. Otherwise, the extension automatically manages access to the executable of the CLI for you. For more information about creating databases, see ":ref:`Creating CodeQL databases <creating-codeql-databases>`" in the CLI help.
31+
The CodeQL extension uses the CodeQL CLI to run commands. If you already have the CLI installed and added to your ``PATH``, the extension uses that version. This might be the case if you create your own CodeQL databases instead of downloading them from GitHub.com. Otherwise, the extension automatically manages access to the executable of the CLI for you. For more information about creating databases, see ":ref:`Creating CodeQL databases <creating-codeql-databases>`" in the CLI help.
3232

3333
To override the default behavior and use a different CLI, you can specify the CodeQL CLI **Executable Path**.
3434

docs/codeql/codeql-for-visual-studio-code/setting-up-codeql-in-visual-studio-code.rst

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Configuring access to the CodeQL CLI
2828

2929
The extension uses the CodeQL CLI to compile and run queries.
3030

31-
If you already have the CLI installed and added to your ``PATH``, the extension uses that version. This might be the case if you create your own CodeQL databases instead of downloading them from LGTM.com. For more information, see ":ref:`CodeQL CLI <codeql-cli>`."
31+
If you already have the CLI installed and added to your ``PATH``, the extension uses that version. This might be the case if you create your own CodeQL databases instead of downloading them from GitHub.com. For more information, see ":ref:`CodeQL CLI <codeql-cli>`."
3232

3333
Otherwise, the extension automatically manages access to the executable of the CLI for you. This ensures that the CLI is compatible with the CodeQL extension. You can also check for updates with the **CodeQL: Check for CLI Updates** command.
3434

@@ -57,20 +57,6 @@ There are two ways to do this:
5757

5858
For CLI users there is a third option: If you have followed the instructions in ":ref:`Getting started with the CodeQL CLI <getting-started-with-the-codeql-cli>`" to create a CodeQL directory (for example ``codeql-home``) containing the CodeQL libraries, you can open this directory in VS Code. This also gives the extension access to the CodeQL libraries.
5959

60-
.. container:: toggle
61-
62-
.. container:: name
63-
64-
**Click to show information for LGTM Enterprise users**
65-
66-
Your local version of the CodeQL queries and libraries should match your version of LGTM Enterprise. For example, if you
67-
use LGTM Enterprise 1.27, then you should clone the ``1.27.0`` branch of the `starter workspace <https://github.com/github/vscode-codeql-starter/>`__ (or the appropriate ``1.27.x`` branch, corresponding to each maintenance release).
68-
69-
This ensures that the queries and libraries you write in VS Code also work in the query console on LGTM Enterprise.
70-
71-
If you prefer to add the CodeQL queries and libraries to an :ref:`existing workspace <existing-workspace>` instead of the starter workspace, then you should
72-
clone the appropriate branch of the `CodeQL repository <https://github.com/github/codeql>`__ and add it to your workspace.
73-
7460
.. _starter-workspace:
7561

7662
Using the starter workspace

0 commit comments

Comments
 (0)