Commit graph

12214 commits

Author SHA1 Message Date
Martin Aeschlimann 8f5b743a0b
[json] Allow "json.validate.enable": false in settings / disable JSON validation or error checking. Fixes #114775 2022-04-12 15:33:25 +02:00
Henning Dieterichs 82e645cf85
Merge pull request #146962 from microsoft/hediet/containsBalancedBrackets
Adopts "containsBalancedBrackets" flag from vscode/text-mate.
2022-04-12 12:40:39 +02:00
Tyler Leonhardt 46452a2dbf
ensure GitHub Edu telemetry fires only per account not per session 2022-04-11 11:04:53 -07:00
Henning Dieterichs cfb8ec1544
Merge branch 'main' into hediet/containsBalancedBrackets 2022-04-11 16:04:54 +02:00
Ladislau Szomoru aa0cc06377
Adopt RelativePattern to watch the repository root 2022-04-11 12:13:47 +02:00
David Dossett 5e5ed9982d Update light hc theme name 2022-04-08 11:03:29 -07:00
Ladislau Szomoru 404fe73c20
Enable more logging during repository discovery 2022-04-08 16:59:56 +02:00
Christof Marti d3af2375bc Update generated schema 2022-04-08 14:55:34 +02:00
Greggory Rothmeier 5fbc46d0f3 Disallow trailing commas in devcontainer files
Align the JSON Schema spec with JSONC, which allows JS-style comments but does not allow trailing commas.

