Commit graph

12441 commits

Author SHA1 Message Date
Martin Aeschlimann 375681e51e
json: use default word pattern (#151754) 2022-06-13 14:36:42 +02:00
Sandeep Somavarapu 22fe16d3e5
adopt merge editor in settings sync
- use merge editor for conflicts
- expose base resource in resource syncrhonziers
- add baseResourceScheme context to contribute Accept Merge button per feature
- support old way of handling conflicts behind an internal setting
2022-06-12 15:49:45 +02:00
Megan Rogge cf94d8370d
use const instead of literal (#151742)
use const
2022-06-10 13:56:43 +00:00
Alex Ross bd1abe08c3
Update C grammar locations (#151733)
Fixes #150288
2022-06-10 13:55:11 +00:00
Babak K. Shandiz 766743629d
Polish PR template picker (#151415)
* 🔨 Set ignoreFocusOut to true on PR template selection

Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com>

* 🔨 Translate PR template paths to relative in quick pick list

Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com>

* 💄 Shorten line length

Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com>

* ⚗️ Update tests with latest required args

Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com>

* ⚗️ Update GitHub extension unit tests

Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com>

Co-authored-by: João Moreno <joao.moreno@microsoft.com>
2022-06-10 12:54:37 +00:00
Johannes Rieken 66f8ae48b0
rename references-view publisher to vscode so that NLS works, fixes https://github.com/microsoft/vscode/issues/142168 (#151696) 2022-06-10 09:39:34 +00:00
Johannes ed9ed45794
Merge branch 'main' into joh/voluminous-lobster 2022-06-10 09:07:30 +02:00
Rob Lourens d5e7687940
Fix updating outputs of another cell using a NotebookCellExecution (#151573)
Fixes #151468
2022-06-09 20:27:36 -07:00
Megan Rogge 4222eb73aa
allow excluding npm install script from the npm scripts view (#151647)
fix #149924
2022-06-09 17:15:43 -07:00
Matt Bierner f7e12a3a92
Use optional method calls in more places (#151634)
This replaces code like:

```ts
if (foo.bar) {
    foo.bar(cat);
}
```

with:

```ts
foo.bar?.(cat)
```

Which is more concise but has the same meaning
2022-06-09 15:04:28 -07:00
Babak K. Shandiz a8de8e2112
[markdown] Ignore brackets inside link text (#151610)
* 🔨 Allow texts in bracket pairs inside link titles; [text](link)

Signed-off-by: GitHub <noreply@github.com>

* 🔨 Allow texts in bracket pairs inside link titles; [text](<link>)

Signed-off-by: GitHub <noreply@github.com>

* ⚗️ Add tests to verify  link titles can include bracket pairs

Signed-off-by: GitHub <noreply@github.com>
2022-06-09 11:48:50 -07:00
Johannes 43c31079ee
manual fixing of prefer-const violations 2022-06-09 10:19:56 +02:00
Johannes 3622010b64
Merge branch 'main' into joh/voluminous-lobster 2022-06-09 09:08:20 +02:00
Matt Bierner d7c90c2b2b
Update text editor drop proposal (#151552)
This updates the text editor drop proposal (#142990). This change introduces `DocumentDropEdit` which removes the need for `SnippetTextEdit`. This interface may also be extended in the future with additional metadata
2022-06-08 17:44:28 -04:00
Matt Bierner 48cfaa2187
Fix rename of paths in markdown reference link definitions (#151545)
Fixes #151117
2022-06-08 19:20:17 +00:00
Matt Bierner 370dfd5fee
Iterate on paste edit provider api (#151477)
* Iterate on paste edit provider api

For #30066

- Pass all selections to paste providers. For #151326
- Introduce `DocumentPasteEdit` as return type. This new type uses an `insertText` that is applied to every paste location (for multicursor), plus an optional additional edit
-  Add `DocumentPasteProviderMetadata`. This lets extensions tell us which types of mimetypes they are interested in, letting us avoid round trips if no extensions care about the pasted data

* Correctly batch insertText
2022-06-08 15:06:55 -04:00
Andrew Branch 5a32c3ff17
[typescript-language-features] Pass through all typescript.unstable.* settings (#151472)
Pass through all `typescript.unstable.*` settings
2022-06-08 11:53:06 -07:00
jram 6d91b80dd8
[npm extension] exclude top level npm_modules when detecting npm scripts in workspaces (#150205)
* Check if current folder is a path that should be excluded

* update regex to be an exact match
2022-06-08 10:46:54 -07:00
Rob Lourens c38afc571d
Switch deprecated editor.document -> editor.notebook (#151530) 2022-06-08 09:35:00 -07:00
Johannes 0656d21d11
auto-fixed prefer-const violation 2022-06-08 17:49:21 +02:00
Ladislau Szomoru 6f5fc17622
Git - use editor as commit message input (#151491) 2022-06-08 15:45:27 +02:00
余腾靖 d9f97a4e81
fix jsx text foreground in tomorrow-night theme (#151478) 2022-06-08 14:15:32 +02:00
Matt Bierner 1327d1eb50
Adopt ResourceMap in more places (#151475)
This changes switches to use the new `ResourceMap` type in more places in the markdown extension where we need to have a map/set with uris as the key
2022-06-08 08:34:06 +02:00
Matt Bierner 60a68d666d
Add resourceMap helper for markdown extension (#151471)
This change introduces a `ResoruceMap` map type that is essentially `Map<vscode.Uri, T>`

It also fixes a potential race condition with `MdWorkspaceCache` where two quick calls would both trigger init
2022-06-07 18:00:10 -07:00
Matt Bierner 9545af80f6
Fix markdown link detection for links with titles (#151459)
Fixes #151458
2022-06-07 20:58:29 +00:00
Matt Bierner 9f3cafba7d
Update grammars (#151383)
Updates the markdown and JS/TS grammars
2022-06-07 09:37:14 -07:00
Megan Rogge 7c22caad55
Use I prefix for task interfaces (#151350) 2022-06-07 09:27:44 -07:00
Rich Chiodo b658848c9b Fix test to work 2022-06-06 17:04:26 -07:00
Rich Chiodo 416ad2cbc6 Can't get tests to run with local bits, try submitting 2022-06-06 16:48:56 -07:00
Rich Chiodo 8f345dea8e Add unit test 2022-06-06 16:14:14 -07:00
Justin Chen bcc7ffae3e
bugfix on markdown underlines, addressing part of issue #136073 (#151178)
Co-authored-by: Justin Chen <t-justinchen@microsoft.com>
Co-authored-by: Matt Bierner <matb@microsoft.com>
2022-06-06 17:35:41 +00:00
Tyler James Leonhardt db60eaa2ee
Enable locale picker in web (#150496)
* Enable locale picker in web

* fix the test by getting the locale from the loader config
2022-06-06 10:34:00 -07:00
Matt Bierner 4ebbf52928
Pick up TS 4.7.3 (#151246)
Includes minor fixes
2022-06-03 20:08:35 +00:00
Ladislau Szomoru d99d645c8d
Git - Switch to using the remoteName context key (#151212)
Switch to using the remoteName context key
2022-06-03 09:43:42 -07:00
Martin Aeschlimann 1805df1a11
Validation not working in settings JSON (#151202)
JSON/HTML/CSS update services
2022-06-03 12:45:45 +02:00
Ladislau Szomoru 5f823f0deb
Git - Add minItems/maxItems for branch dictionary setting (#151132)
Add minItems/maxItems for branch dictionary setting
2022-06-02 16:48:25 +00:00
Logan Ramos 70647a2ffd
Fix #150041 (#151108) 2022-06-02 11:02:26 -04:00
Ladislau Szomoru 59fa71999e
Git - branch name generation setting feedback (#151106) 2022-06-02 14:27:06 +00:00
Ladislau Szomoru 4bd12af7f6
Git log level polish (#151095) 2022-06-02 09:10:18 -04:00
Isidor Nikolic 96c9311e18
fix github push error handler regex (#151072)
Co-Authored-by: joaomoreno
Closes: #148568
Closes: #143083
Closes: #148326
2022-06-02 08:02:56 +00:00
Tyler James Leonhardt 15253f1528
add a comment for session.scopes (#151050) 2022-06-01 20:02:05 -07:00
Joyce Er b9b2862341
Align auth scopes (#151045) 2022-06-01 16:50:05 -07:00
Matt Bierner e44f4ba886
Add experimental tag to experimental extension settings (#151031)
This makes a few more extension settings with the `experimental` tag so that show up if you search `@tag:experimental`
2022-06-01 16:32:58 -07:00
Matt Bierner 9302343e8e
Also ignore star checkboxes (#151029)
Fixes #150672

This makes our md link detection also ignore checkboxes like `* [x]` instead of just `- [x]`
2022-06-01 21:23:29 +00:00
Tyler James Leonhardt 0715386207
Return scope array that was given to us so that account icon number goes away (#151027) 2022-06-01 14:16:24 -07:00
Matt Bierner 7477efd87e
Better message for markdown reference links (#151018)
Fixes #151017

Also improves the diagnostic message for invalid reference links to make it clear we are talking about a missing link definition
2022-06-01 19:01:36 +00:00
Josh Spicer d9c21dc901
better approach for codespaces permissions dev container schema (#150909) 2022-06-01 15:49:31 +02:00
Ladislau Szomoru 185d3ee2a1
Fix #150725 (#150956) 2022-06-01 11:36:22 +02:00
Matt Bierner e6fff5ecff
Don't parse checkboxes are links in markdown (#150914)
Fixes #150672
2022-05-31 14:57:32 -07:00
Solomon Kinard 3c6fdedd0e
Quick spelling update (#150759)
https://github.com/Sertion/vscode-gitblame/pull/123
2022-05-31 21:06:38 +00:00