Граф коммитов

270 Коммитов

Автор SHA1 Сообщение Дата
shati-patel d547f81a55 Bump version to v1.5.10 2021-12-17 15:36:16 +00:00
shati-patel c01704b8aa v1.5.9 2021-12-17 12:04:27 +00:00
shati-patel 5a19042fc8 Update changelog 2021-12-16 17:58:55 +00:00
shati-patel bdf8c0b9c2 Add setting to enable/disable Quick Eval codelens 2021-12-16 17:58:55 +00:00
Andrew Eisenberg 6e2e72a500
Be nicer about where to open the results webview (#1037)
* Be nicer about where to open the results webview

Currently, the webview _always_ opens next to the currently active
editor. This is a pain if you already have 2 columns open since this
means that the webview will open in a third column, which is rarely
what you want.

This change uses a more sophisticated approach to opening the webview:

1. If there is only one column, open webview to the right of it
2. If there are multiple columns and the active editor is _not_ the
   last column, open to the right of the active editor
3. Otherwise open in the first column.

This will avoid opening a new column unless there is only one column
open right now.

There is no native API that vscode exposed to compare column locations,
so this uses the `ViewColumn` api is a slightly non-standard way.

A limitation is that if the last column is empty and the active editor
is to the left of it, then the webview will not be opened there (which
would be nice). Instead, it will be opened in column 1.

Co-authored-by: Shati Patel <42641846+shati-patel@users.noreply.github.com>
2021-12-15 19:33:53 +00:00
Andrew Eisenberg c8ed8b2591
Add code lens for quick evaluation (#1035)
* Add code lens for quick eval command

* Ensure commented out predicates do not have code lens

* Improve conditional check for commented out predicate  detection

* Refactor regex

* Move comment check to eliminate evaluating regex more than once

Co-authored-by: marcnjaramillo <mnj.webdeveloper@gmail.com>
2021-12-10 19:17:21 +00:00
Andrew Eisenberg 58f4a82616 Update changelog 2021-12-10 07:50:08 -08:00
shati-patel 749565828d Bump version to v1.5.9 2021-12-02 14:27:37 +00:00
shati-patel ff751cc877 v1.5.8 2021-12-02 11:26:36 +00:00
Andrew Eisenberg e13349ceb0 Update changelog 2021-11-29 11:16:49 -08:00
Andrew Eisenberg b481441052
Emit more relevant error message when failing to add source folder (#1021)
* Emit more relevant error message when failing to add source folder

Fixes #1020

* Update changelog

* Clarify changelog and error message

Co-authored-by: Shati Patel <42641846+shati-patel@users.noreply.github.com>

Co-authored-by: Shati Patel <42641846+shati-patel@users.noreply.github.com>
2021-11-29 16:28:07 +00:00
github-actions[bot] 6a1d1a492e
Bump version to v1.5.8 (#1017)
Co-authored-by: aeisenberg <aeisenberg@users.noreply.github.com>
2021-11-23 21:13:41 +00:00
Andrew Eisenberg 1dcd9c495c
Prepare for the 1.5.7 release (#1016) 2021-11-23 12:52:40 -08:00
Andrew Eisenberg 16c0bea799
Merge pull request #1004 from marcnjaramillo/fix-large-sarif-handling
Fix large sarif handling
2021-11-22 12:24:17 -08:00
marcnjaramillo d53abd815d Make suggested changes, build currently failing 2021-11-19 16:01:18 -08:00
Andrew Eisenberg 5ab55bb5a5
Merge branch 'main' into aeisenberg/sorted-result-sets 2021-11-18 10:49:44 -08:00
Musab Guma'a 3743895b66 Add "Preview Query Help" command 2021-11-18 16:10:26 +00:00
marcnjaramillo 4374f409a8 Add changelog entry and add missing dependencies 2021-11-17 16:37:37 -08:00
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
Andrew Eisenberg 01f24523ac Update changelog 2021-11-17 09:39:49 -08:00
Musab Guma'a 848869e3f4 Make "Open Referenced File" command functional on open .qlref 2021-11-02 11:19:39 +00:00
Musab Guma'a 746086b761 Fix "Open Referenced File" command for windows paths 2021-10-27 16:54:21 +01:00
Musab Guma'a 3d24328402
Update CHANGELOG.md 2021-10-20 20:46:22 +01:00
Musab Guma'a 1014c4bdda Added case-insensitive fallback check for GitHub repos when downloading an LGTM project. 2021-10-20 19:35:41 +01:00
marcnjaramillo 98d48a3709 Update CHANGELOG.md entries for most recent changes 2021-10-19 11:14:19 -07:00
marcnjaramillo b22a8692c8 Integrated CLI database unbundle command for archive download
Co-authored by: Marc Jaramillo mnj.webdeveloper@gmail.comm
Co-authored by: Musab Guma'a mgsium@github.com
2021-10-18 14:55:17 -07:00
Marc Jaramillo b43b824da6
Simplify changelog entry
Co-authored-by: Andrew Eisenberg <aeisenberg@github.com>
2021-10-08 13:52:07 -07:00
marcnjaramillo 22616c5582 Add changes to changelog 2021-10-08 13:05:48 -07:00
shati-patel 68863e3b90 Bump version to v1.5.7 2021-10-07 18:47:29 +01:00
shati-patel b38b884715 Add 1.5.6 header 2021-10-07 18:31:36 +01:00
shati-patel cc6f2d8886 Prepare release 2021-10-07 18:31:36 +01:00
Andrew Eisenberg 6292adf491
Merge branch 'main' into fix-db-remove 2021-10-07 08:17:24 -07:00
Andrew Eisenberg 112d40ff1c
Update CHANGELOG.md 2021-10-07 08:15:35 -07:00
Marc Jaramillo 21dda65871
Add progress messages to LGTM download option. (#960)
* Add progress messages to LGTM download option.

* Add additional argument to get test passing again.

* Make edits requested by @aeisenerg

* Fix assertion in test case

* Update extensions/ql-vscode/CHANGELOG.md
2021-10-04 17:22:11 +01:00
Marc Jaramillo 3fb2c71390
Merge branch 'main' into fix-lgtm-download-message 2021-10-01 11:19:57 -07:00
marcnjaramillo b40f648a87 Remove line about selecting a language from the dropdown. 2021-10-01 11:07:37 -07:00
Musab Guma'a 0493e316c0 Update extensions/ql-vscode/CHANGELOG.md
Co-authored-by: Edoardo Pirovano <6748066+edoardopirovano@users.noreply.github.com>
2021-10-01 17:37:54 +01:00
Musab Guma'a 137e17c2e1 Add fix entry to CHANGELOG.md 2021-10-01 17:37:54 +01:00
aeisenberg a715ce13c9 Bump version to v1.5.6 2021-09-08 16:15:15 -07:00
Andrew Eisenberg 005372abba v1.5.5 2021-09-08 15:49:18 -07:00
Andrew Eisenberg 3f22587a7c Update changelog 2021-09-08 17:02:49 -04:00
Harry Maclean db529d5247 Update changelog 2021-09-07 15:58:33 +01:00
aeisenberg 0c6ca81437 Bump version to v1.5.5 2021-09-02 12:40:04 -07:00
Andrew Eisenberg b2422216b5 Update changelog for v2.5.4 release 2021-09-02 11:51:35 -07:00
Dave Bartolomeo 7e78a6bc5c Fix PR feedback 2021-09-02 11:14:32 -07:00
Dave Bartolomeo a4532fdc61 Add changenote for AST viewer failure fix 2021-09-02 11:14:32 -07:00
Benjamin Muskalla f6485dac95 Add changelog for sticky pagination controls 2021-08-26 08:14:25 -07:00
shati-patel 38a64017f2 New setting to specify number of paths per alert 2021-08-25 09:27:37 +01:00
Edoardo Pirovano e119218828 Update extensions/ql-vscode/CHANGELOG.md
Co-authored-by: Shati Patel <42641846+shati-patel@users.noreply.github.com>
2021-08-23 21:30:30 +01:00
Edoardo Pirovano 2561db1721 Allow exporting of results for non-alert queries 2021-08-23 21:30:30 +01:00