https://github.com/microsoft/dev-container-spec/pull/24
2022-04-08 14:55:34 +02:00
Martin Aeschlimann cc47c60e96
testresolver: set log level with TESTRESOLVER_LOG_LEVEL. For #146897 2022-04-08 10:41:36 +02:00
Akat b499467f9f
fix(markdown): avoid considering link references/sources in code sections (#146826) 2022-04-07 14:50:37 -07:00
Alex Dima 37baf564f7
Merge remote-tracking branch 'origin/main' into hediet/containsBalancedBrackets 2022-04-07 22:22:01 +02:00
Connor Peet 0de44f9786
variables: allow resolving extensionDir (#146274)
* variables: allow resolving `extensionDir`

This allows us to fix https://github.com/microsoft/vscode-remote-release/issues/5516#issuecomment-911597917

It enables a new replacement in the format `${extensionDir:<id>}` which
will expand to the filesystem path where the extension is stored. This
involved churn, since now resolution is always synchronous (where before
the terminal took a synchronous-only path.)

Additionally, changes were needed to inject this information in the
variable resolver. As part of this I made the extension host resolver
(used by debug and tasks) its own extension host service.

* fixup! preserve object key order in resolution, add extensionDir support

* fixup! address pr comments

* fixup! address pr comments

* fixup! address pr comments

* config: fix config replacement only working for first variable per line

* fixup! fix unit tests
2022-04-07 08:06:31 -07:00
Ladislau Szomoru a2f6254739
💄 Remove console.log 2022-04-07 16:39:20 +02:00
Ladislau Szomoru cb1851d2dc
Second attempt to fix #121914 2022-04-07 16:38:01 +02:00
Ladislau Szomoru ef6f0ec6ab
Manually porting change from PR #127702 2022-04-07 15:33:12 +02:00
Henning Dieterichs 9aaa850fe4
Adopts "containsBalancedBrackets" flag from vscode/text-mate. 2022-04-07 00:42:19 +02:00
Matt Bierner bba6c56123
Fix dropping image from webpage into markdown files 2022-04-06 14:27:41 -07:00
Matt Bierner 27759c6e03
Use limiter instead of custom batcher 2022-04-06 14:16:06 -07:00
Benjamin Pasero 8e8b3026fc
tests - reduce spam and work 2022-04-06 19:34:41 +02:00
Ladislau Szomoru 0b270f9e22
Fix #146909 2022-04-06 14:36:13 +02:00
Matt Bierner a52e45add2
Don't show busy for JS/TS files not in workspace
Fixes #145309
2022-04-05 17:03:12 -07:00
Matt Bierner 62d6f38fc2
Auto create image links when dropping an image file into markdown 2022-04-05 15:42:56 -07:00
Matt Bierner 032ee47056
Add setting to enable/disable markdown drop into editor
For #142990
2022-04-05 15:42:56 -07:00
Matt Bierner b4b7380576
Fix md references not checking authority
Simply compare by string for now
2022-04-05 15:31:43 -07:00
Matt Bierner a56c9f10b7
Enable find all references and rename of auto links and http(s) links in markdown
For #146777, #146277
2022-04-05 15:18:18 -07:00
Matt Bierner c80acef8a1
Mark cached prop readonly 2022-04-05 15:18:17 -07:00
Matt Bierner 55627db338
Move fragment range down into documentLinkProvider 2022-04-05 14:22:57 -07:00
Matt Bierner 9b141e1959
Use clearer logic 2022-04-05 14:22:57 -07:00
Logan Ramos 9d0c4574f2
Fix compile 2022-04-05 15:28:05 -04:00
Logan Ramos 29e28ccf01
Update window tests 2022-04-05 15:25:57 -04:00
Raymond Zhao 8ba7e14db9
Emmet reduce JSX array noise (#146757)
Reduce emmet JSX array noise, fixes #138461
2022-04-05 12:20:07 -07:00
Logan Ramos d52eeec75d
Update variable misname 2022-04-05 15:15:41 -04:00
Matt Bierner 2154f3d008
Pass through CancellationToken 2022-04-05 11:56:40 -07:00
Matt Bierner 0496c2b3a7
Add basic file references provider for markdown
Fixes #146267
2022-04-05 11:56:40 -07:00
zz a8097b5607
feat(git): Added remote url type option (#146124)
* feat(git): Added remote url type option

* Modify extension configuration

* Simplified code

Co-authored-by: Joao Moreno <joao.moreno@microsoft.com>
2022-04-05 06:49:50 -07:00
heartacker 80f8b99e3c
add the git.fetch action to the frist header menu in scm in order to be easier to fetch the repo immediately (#137940) 2022-04-05 15:32:32 +02:00
Matt Bierner d0767451a9
Adding test for renaming the definition itself 2022-04-04 15:56:29 -07:00
Matt Bierner 7831ff6a32
Reuse references in rename requests 2022-04-04 15:56:29 -07:00
Matt Bierner baa7434480
Use header text as placeholder for md rename
For #146291
2022-04-04 15:56:28 -07:00
rebornix 024e40fb31
💄 2022-04-04 14:20:07 -07:00
rebornix ab2a987919
fix #146750. 2022-04-04 14:19:15 -07:00
tharbakim fb5e446a3d
Fix detection of CSS Preprocessor Comments at Start of File in Emmet Extension (#146121)
* Fix for PartialStyleSheet getting stuck in loop

Adds a clause for detecting `//` as a comment marker when working backwards through a file, preventing the parser from getting stuck when the comment starts at 1:1

* Modify change to detect start of file instead of skipping additional `/` characters now that we know the issue only occurs at offset 0.

Co-authored-by: Tyler McEnaney <tharbakim@hotmail.com>
2022-04-04 12:02:15 -07:00
Martin Aeschlimann a0612b2e04
[html] A 'return' statement can only be used within a function body. Fixes #143220 2022-04-04 18:19:29 +02:00
Martin Aeschlimann c7a685113b
Revert "[html] A 'return' statement can only be used within a function body. Fixes #143220"
This reverts commit 56661ec16a.
2022-04-04 18:19:29 +02:00
Martin Aeschlimann 3698a0b247
polish json schema language info 2022-04-04 16:17:49 +02:00
Martin Aeschlimann 27729fb7c6
JSON language status isn't "pin friendly". Fixes #146561 2022-04-04 11:30:41 +02:00
Matt Bierner 44ffeba237
Switch to provider based model for on drop
This simplifies implementing the provider and also give potentially gives us more control over how the drop happens
2022-04-01 15:51:38 -07:00
Matt Bierner 5451119820
Adopt SnippetTextEdit for drop 2022-04-01 15:51:38 -07:00
rebornix 943186d56c
update nb tests. 2022-04-01 12:10:23 -07:00