Commit Graph

13417 Commits

Author SHA1 Message Date
Alex Ross
7b369be6af Get latest shellscript grammar and update tests 2023-02-06 12:32:44 +01:00
Alex Ross
c3a17a3ebf Revert shellscript grammar change and add more tests 2023-02-06 12:32:44 +01:00
Tyler James Leonhardt
57f26d2907 Fixes #173380 (#173428)
Fixes #173380
2023-02-04 15:57:24 +01:00
Ladislau Szomoru
43db9d2d06 Git - add trace message if workspace folder cannot be resolved (#173410) 2023-02-04 10:15:27 +01:00
Ladislau Szomoru
4b2a44d7ec Git - fix regression caused by workspace folder that cannot be resolved using fs.realpath() (#173372) 2023-02-03 13:25:25 -08:00
Connor Peet
dc6fd239e6 strings: use more comprehensive ansi escape code regex (#173362)
* strings: use more comprehensive ansi escape code regex

The ansi escape remover only recognized a few codes, and only a
subset of their syntax. Be more comprehensive, and add tests.

Fixes #153648

* address pr comment
2023-02-03 12:37:20 -08:00
Joyce Er
3ab0fb3aa9 Lint redundant activation events if extension is targeting ^1.75 (#173345) 2023-02-03 09:53:00 -08:00
Martin Aeschlimann
beea143b43 json server readme wording (#173304) 2023-02-03 06:39:45 -08:00
Matt Bierner
c35c98fc00 Pick up latest markdown language server (#173234)
For #172977
2023-02-03 06:46:30 +01:00
Joyce Er
ddd71a222d Lint redundant onTaskType activation events (#173205) 2023-02-02 14:31:13 -08:00
Martin Aeschlimann
bd9ac7a089 Fix JSON schema configuration in multi root workspaces (#173169)
[json] add folderUri to SchemaAssociation and schema setting
2023-02-02 13:36:41 -08:00
Tyler James Leonhardt
262ab0e7bf Warn about star activation (#173112)
* star activation bad

* better message

* info level
2023-02-02 15:59:09 -05:00
Joyce Er
b42443093a Lint more redundant activation events (#173186)
* `onWalkthrough`
* `onTerminalQuickFixRequest`
* `onTerminalProfile`
* `onRenderer`
2023-02-02 11:18:11 -08:00
Matt Bierner
69b6f978f6 Make sure we pass TS server the transformed project root (#173096)
When opening a file, we pass TS Server a project root to prevent it from scanning too many files. On web, we need to pass the transformed project root, not the original uri

This PR also removes some confusingly duplicated methods and renames them to make their behavior more clear
2023-02-02 11:30:04 +00:00
Benjamin Pasero
14f13b1f20 skip flaky notebook tests (#173124)
* skip flaky notebook test

* link to issue

* skipe the suite
2023-02-02 09:58:05 +01:00
Peng Lyu
c581592f24 Re #170072, disable nb flaky test. (#173091) 2023-02-02 06:02:14 +01:00
Matt Bierner
6c12ba1f81 Revert to TS 4.9.5 for this iteration (#173081)
TS 5.0 doesn't come out til mid March
2023-02-01 15:12:13 -08:00
robincaloudis
63b07dbd7f Fix wrong language scope in markdown inline math expression (#172957)
Let 3rd matching group be an end

Previously, the first and third group was
defined as beginning. This is not
true as the first group of the regular
expression is the beginning of the math
inline markdown expression and the third
group the _end_. Once the third group is
correctly assigned, its language scope can
be changed accordingly.
2023-02-01 06:44:37 -08:00
Ladislau Szomoru
f50790371b Git - Add file decoration for a deleted file (#173020) 2023-02-01 14:06:31 +01:00
Martin Aeschlimann
7dff9e992b add executeFoldingRangeProvider command (#172968)
* add executeFoldingRangeProvider command

* add jsdoc for FoldingRangeKind.fromValue
2023-02-01 01:03:02 -08:00
Johannes Rieken
d9ad2139a6 remove redudant activation events for references viewlet (#173008)
https://github.com/microsoft/vscode-internalbacklog/issues/3442
2023-02-01 00:56:12 -08:00
Matt Bierner
224472b8b9 Pick up latest TS nightly (#172928)
This lets us remove the `ignoreWarnings` webpack hack
2023-01-31 16:37:29 -08:00
ibuky
9894ae8700 fix#171379 (#172175)
Co-authored-by: VTX0 <VTX0>
2023-02-01 00:35:02 +00:00
Arthur
934e0ee5d8 Fix #170706 (#172842) 2023-02-01 00:34:02 +00:00
Tyler James Leonhardt
06eb374137 Improve GHES flow (#172959)
* Improve GHES flow

It's clear to me now that a lot of users of the GHES flow have auth behind a VPN. Something that we cannot support in the OAuth flow because we require making a request to vscode.dev who makes a request to the GHES instance.

In light of this, we will remove the OAuth flow for GHES. Fear not, though... because both the Device Code Flow and the PAT flow are there and the PAT flow has been improved in 1.75... so in conclusion, I think GHES is handled as best we can with this PR.

Additionally, there is some "Hosted GitHub Enterprise" scenarios popping up, and this future proofs that by allowing "Hosted GitHub Enterprise" experiences to go through the OAuth flow because we know for a fact that they will be accessible from vscode.dev.

Fixes #169619
Fixes https://github.com/microsoft/vscode-internalbacklog/issues/3398

* Use api. sub domain and update telemetry logic
2023-01-31 13:25:12 -08:00
Matt Bierner
845a39b5ec Switch to published markdown-it-katex package (#172956)
Fixes #172945
2023-01-31 13:02:35 -08:00
Matt Bierner
d11134fdf8 Make language servers use webworker typings (#172879)
This makes the css, html, and json language  servers to use the `webworker` typings. This lets us avoid having to redeclare `self`
2023-01-31 09:38:48 +01:00
Matt Bierner
855dd78852 Fix open ts server log command on web (#172885)
Fixes #172853
2023-01-31 06:34:00 +01:00
Matt Bierner
c18f80a2d4 Pass translations down to Markdown Language Server (#172884)
Fixes #172060
2023-01-31 06:29:41 +01:00
Matt Bierner
4630d8e4de Remove more implicit activation events from built-in extensions (#172838) 2023-01-30 17:25:56 -08:00
Matt Bierner
10ffbae8ae Use more restrictive lib for markdown language server (#172873) 2023-01-30 16:52:58 -08:00
Matt Bierner
fac1eea159 Reset simple browser localResourceRoots on reload (#172834)
This makes us set the `localResourceRoots` when the simple browser is reloaded. In codespaces when switching from stable to insiders, this reload can change the extensionUrl, so we can't use the old local resource roots
2023-01-30 16:46:47 -08:00
Matt Bierner
5be17a3f51 Use uris instead of string paths for TS Server logs (#172872) 2023-01-30 16:28:53 -08:00
Matt Bierner
e0ea3d9b11 Also route stdlib files through TS Server virtual file system (#172857)
This workaround doesn't seem to be needed any more
2023-01-30 14:14:21 -08:00
Matt Bierner
99d9949a7c Make remove await quick fix auto fixable (#172854)
Make remove `await` quick fixable

Fixes #172851
2023-01-30 14:09:30 -08:00
Matt Bierner
35b008315a Fix web compile for TS 5.0 (#172856)
This fixes the error message in `ignoreWarnings` for TS 5.0
2023-01-30 14:09:08 -08:00
Ladislau Szomoru
629d643eff Git - remove gitlens-git from timeline provider (#172844) 2023-01-30 12:25:19 -08:00
Ladislau Szomoru
b309525a3b Git - Limit the enablement "* selected ranges" command palette commands (#172843) 2023-01-30 12:15:33 -08:00
Matt Bierner
a86726db69 Remove implicit activation events for emmet (#172836)
These are now automatically generated
2023-01-30 11:41:15 -08:00
Ladislau Szomoru
2d4f8aeb53 Git - more conservative approach to refreshing the timeline (#172765) 2023-01-30 11:33:48 -08:00
Ladislau Szomoru
475c59b638 Git - Deprecate the refs property (#172772) 2023-01-30 11:33:37 -08:00
Matt Bierner
6195d0e91c Pick up TS 5.0 for insiders (#172825) 2023-01-30 10:17:54 -08:00
Matt Bierner
f3edd0e0be Fix TS Server always logging (#172562)
Fixes #172554
2023-01-30 09:39:19 -08:00
Matt Bierner
b1a4dfdcfd TS should ignore github: files (#172603)
Fixes #172597
2023-01-30 08:39:43 -08:00
Alex Ross
166b8e2d90 Update grammars (#172807) 2023-01-30 06:27:20 -08:00
Ladislau Szomoru
907e888754 Git - remove the commitInProgress context for the commit message commands (#172761) 2023-01-30 14:25:54 +01:00
Ladislau Szomoru
3ec25a9fbb Git - add separator to the checkout quick pick (#172762) 2023-01-30 01:55:15 -08:00
Ladislau Szomoru
1c2d4e6c6c Git - mark a failed operation completed as soon as the error dialog is shown (#172509) 2023-01-30 09:57:09 +01:00
Johannes Rieken
46a157973f fix TS filterText/insertText updating (#172616)
fixes https://github.com/microsoft/vscode/issues/172419
2023-01-27 10:06:14 +01:00
Don Jayamanne
5efc2a498a Localize ipynb extension commands (#172272)
* Localize ipynb extension commands

* More updates
2023-01-26 22:24:22 +01:00