An extension for Visual Studio Code that adds rich language support for CodeQL
Перейти к файлу
Andrew Eisenberg 03d4aca639
Add leniency in how positions are handled (#1002)
* Add leniency in how positions are handled

Previously, positions with end column of 0 were rejected by the
extension. CodeQL positions are supposed to be 1-based, but the CLI
does handle 0-based and negative positions by using character offsets
from the current line start.

Instead of rejecting these kinds of positions, the extension should
handle them as gracefully as possible.

Fixes #999

* Add changelog entry
2021-11-17 16:24:48 -08:00
.github Update CLI version 2021-11-17 13:30:34 +00:00
.vscode Use the correct environment variable in integration tests (#994) 2021-11-03 23:04:14 +00:00
extensions/ql-vscode Add leniency in how positions are handled (#1002) 2021-11-17 16:24:48 -08:00
syntaxes Update syntaxes/README.md 2020-03-04 18:28:20 +00:00
.editorconfig Update contributing documentation and launch config 2020-03-07 16:36:09 -08:00
.gitattributes Use union merge strategy for CHANGELOG.md 2020-06-15 15:31:19 -04:00
.gitignore Add integration tests with the CLI 2020-12-04 10:08:15 -08:00
CODEOWNERS Add CODEOWNERS 2021-06-17 10:01:31 -07:00
CODE_OF_CONDUCT.md CodeQL for VS Code: Initial commit. 2019-11-13 12:23:53 -08:00
CONTRIBUTING.md Use the correct environment variable in integration tests (#994) 2021-11-03 23:04:14 +00:00
LICENSE.md CodeQL for VS Code: Initial commit. 2019-11-13 12:23:53 -08:00
README.md Update typings for mocha (#752) 2021-02-11 16:48:52 -08:00
tsconfig.json Add a top-level tsconfig.json 2020-08-24 10:58:17 -07:00
tsfmt.json Add format and lint on commit 2020-05-12 10:15:48 -07:00

README.md

CodeQL for Visual Studio Code

This project is an extension for Visual Studio Code that adds rich language support for CodeQL. It's used to find problems in code bases using CodeQL. It's written primarily in TypeScript.

The extension is released. You can download it from the Visual Studio Marketplace.

To see what has changed in the last few versions of the extension, see the Changelog.

CI status badge VS Marketplace badge

Features

  • Enables you to use CodeQL to query databases and discover problems in codebases.
  • Shows the flow of data through the results of path queries, which is essential for triaging security results.
  • Provides an easy way to run queries from the large, open source repository of CodeQL security queries.
  • Adds IntelliSense to support you writing and editing your own CodeQL query and library files.

Project goals and scope

This project will track new feature development in CodeQL and, whenever appropriate, bring that functionality to the Visual Studio Code experience.

Contributing

This project welcomes contributions. See CONTRIBUTING.md for details on how to build, install, and contribute.

License

The CodeQL extension for Visual Studio Code is licensed under the MIT License. The version of CodeQL used by the CodeQL extension is subject to the CodeQL Research Terms & Conditions.

When using the GitHub logos, be sure to follow the GitHub logo guidelines.