Commit graph

12385 commits

Author SHA1 Message Date
Raymond Zhao 98db85599e
Revert "Provide emmet abbreviations via inline completions (#147387)"
This reverts commit 94de38e7dd.
Reason: Found some bugs while demoing the feature.
2022-04-19 16:31:57 -07:00
Henning Dieterichs 94de38e7dd
Provide emmet abbreviations via inline completions (#147387)
This PR changes Emmet to use inline completions when suggesting completions.
It also provides a boolean setting so that users can opt out.
This PR does not change the "Wrap with Abbreviation" behaviour in Emmet.

Co-authored-by: Raymond Zhao <raymondzhao@microsoft.com>
2022-04-19 13:33:29 -07:00
Matt Bierner 800eec5645
Mark setting as experimental again
Will finalize along when we actually ship this api
2022-04-19 13:08:47 -07:00
Matt Bierner 08e838cba3
Don't encode paths 2022-04-19 10:13:38 -07:00
Alex Ross a576b4c066
Fix npm task path now that there's no slash 2022-04-19 15:15:36 +02:00
Tyler Leonhardt ed6d360182
add fallback auth server for github auth and better fallback logic 2022-04-15 15:48:29 -07:00
Tyler Leonhardt 9c15f4185a
add favicon and nonce enforcement in microsoft auth 2022-04-15 15:47:20 -07:00
Tyler Leonhardt 52a394bdea
Introduce removeSessionByIToken to remove sessions that aren't in this._tokens yet. Fixes #145189 2022-04-14 15:21:54 -07:00
Matt Bierner cba0a0e460
Always encode paths dropped in md 2022-04-14 14:55:22 -07:00
Matt Bierner 50ea16198d
Remove the concat text document api proposal
Fixes #146781
2022-04-14 14:39:44 -07:00
Tyler Leonhardt 5919378269
don't surface error on gets and remove microsoft secret migration. Fixes #146553 2022-04-14 12:18:33 -07:00
Johannes 4ea02deebd
ignore text document version whenever that document is marked as being created, fixes https://github.com/microsoft/vscode/issues/146964 2022-04-14 11:04:35 +02:00
Aaron Munger 274d8d4997
Merge pull request #147321 from amunger/outputLineHeight
Notebook cell output font settings
2022-04-13 12:06:08 -07:00
Matt Bierner 977c9c9f98
Revert "Always use nameSpan for code lenses"
This reverts commit d218b48067.

Fixes #147154
Fixes #146818

TS still needs to make tweaks before we can remove this logic
2022-04-13 12:00:06 -07:00
aamunger 9a87fe7eaf
added setting for notebook output line height 2022-04-13 09:12:28 -07:00
Benjamin Pasero 44b6695d4e
timeline - add setting to bring back "Uncommitted Changes" (#147372) 2022-04-13 17:10:28 +02:00
Ladislau Szomoru 0e5a8e4bc0
Git - Disable automatic repository scanning in the root of the HOMEDRIVE (#339)
* Disable automatic repository scanning in the root of the HOMEDRIVE

* Fix condition

* Pull request feedback
2022-04-12 11:03:24 -07:00
Matt Bierner 0d78957186
Update md grammar
Fixes #146610
2022-04-12 09:20:52 -07:00
Alex Ross 01cfc62ead
Update shellscript grammar and add new test 2022-04-12 16:49:52 +02:00
Alex Ross 5468607181
Make npm task path fix backwards compatible
Fixes #147193
2022-04-12 16:02:47 +02:00
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
Matt Bierner e9636bbce1
Don't have space in snippet
Fixes #146503
2022-04-01 11:15:25 -07:00
Matt Bierner ca267e3f5e
Error on rename in bare file links in definition 2022-04-01 11:15:24 -07:00
Matt Bierner 114b340f7a
Fix explicit references to own file 2022-04-01 11:15:24 -07:00
Martin Aeschlimann 1305aac01e
[css] Add CSS formatting option to place open brace on new line. Fixes #146398 2022-04-01 18:03:34 +02:00
Benjamin Pasero e8f26b998e
git - use same icon for comparing as core diff editor
//cc @lszomoru
2022-04-01 17:20:31 +02:00
Babak K. Shandiz 7fc55261aa
Ask user to select PR templates when forking a repository (#143733)
* Add getPullRequestTemplates method to discover templates

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

* Add method to quick pick for PR templates

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

* Handle possible PR templates

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

* Remove unnecessary return value assignment

Co-authored-by: João Moreno <mail@joaomoreno.com>

* Change comparison operands' order

Co-authored-by: João Moreno <mail@joaomoreno.com>

* Remove sorting template URIs in pickPullRequestTemplate

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

* Sort template URIs before showing quick-pick list

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

* Rename getPullRequestTemplates method to findPullRequestTemplates

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

* Find Github PR templates in-parallel using readdir/stat

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

* Export method for visibitliy in tests

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

* Add tests for Github PR template detection

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

* Add launcher configration to run Github tests

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

* 💄

* Replace stat with readDirectory for OS native case sensitivity

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

* Delete some files to avoid duplicate names on case insensitive envs

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

* Exclude deleted files from test case expected result

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

Co-authored-by: João Moreno <mail@joaomoreno.com>
Co-authored-by: João Moreno <joao.moreno@microsoft.com>
2022-04-01 07:07:33 -07:00
Johannes d58ff261d4
add integration tests for LiveShare specific notebook commands, https://github.com/microsoft/vscode/issues/125757 2022-04-01 10:57:49 +02:00
Martin Aeschlimann 7889866189
Merge pull request #146459 from andschwa/patch-1
Delete built-in PowerShell snippets
2022-04-01 09:41:55 +02:00
Matt Bierner 8b7086afdb
Fixing false positive ref link being detected 2022-03-31 19:09:14 -07:00
Matt Bierner c39d09a4c0
Working on initial support for renaming refs in md
For #146291
2022-03-31 18:28:23 -07:00
Matt Bierner 6b573340bd
Fixing references on header when looking at file extensions 2022-03-31 15:31:41 -07:00
Matt Bierner 8a6a300216
Simplify code for dealing with link definitions 2022-03-31 15:11:35 -07:00
Matt Bierner 57dffde3d4
Trying to clean up md link structure by moving defintion up a level 2022-03-31 15:11:35 -07:00
Matt Bierner 0e65adbda8
Initial work on rename in markdown
For #146291

Also fixes references triggered on a definition link
2022-03-31 15:11:34 -07:00
rebornix 0a2707bbf0
fix #146397. Clear container for html and plain text renderer. 2022-03-31 14:00:34 -07:00
Matt Bierner 6da26a9351
Fix duplicate resources sometimes opened from references 2022-03-31 11:56:37 -07:00
Matt Bierner e32a13be77
Fix references to header to return just the span of the header itself and not its body 2022-03-31 11:56:37 -07:00
Matt Bierner 464e50f207
Use more consistent method names 2022-03-31 11:56:37 -07:00
Matt Bierner 8d5ae2bdd9
Add auto enum case for ts.locale
Fixes #146436
2022-03-31 11:56:36 -07:00
Andy Schwartzmeyer e1533409f1 Delete built-in PowerShell snippets
These two snippets conflict with the PowerShell comment syntax (`<#`),
and since snippet suggestions are enabled by default,
it means it's not possible to type `<#` followed by an enter,
which is very often desired.
The enter unfortunately chooses to insert an entirely unhelpful `#endregion` snippet.
2022-03-31 11:41:06 -07:00
Johann Pardanaud 6a6df96d5e
Improve UX for markdown snippets (#146431)
Allow to directly paste a link markdown when using the `link` and `image` snippets
2022-03-31 09:44:24 -07:00
Matt Bierner 55719a3dc5
Remove dup type 2022-03-30 16:33:34 -07:00
Matt Bierner 1bb96d5d72
Mark methods private 2022-03-30 16:33:34 -07:00
Matt Bierner afad64c534
Move function to method 2022-03-30 16:33:33 -07:00
Matt Bierner 174924d73c
Clean up link data structure 2022-03-30 16:33:33 -07:00
Matt Bierner cfe0b1d480
Extract getReferencesToLink and getReferencesToReferenceLink 2022-03-30 16:33:32 -07:00
Matt Bierner 2510e3dca6
Refactoring md refs provider to prep for re-use 2022-03-30 16:33:32 -07:00
Matt Bierner 590a9bf8a3
Make sure double click in md preview always reveals target line
Fixes #146333
2022-03-30 15:49:56 -07:00
Matt Bierner 8a4f35d96a
Better comment 2022-03-30 15:49:56 -07:00
Gabriela Araujo Britto 88e3d49156
support label details (#146270) 2022-03-30 15:27:50 -07:00
Matt Bierner 6c7ba2de69
Fix refs to own file being included in md ref results from other file
For #146277
2022-03-30 15:22:15 -07:00
Matt Bierner 982a353285
workspaceFile -> workspacePath 2022-03-30 15:14:34 -07:00
Matt Bierner f3cb3510b8
Use joinLines helper 2022-03-30 15:14:34 -07:00
Matt Bierner bea2ce0111
Add assertReferencesEqual helper 2022-03-30 15:14:33 -07:00
Matt Bierner f68db8f6ba
Compare normalized fragments for md references
For #146277
2022-03-30 15:14:33 -07:00
Matt Bierner 767178d1b9
Remove duplicate function 2022-03-30 15:14:33 -07:00
Matt Bierner d441406b1e
Include invalid references as targets for find all references
For #146277
2022-03-30 14:36:03 -07:00
Matt Bierner 17783a09e5
Add support for reference to ref links in md
For #146277
2022-03-30 14:36:03 -07:00
Matt Bierner 0d69c2bbb7
💄 2022-03-30 14:36:02 -07:00
Matt Bierner 6d1b112d13
Make MdWorkspaceCache always store promises
Makes working with the class easier
2022-03-30 11:50:37 -07:00
Matt Bierner 2754cef4a7
Fix finding references from link without header ref 2022-03-30 11:38:50 -07:00
Matt Bierner ebd490f28e
Improve markdown references
For #146277

- Find all references on links
- Better support for links without a file extension
2022-03-30 11:38:50 -07:00
Matt Adam a727329516
Implement badge API for webviews and treeviews (#144775)
* Implement badge API for webviews and treeviews

* Address PR feedback

* Set badge priority

Part of #62783
2022-03-30 14:34:11 +02:00
Ladislau Szomoru 9f7eaad160
Additional logging for git commands 2022-03-30 12:15:20 +02:00
Jerome Lelong 0e52a7574f
Update to latex-basics 1.3.0 (#146308) 2022-03-30 11:46:44 +02:00
hello-smile6 45744133c3
Update package.json (#146278)
Fixes #146093
2022-03-30 09:35:56 +02:00
Johannes Rieken 43d0483dae
Merge pull request #146185 from microsoft/joh/notebookCleanup 2022-03-30 09:18:44 +02:00
Matt Bierner d06c17bd1b
Respect includeDeclaration for markdown references 2022-03-29 18:28:28 -07:00
Matt Bierner 8adb42079b
Fix slow positionAt impl for markdown references
- Use `vscode-languageserver-textdocument` instead of custom impl
- Reuse `InMemoryDocument`  across tests and working code
- Use `SkinnyTextDocument` in more places
- Fixes some test errors that seem to be caused by bad `InMemoryDocument` impl
2022-03-29 18:19:52 -07:00
Matt Bierner 338ae07ccb
Initial work on md references provider
#146277
2022-03-29 18:19:52 -07:00
Matt Bierner 9b6435af76
Extract MdWorkspaceCache
This lets us reuse this logic in other places
2022-03-29 18:19:51 -07:00
Matt Bierner 407b66a6d4
Remove extra await 2022-03-29 18:19:51 -07:00
Matt Bierner 0c3a241171
💄 2022-03-29 18:19:50 -07:00
Matt Bierner 3ce5c78cb9
Extract workspaceContents to own file 2022-03-29 18:19:49 -07:00
Matt Bierner 2783263582
Clean up link provider 2022-03-29 18:19:47 -07:00
rebornix b8f14d243b
fix #138683. 2022-03-29 17:18:13 -07:00
Tyler Leonhardt 62866e4fa5
use URL class in a few places 2022-03-29 16:20:08 -07:00
Matt Bierner 22fb4e9de8
Better align language provider names and export styles
- Use named exports
- use `Md*` for providers
2022-03-29 13:35:48 -07:00
Matt Bierner 4949f13d13
Organize imports 2022-03-29 13:25:40 -07:00
Matt Bierner 252515e59d
💄 2022-03-29 13:25:40 -07:00
Matt Bierner a2d9157a9a
Extract markdown scrolling code to own file 2022-03-29 13:25:39 -07:00
Matt Bierner d49fc3ca8d
Move files to better folders and add better name 2022-03-29 13:25:38 -07:00
Matt Bierner c8c6224c84
Remove unused hash functions 2022-03-29 13:25:37 -07:00
Matt Bierner 3bc3b1f8ec
Use padStart 2022-03-29 13:25:37 -07:00
Matt Bierner b21350fdcb
Use string uri as key instead of fsPath 2022-03-29 13:25:36 -07:00
Matt Bierner 28e2475f72
Use find instead of filter 2022-03-29 13:25:36 -07:00
Matt Bierner 15c617e5b0
Use ._register 2022-03-29 13:25:35 -07:00
Matt Bierner 7736c87cb0
Move markdown preview files to own folder 2022-03-29 13:25:35 -07:00
Matt Bierner ffd8aea1a7
Remove outdated comment 2022-03-29 13:25:34 -07:00
Ladislau Szomoru 29f9e51444
if 'git.untrackedChanges' is set to 'hidden' ignore untracked files when running 'git status'
Co-authored-by: Markus Korn <markus.korn@gmail.com>
2022-03-29 21:22:30 +02:00
Matt Bierner 55e005e2bf
Pick up TS 4.6.3 2022-03-29 10:14:42 -07:00
Alex Ross 2381cae3a5
Fix extra character in npm task path
Fixes #146165
2022-03-29 15:47:12 +02:00
Quan Zhuo f3990bfe9b
Fix issue #145134, fetch all repos for authenticated user (#145203)
Signed-off-by: Quan Zhuo <quanzhuo@kylinos.cn>
2022-03-29 15:02:11 +02:00
Johannes b1faab40de
adopt tests to new notebook change event 2022-03-29 11:58:54 +02:00
Alex Ross e8753df2e8
Update grammars 2022-03-29 11:11:11 +02:00
rebornix 53c9e8e6b3
fix #142184. 2022-03-28 10:35:42 -07:00
Tyler Leonhardt b1fb11e18c
have code-oss use device code flow 2022-03-28 09:05:28 -07:00
Peng Lyu 60016112dc
Merge pull request #146023 from microsoft/dev/joyceerhl/newfile
Display Jupyter New File contribution in Notebooks group
2022-03-25 11:53:43 -07:00
Martin Aeschlimann 14a552f72f
[css] selector separator newline. Fixes #145766 2022-03-25 10:21:37 +01:00
Joyce Er 31c338e5fa
Fix https://github.com/microsoft/vscode/issues/146022 2022-03-24 22:31:50 -07:00
Gabriela Araujo Britto 4e159b9e28
[typescript-language-features] Add includeCompletionsWithObjectLiteralMethodSnippets preference (#145941)
* create flag for object literal method snippet completions

* reword description
2022-03-24 15:17:43 -07:00
Matt Bierner 2edb9bc9ca
Reapply parcel/watcher adoption
Revert "Revert e7fffbf1c9169087f1098aedfe54c59c079fa3ac"

This reverts commit 6786b0ad7d.

Two changes:

- Lazy import parcel/watcher
- Add `@parcel/watcher` as a dev dep in extensions folder so that we pull in correct version for build os
2022-03-24 14:13:39 -07:00
Christof Marti 177fb07e50 Add "customizations" to unblock microsoft/dev-container-spec#1 2022-03-24 21:18:52 +01:00
Benjamin Pasero 126e4744ec
blue print tests for #145846 2022-03-24 17:02:17 +01:00
Dirk Baeumer 6786b0ad7d
Revert e7fffbf1c9 2022-03-24 09:04:05 +01:00
SteVen Batten 88632df6c9 update git: reveal in side bar
refs #145765
2022-03-23 16:47:43 -07:00
Tyler Leonhardt bee517564c
remove leading / so that local dev would work 2022-03-23 16:03:26 -07:00
Matt Bierner e7fffbf1c9
Use parcel for watching esbuild build files
Seeing small but consistent cpu usage when using esbuild's watcher. Switch to parcel to avoid this
2022-03-23 14:49:59 -07:00
Matt Bierner 5f5a917796
Remove test file 2022-03-23 14:49:59 -07:00
Martin Aeschlimann 632bf2c466
space around selector separator. Fixes #145767 2022-03-23 22:20:27 +01:00
Martin Aeschlimann 57b812582d
[css] Align formatter setting names. Fixes #145705 2022-03-23 18:26:30 +01:00
Martin Aeschlimann 6074970341
CSS format description references LESS. Fixes #145758 2022-03-23 18:03:40 +01:00
Benjamin Pasero 5f57f8c001
Editor is improperly marked isPreview in tabs api (fix #145755) 2022-03-23 10:39:21 +01:00
Benjamin Pasero 7de40ebc0b
remove uncommited changes (#145853) 2022-03-23 09:26:17 +01:00
Matt Bierner e6e907e721
Move drop into feature to own file 2022-03-22 18:18:03 -07:00
Matt Bierner 77d9be7a45
Use text/uri-list for drop into editor
For #145713
2022-03-22 17:36:32 -07:00
Matt Bierner 82c70007a3
Make sure we decode path components for md path completions
Fixes #145447
2022-03-22 16:58:37 -07:00
Matt Bierner d2db6fb2d0
Remove negative lookbehind in regexp
Fixes #145655
2022-03-22 14:34:46 -07:00
Johannes 0f648cd7db
add eslint rule to disallow look behind regex feature, ignore in git and markdown fyi @lszomoru, @mjbvz 2022-03-22 16:02:19 +01:00
Ladislau Szomoru c6a623c185
Fix #144671 2022-03-22 13:35:16 +01:00
Martin Aeschlimann 56661ec16a
[html] A 'return' statement can only be used within a function body. Fixes #143220 2022-03-21 20:27:20 +01:00
Logan Ramos a2d8edb83d
Tabs API renaming 2022-03-21 13:35:34 -04:00
Tyler Leonhardt 39c6779828
depend on stable vscode.dev for auth extensions 2022-03-21 09:35:34 -07:00
Ladislau Szomoru cfb685861a
Fix ESLint error 2022-03-21 16:45:56 +01:00
Backfighter b8a5e18171
Allow disabling integrated askpass (#115455)
The GIT_ASKPASS variable is currently enforced by vscode and there is no way to overwrite it.
This commit adds an options to disable the integrated askpass and use
your own.

Fixes #111839
2022-03-21 16:31:04 +01:00
Robo b4b5c4d979
ci: fix published server arhive name on macOS (#145509) 2022-03-21 06:29:24 -07:00
Sebastian Bresin 7ed4699079
feat: also expose repository.revert() (#145029) 2022-03-21 13:11:43 +01:00
João Moreno b390ac286b
OK 2022-03-21 09:30:09 +01:00
Tyler James Leonhardt 18df55c4d4
Use vscode.dev for GH auth (#145424)
* Use vscode.dev for GH auth

* use correct urls and fix URLSearchParams typing
2022-03-18 15:58:44 -07:00
Tyler Leonhardt f728c9289e
use global URLSearchParams 2022-03-18 14:52:18 -07:00
Logan Ramos 8d99738d84
Remove unnecessary return in tab close 2022-03-18 17:28:42 -04:00
Logan Ramos 9f0bdbc6c5
Add active tab test 2022-03-18 16:12:06 -04:00
Logan Ramos 00a4adef89
Enable active tab integration test 2022-03-18 15:32:28 -04:00
Logan Ramos 799eb643c4
Re-enable some integration tests 2022-03-18 15:25:45 -04:00
Matt Bierner bfc026b97a
Drop into text editor api proposal (#143334)
* Add drop into editor api proposal

For #142990

* Use AsyncEmitter
2022-03-18 11:32:11 -07:00
Logan Ramos b906904089
Fix compile errors 2022-03-18 14:26:51 -04:00
rebornix 9d673ebe34
FIX #144343. Update output items will re-render the cell output. 2022-03-18 10:50:50 -07:00
Martin Aeschlimann 50c8eb444d
[html, json] update services 2022-03-18 18:04:10 +01:00
Martin Aeschlimann aa65936ebf
add css formatter. fixes #19166 2022-03-18 18:04:09 +01:00
Logan Ramos 4d9393e9d3
Renamed NotebookEditorDiffTabInput 2022-03-18 12:53:55 -04:00
Logan Ramos 9b7268acf9
Update telemetry module 2022-03-18 11:34:33 -04:00
Johannes 86ed5ee8e4
simpler check for diff editors 2022-03-18 14:49:09 +01:00
Johannes c385364f5d
tabs - move move into TabGroups 2022-03-18 14:35:46 +01:00
Matt Bierner 307364a174
Check the static line cache for markdown custom editors
Fixes #138161
2022-03-17 16:06:07 -07:00
Logan Ramos 85c3df0dde
Tie in tab input, remove cleanup .d.ts 2022-03-17 16:54:44 -04:00
BamBamboozled b6f6a37cbd
Add support for references when no [] exists (#144781)
* add single reference linking regex

* add less invasive regex

* add lookahead to exclude [tag]: <url> case

* add tests for references when no [] exists

* revert integration test script

* make test description clearer

* remove vim swap file (whoops)

Co-authored-by: Jayce <grate.resales.0r@icloud.com>
Co-authored-by: Jefferson Chen <jc@Jeffersons-MBP.attlocal.net>
2022-03-17 12:55:31 -07:00
Logan Ramos c56ff000d4
Move close and add array support 2022-03-17 10:59:28 -04:00
Logan Ramos 1e0f8c9ba1
Re-enable vscode.open tab est 2022-03-17 10:59:27 -04:00
Matt Bierner 7ba9564ac6
Use correct casting when working with Object.freeze
Casting the result of Object.freeze results in a non-readonly object. Instead we should pass the type along to the call to `Object.freeze`
2022-03-16 16:00:32 -07:00
Logan Ramos dfd1f28552
Skip test 2022-03-16 18:10:37 -04:00