| CARVIEW |
Select Language
HTTP/2 301
server: GitHub.com
content-type: text/html
location: https://docs.github.com/code-security/codeql-for-vs-code
x-github-request-id: A2EF:1F53DD:54E572:5E97DF:694E86F1
accept-ranges: bytes
age: 0
date: Fri, 26 Dec 2025 13:00:33 GMT
via: 1.1 varnish
x-served-by: cache-bom-vanm7210034-BOM
x-cache: MISS
x-cache-hits: 0
x-timer: S1766754033.063794,VS0,VE191
vary: Accept-Encoding
x-fastly-request-id: ef9f4c4535c314bfa711ccf57ff5488aa3bbc420
content-length: 162
HTTP/2 302
access-control-allow-origin: *
content-security-policy: default-src 'none';prefetch-src 'self';connect-src 'self';font-src 'self' data:;img-src 'self' github.com *.github.com *.githubusercontent.com *.githubassets.com data: placehold.it;object-src 'self';script-src 'self' github.com *.github.com *.githubusercontent.com *.githubassets.com 'self' data: 'unsafe-inline';script-src-attr 'self';frame-src 'self' github.com *.github.com *.githubusercontent.com *.githubassets.com https://support.github.com https://www.youtube-nocookie.com;frame-ancestors 'self' github.com *.github.com *.githubusercontent.com *.githubassets.com;style-src 'self' github.com *.github.com *.githubusercontent.com *.githubassets.com 'self' 'unsafe-inline' data:;child-src 'self';manifest-src 'self';upgrade-insecure-requests;base-uri 'self';form-action 'self'
cross-origin-opener-policy: same-origin
cross-origin-resource-policy: same-origin
origin-agent-cluster: ?1
referrer-policy: no-referrer-when-downgrade
x-content-type-options: nosniff
x-dns-prefetch-control: off
x-download-options: noopen
x-frame-options: SAMEORIGIN
x-permitted-cross-domain-policies: none
x-xss-protection: 0
cache-control: public, max-age=60
location: /en/code-security/codeql-for-vs-code
content-type: text/plain; charset=utf-8
x-github-backend: Kubernetes
x-github-request-id: F7D6:162665:38EB63:4AFA00:694E86F1
accept-ranges: bytes
age: 0
date: Fri, 26 Dec 2025 13:00:34 GMT
via: 1.1 varnish
x-served-by: cache-bom-vanm7210023-BOM
x-cache: MISS
x-cache-hits: 0
x-timer: S1766754033.335410,VS0,VE997
vary: accept-language, x-user-language, Accept
strict-transport-security: max-age=31557600
content-length: 58
HTTP/2 200
access-control-allow-origin: *
content-security-policy: default-src 'none';prefetch-src 'self';connect-src 'self';font-src 'self' data:;img-src 'self' github.com *.github.com *.githubusercontent.com *.githubassets.com data: placehold.it;object-src 'self';script-src 'self' github.com *.github.com *.githubusercontent.com *.githubassets.com 'self' data: 'unsafe-inline';script-src-attr 'self';frame-src 'self' github.com *.github.com *.githubusercontent.com *.githubassets.com https://support.github.com https://www.youtube-nocookie.com;frame-ancestors 'self' github.com *.github.com *.githubusercontent.com *.githubassets.com;style-src 'self' github.com *.github.com *.githubusercontent.com *.githubassets.com 'self' 'unsafe-inline' data:;child-src 'self';manifest-src 'self';upgrade-insecure-requests;base-uri 'self';form-action 'self'
cross-origin-opener-policy: same-origin
cross-origin-resource-policy: same-origin
origin-agent-cluster: ?1
referrer-policy: no-referrer-when-downgrade
x-content-type-options: nosniff
x-dns-prefetch-control: off
x-download-options: noopen
x-frame-options: SAMEORIGIN
x-permitted-cross-domain-policies: none
x-xss-protection: 0
cache-control: public, max-age=60
x-powered-by: Next.js
content-type: text/html; charset=utf-8
x-github-backend: Kubernetes
x-github-request-id: DEE6:127471:3A6E86:4C7EE7:694E8694
content-encoding: gzip
accept-ranges: bytes
age: 2
date: Fri, 26 Dec 2025 13:00:36 GMT
via: 1.1 varnish
x-served-by: cache-bom-vanm7210023-BOM
x-cache: MISS
x-cache-hits: 0
x-timer: S1766754034.345931,VS0,VE2643
vary: Accept-Encoding
strict-transport-security: max-age=31557600
content-length: 38487
Use CodeQL inside Visual Studio Code - GitHub Docs
Skip to main content
GitHub Docs
Search or ask Copilot
Select language: current language is English
Search or ask Copilot
Open menu
Open Sidebar
Use CodeQL inside Visual Studio Code
Use the CodeQL for Visual Studio Code extension to write, run, and test CodeQL queries inside Visual Studio Code.
Who can use this feature?
CodeQL is available for the following repository types:
- Public repositories on GitHub.com, see GitHub CodeQL Terms and Conditions
- Organization-owned repositories on GitHub Team with GitHub Code Security enabled
- Getting started with the CodeQL for Visual Studio Code extension
- Using the advanced functionality of the CodeQL for VS Code extension
- Using the CodeQL model editor
- Creating a custom query
- Managing CodeQL query packs and library packs
- Exploring the structure of your source code
- Testing CodeQL queries in Visual Studio Code
- Customizing settings
- Setting up a CodeQL workspace
- Configuring access to the CodeQL CLI
- Telemetry in CodeQL for Visual Studio Code
- Troubleshooting CodeQL for VS Code