Commit graph

13844 commits

Author SHA1 Message Date
Matt Bierner adddf406d0
Simplify buffer enums (#182811) 2023-05-18 00:01:06 +02:00
Ladislau Szomoru 46c9471450
Git - fix git status regression for git versions older than 2.18 (#182739)
* Git - fix git status regression for git versions older than 2.18

* 💄 - Tweak version number
2023-05-17 11:17:53 +02:00
Matt Bierner bfc0808ac1
Bump TS versions (#182695)
Picks up new TS for building VS code: nightly, 5.2

Picks up new bundled TS version: last 5.1 release
2023-05-17 02:34:14 +02:00
Matt Bierner 1569f9d9d7
Don't cancel file reopen if language has changed (#182657)
Fixes #182526

The chat panel changes the language of a document. This revealed a bug in JS/TS about language changes.

Normally changing a language should close and reopen a text document. However we added an optimization to not do this full flow if the open then close happens quickly

However this causes issues if the file changes languages as TS gets into a state where its doc language id does not match VS Code's language id. To fix this, I've limited the optimization to only apply when the expected script kinds match
2023-05-16 12:28:14 -07:00
Connor Peet 8b3523a18d
api: implementation of proposed window activity API (#182563)
* api: implementation of proposed window activity API

For #181569

* fix build

* fix build more

* add cell activity per @rebornix
2023-05-16 17:49:33 +02:00
Christof Marti fb8bf97485 Remove obsolete warning (#170049) 2023-05-16 11:31:46 +02:00
Matt Bierner 7a7d45793b
Allow external copying files into the workspace on markdown drop / paste (#182572)
Allow copying files in the workspace on markdown drop / paste

Fixes #157043

Also:

- Renames the markdown paste settings and makes them no longer experimental
- Makes the copyFiles setting no longer experimental
- Adds a `markdown.copyFiles.overwriteBehavior` which lets you control if/how existing files are overwritten
2023-05-15 20:17:52 -07:00
Matt Bierner 09023d824a
Try to fix flaky paste tests (#182574)
These tests fail occasionally in CI, seemingly only on linux. This tries to fix this by:

- Adding retries
- Switching back to use `teardown` to disposed of things. `usingDisposable` may not clean up properly if the test times out
2023-05-15 19:56:25 -07:00
Ladislau Szomoru b7be44e639
GitHub - fix an issue with toggling branch protection setting (#182536)
* GitHub - fix an issue with toggling branch protection setting

* 💄 Remove variable

* Pull request feedback
2023-05-15 21:03:27 +02:00
Joyce Er 2c5dcb3b81
Allow Continue On between repos with HTTPS and SSH remotes (#182352)
* Deduplicate HTTPS and SSH remote URLs

* Improve doc
2023-05-15 11:37:38 -07:00
Matt Bierner 06fc826c30
Copy paste api should not fail on invalid provider (#182535) 2023-05-15 20:24:15 +02:00
Connor Peet ba7435efd6
Merge pull request #180263 from microsoft/connor4312/inline-remote-resolver
remote: first cut at 'inline' remote resolvers
2023-05-15 08:31:26 -07:00
Ladislau Szomoru 4981453f79
Git - fix working tree file system watcher regex (#182310) 2023-05-15 16:07:15 +02:00
Ladislau Szomoru f47327fee9
Git - fix branch creation regression (#182504) 2023-05-15 06:57:12 -07:00
Gabriel Staples b4368691e9
all color themes: treat comment docstrings as comments too (#182162)
* monokai-color-theme.json: treat Python comment string blocks

...as comments too

* Update *all* themes to consider Python block string comments as comments

	modified:   extensions/theme-abyss/themes/abyss-color-theme.json
	modified:   extensions/theme-defaults/themes/dark_vs.json
	modified:   extensions/theme-defaults/themes/hc_black.json
	modified:   extensions/theme-defaults/themes/hc_light.json
	modified:   extensions/theme-defaults/themes/light_vs.json
	modified:   extensions/theme-kimbie-dark/themes/kimbie-dark-color-theme.json
	modified:   extensions/theme-monokai-dimmed/themes/dimmed-monokai-color-theme.json
	modified:   extensions/theme-monokai/themes/monokai-color-theme.json
	modified:   extensions/theme-quietlight/themes/quietlight-color-theme.json
	modified:   extensions/theme-red/themes/Red-color-theme.json
	modified:   extensions/theme-solarized-dark/themes/solarized-dark-color-theme.json
	modified:   extensions/theme-solarized-light/themes/solarized-light-color-theme.json
	modified:   extensions/theme-tomorrow-night-blue/themes/tomorrow-night-blue-color-theme.json

* Update all changes to use "string.quoted.docstring"

...instead of "string.quoted.docstring.multi.python", per
@aeschli's request here:
https://github.com/microsoft/vscode/pull/182162#issuecomment-1545296640

This way the comment formatting applies to *all* language quoted
docstrings, instead of just to Python.

* bring back python colorize tests

---------

Co-authored-by: Martin Aeschlimann <martinae@microsoft.com>
2023-05-15 14:38:43 +02:00
Ladislau Szomoru b0252732a7
Git - add similarity threshold setting (#182492) 2023-05-15 12:59:33 +02:00
Aaron Munger 89eec20d07
Merge pull request #180715 from microsoft/aamunger/scrollOutputWithKeys
keep scroll related key events in scrollable region
2023-05-12 08:50:44 -07:00
Matt Bierner 9b6b547d2d
Fix range when copying empty selection (#182227)
This fixes the range extensions get when copying an empty selection. As part of this, I've also:

- Added tests for this change
- Made the paste parts of the api optional. This is useful when a test provider only wants to add data on copy
2023-05-11 17:31:11 -07:00
Matt Bierner bf7ca503c2
Fix drop priorities for notebooks (#182209)
For copy paste, I added logic to prefer using the text content if there's both `image/*` and `text/*` content in the clipboard

This however I also incorrectly applied this logic when dropping. In those cases, we instead want to prefer the image data (at least we do in the case of dragging and dropping from VS Code's explorer)
2023-05-11 13:03:28 -07:00
Connor Peet f76fd4f664
address pr comments 2023-05-11 12:29:42 -07:00
Aaron Munger 9ede543860
Merge branch 'main' into aamunger/scrollOutputWithKeys 2023-05-11 11:07:02 -07:00
Connor Peet 364b84e3ec
Merge remote-tracking branch 'origin/main' into connor4312/inline-remote-resolver 2023-05-11 09:55:21 -07:00
Raymond Zhao 075c89881f
Bump emmet-helper (#180583) 2023-05-10 16:17:58 -07:00
Aaron Munger 8f92d4b1ef
Merge pull request #182117 from microsoft/aamunger/linkDetection
reduce false positive link detection
2023-05-10 15:06:07 -07:00
Peng Lyu 19545fea33
Fix isEmbeddedDiffEditor context key. (#182112)
Fix isInEmbeddedEditor context key.
2023-05-10 14:47:31 -07:00
Matt Bierner 4d38422afe
Add priority to paste / drop apis (#182109)
* Add priority to paste / drop apis

Fixes #181886

Replacement for #181453

* Make notebooks prefer text over creating attachments
2023-05-10 14:18:05 -07:00
Aaron Munger 54f486aba5
Merge branch 'main' into aamunger/linkDetection 2023-05-10 14:05:53 -07:00
aamunger 2a7639b907
use look behind so whitespace is not matched 2023-05-10 13:59:44 -07:00
aamunger 5cedfd4b84
reduce false positive link detection 2023-05-10 13:33:14 -07:00
Matt Bierner 8b11c814cc
Use better placeholder for move to file (#182108) 2023-05-10 12:56:25 -07:00
aamunger 2e902f0ac5
only listen for scroll events when scrolling is possible 2023-05-10 12:55:14 -07:00
Ladislau Szomoru b4469cf109
Git - add setting to control default branch name (#181884)
* Initial implementation

* Refactor based on discussions

* More pull request feedback
2023-05-10 20:52:13 +02:00
aamunger c56c481890
keep scroll related key events in scrollable region 2023-05-10 10:40:30 -07:00
Matt Bierner ca51a4b04c
Add paste as command (#181959)
For #30066

This command shows a quick pick that lets you select how to paste content
2023-05-10 06:17:42 -07:00
Ladislau Szomoru 4182ec739b
GitHub - clear branch protection when signing out (#182053) 2023-05-10 06:16:56 -07:00
Martin Aeschlimann 32b8325159
Error while computing completions with snippets (#182007) 2023-05-10 10:14:27 +02:00
Matt Bierner 62bf9e45b6
Pick up latest TS for building VS Code and for builtin JS/TS (#181968) 2023-05-09 17:39:59 -07:00
Michael Lively 8867d20020
Remove ipynb.pasteAsAttachment setting to default to editor.pasteAs.enabled behavior (#181445)
* remove `ipynb.pasteAsAttachment` setting

* change default value to align with package.json

* Revert "remove `ipynb.pasteAsAttachment` setting"

This reverts commit 7471c030af.
2023-05-09 17:25:48 -07:00
Matt Bierner 83c12a2da2
Allow creating multiple files or attachments on paste (#181975) 2023-05-09 17:20:37 -07:00
aamunger 6ddb254475
remove extra tabindex assignment 2023-05-09 15:13:29 -07:00
aamunger f9ee1a2abc
make all builtin output containers focusable 2023-05-09 15:03:58 -07:00
Matt Bierner a99c29b544
Fix setting reference (#181938) 2023-05-09 21:10:04 +02:00
Connor Peet 2bc8da8327
Merge remote-tracking branch 'origin/main' into connor4312/inline-remote-resolver 2023-05-09 11:48:20 -07:00
Matt Bierner ab0a574bb9
Don't enable paste to create files in untitled files (#181929) 2023-05-09 20:45:19 +02:00
Ladislau Szomoru 3dd678d2b0
GitHub - update authentication flow for branch protection (#181924)
* GitHub - tweak authentication request

* Add tracing messages
2023-05-09 20:10:00 +02:00
Matt Bierner 8023c8377b
Pick up latest markdown language service (#181910) 2023-05-09 18:17:09 +02:00
Ladislau Szomoru a54b497150
GitHub - refactor branch protection (#181880)
* GitHub - rewrite to use GraphQL instead of REST

* Add paging
2023-05-09 13:14:54 +02:00
Tyler James Leonhardt f9b4b4c6a3
Pass session down so we can avoid a network call (#181570)
We don't need to fetch the user details when the Auth Session already has the info we need. This PR removes that extraneous web request.

I've also changed the `User-Agent` that we pass to be more specific so we can narrow down any future issues with spamming web requests.

Fixes #173645
2023-05-04 11:59:25 -07:00
Michael Lively f198ea9177
Check for attachment: in markdown cell renderer (#181462)
actually check if its json attachment style...
2023-05-03 16:51:22 -07:00
Matt Bierner 0447670033
Pick up latest TS for bundled TS and building VS Code (#181438) 2023-05-03 13:13:14 -07:00
Bhavya U 6efb31c7a9
Add temporary nodeJS walkthrough (#181441) 2023-05-03 12:31:11 -07:00
Michael Lively c621b7adeb
Merge pull request #181427 from microsoft/protestant-ptarmigan
Enable paste as widget for notebook cells
2023-05-03 10:07:56 -07:00
Michael Lively 2a6b42a71c
enable paste widget for notebook cells 2023-05-03 09:51:29 -07:00
Ladislau Szomoru 1fc3c56ed8
Git - do not show publish branch action button when a tag is checked out (#181402) 2023-05-03 14:43:15 +02:00
Matt Bierner 6384b9bcdf
Add setting to disable paste as functionality and paste widget (#181375)
For #30066

This removes the `editor.experimental.pasteActions.enabled` setting in favor of `editor.pasteAs.enabled` (which also defaults to on)
2023-05-03 08:55:06 +02:00
Matt Bierner 37577f6b29
Fix casing on label (#181338) 2023-05-02 17:37:42 +02:00
Don Jayamanne 90bf5a07e4
Check for cell when determining default cell lang (#181079) 2023-05-02 17:05:45 +02:00
Henning Dieterichs 9e0b621db0
Merge pull request #181203 from yshaojun/fix/168110
fix: fix perl bracket pair by adding unbalancedBracketScopes(#168110)
2023-05-02 14:15:53 +02:00
Matt Bierner 11ca8d75a1
Add widget to change how content is pasted (#181290)
* Add widget to change how content is pasted

For #30066

This adds a widget that lets you change how content is pasted if there are multiple ways it could be pasted

To do this, I've made the post drop widget generic and reused it for pasting too

* Update types

* More code deduplication
2023-05-02 09:40:04 +02:00
Matt Bierner be03603bfe
Remove duplicated types (#181267) 2023-05-01 19:15:34 +00:00
yshaojun e17d67a952 fix: fix perl bracket pair by adding unbalancedBracketScopes(#168110) 2023-04-30 10:11:14 +08:00
Alex Ross a68448fcb4
Update grammars (#181143) 2023-04-28 17:43:01 +02:00
Ladislau Szomoru 1c59c16f20
GitHub - avoid double prompting when github.branchProtection setting is enabled (#181137) 2023-04-28 08:40:25 -07:00
Benjamin Pasero 71bb936e87
Perf: register a file provider in the ext host to avoid certain roundtrips (#181107)
* register a `file` provider in the ext host

* fix tests

* comments

* address feedback
2023-04-28 17:31:54 +02:00
Joyce Er 180f909fac
Avoid double encoding vscode.dev links (#181002) 2023-04-27 08:48:29 +02:00
Tyler James Leonhardt 738ab7954c
Add mode to the notification (#180977)
ref https://github.com/microsoft/vscode/issues/180803#issuecomment-1522947472
2023-04-26 23:16:39 +02:00
Martin Aeschlimann 0af79d4146
[json] update service (#180972) 2023-04-26 22:50:09 +02:00
Peng Lyu 30e62e1bf8
Fix #177405. Treat error as plain text. (#180960) 2023-04-26 19:28:28 +02:00
Matt Bierner 8243eb2556
Fix enumItem labels (#180889)
`javascript.preferences.importModuleSpecifierEnding` and `typescript.preferences.importModuleSpecifierEnding` got out of sync here
2023-04-25 16:14:03 -07:00
Martin Aeschlimann d53381b114
json/css/html: update dependencies (#180714)
* json/css/html: update dependencies

* update services
2023-04-25 12:29:42 +02:00
Martin Aeschlimann e04309e92a
Default Themes: Rename Experimental to Dark Modern (#180785)
Default Themes: Rename Experimental to Modern
2023-04-25 09:02:17 +02:00
Aaron Munger af972cc9e6
Merge pull request #180569 from microsoft/aamunger/outputAccessibility
ensure the focus is actually set to the correct output
2023-04-24 16:32:39 -07:00
Matt Bierner 42fbc2f784
Use custom command to open JS doc links (#180737)
Fixes #162507

Prevents incorrect auto transform of the uri
2023-04-24 15:05:14 -07:00
Aaron Munger 7c07ee8949
Merge pull request #180753 from microsoft/aamunger/truncationMessage
fix message formatting
2023-04-24 14:32:47 -07:00
aamunger 53b0058b13
fix message formatting 2023-04-24 14:17:44 -07:00
aamunger 4602cf075a
fix class selection query 2023-04-24 14:05:27 -07:00
Tyler James Leonhardt 1714f71c41
Organize Errors in GitHub Auth and make sure no double prompting happens (#180734)
* Organize Errors in GitHub Auth and make sure no double prompting happens

This mostly just moves some strings into variables... but this also fixes the GH Auth side of https://github.com/microsoft/vscode/issues/180697 so you should only be asked once if you want to try a different way to log in.

* add comments
2023-04-24 12:59:03 -07:00
Aaron Munger 3897a9cafb
Merge branch 'main' into aamunger/outputAccessibility 2023-04-24 12:53:28 -07:00
Aaron Munger af8b51ed1e
Merge pull request #180738 from microsoft/aamunger/scrollingWhileStreaming
don't stick the scrollbar to the bottom if scrolled up
2023-04-24 12:45:51 -07:00
aamunger 59ef73fea3
check the scroll height of the correct element 2023-04-24 11:23:25 -07:00
Matt Bierner 03540d605f
Pick up latest TS for building VS code (#180706) 2023-04-24 20:14:30 +02:00
aamunger 33c124ca7e
split out event propagation handling 2023-04-24 08:55:01 -07:00
Aaron Munger 58a76bcee0
Merge branch 'main' into aamunger/outputAccessibility 2023-04-24 08:51:37 -07:00
Benjamin Pasero 3a69e153f6
quick access - allow a Promise<FastAndSlowPicks<T>> and adopt for commands (#180664)
* quick access - allow a `Promise<FastAndSlowPicks<T>>` and adopt for commands

* fix telemetry
2023-04-24 06:41:25 +02:00
Matt Bierner ab7c32a5b5
Specify codeActionKinds (#180576)
Avoids extra calls and lets us show this info in the UI
2023-04-21 23:46:30 +02:00
Tyler James Leonhardt bede6ba243
Instrument Microsoft account type (#180573)
So we can see if folks are using MSA or AAD accounts. Also, this cleans up some dead code.

Fixes https://github.com/microsoft/vscode-internalbacklog/issues/3903
2023-04-21 14:23:34 -07:00
aamunger 31cd1ee042
ensure focus is set correctly in output, enable keyboard scrolling for outputs 2023-04-21 13:26:35 -07:00
Kartik Raj f80485dcdf
Merge pull request #179323 from microsoft/kartik/terminal
Add proposed API to specific workspace-specific environment variables via EnvironmentVariableCollection
2023-04-20 15:00:29 -07:00
Kartik Raj d3b1c67267 Fix terminal integration tests 2023-04-20 20:42:07 +00:00
Anthony Stewart 92d528bbd3
Support copying non-pngs and wait for focus to avoid race conditions (#180322)
* Support copying non-pngs and wait for focus to avoid race conditions

* Remove the temporary canvas element after copying

* Update to place entire canvas creation inside promise.

* Increasing to 5 retries 20ms apart
2023-04-20 18:51:41 +00:00
Kartik Raj 50408e199f Make scope as optional 2023-04-20 18:41:50 +00:00
Benjamin Pasero 1ed110b6be
Return resulting URI from commands that save the active editor (fix #178713) (#179091)
* Return resulting `URI` from commands that save the active editor (fix #178713)

* 💄

* address feedback

* change to real proposed API

* cleanup
2023-04-20 18:00:12 +02:00
Ladislau Szomoru 5ea57c3b48
GitHub - leveral repository rules for branch protection (#180416)
* WIP - switching to use repository ruleset information

* Handle includes

* Refactor to add support for exclusion

* Fix exclude condition

* Fix request string

* Add logging

* Update setting description
2023-04-20 16:43:42 +02:00
Matt Bierner 6a9c24cbd0
Update importModuleSpecifierEnding to mention .ts (#180349)
Makes the `importModuleSpecifierEnding` settings mention that it can include `.js` or `.ts`
2023-04-19 20:43:53 +02:00
Matt Bierner 3273501a5a
Address drop UX feedback (#180343)
- Reduce margin on button
- Change icon to insert
- Try to align styling to match other editor widgets
- Use capital casing on entries
2023-04-19 19:05:56 +02:00
Matt Bierner 2f07466dfc
Allow dropping images into notebook cells to create attachments (#180256)
* Allow dropping images into notebook to create attachments

Fixes #157577

This allows you to drag and drop image files or image data into a notebook cell to create an attachment

As part of this work, I also updated the paste attachment logic so that we can:

- Create multiple attachments in a single operation
- Create attachments of other mime types besides `image/png`
- Create attachments for images that have spaces in the filename

* Also allow pasting uri lists to create attachments

* Fix indent

* Add id
2023-04-19 09:39:04 -07:00
Matt Bierner 4f5c7b295c
Allow copying images from image preview (#180269)
Allow copying image from image preview

Fixes #171616

Lets you cmd+c / right click to copy images from the image preview

Also disables the copy/paste options in the other media previews since they don't currently support copying
2023-04-18 19:19:09 -07:00
Matt Bierner 6fefe056e2
Don't show JS/TS loading indicator eagerly (#180265)
This fixes the loading indicator showing when an extension opens an in-memory JS file that doesn't belong to any project
2023-04-18 19:14:49 -07:00
Matt Bierner f24d50369f
Add note on required TS version to setting (#180271) 2023-04-18 19:14:17 -07:00
Connor Peet f5427eed53
remote: first cut at 'inline' remote resolvers
For web, it seems the most feasible direction for resolvers as we make
existing remote extensions 'web enabled' is to allow them to run in the
extension host. However, in no case will there just be a simple
websocket we can connect to ordinarily.

This PR implements a first cut at 'inline' resolvers where messaging is
done in the extension host. I have not yet tested them on web, where I
think some more wiring is needed to mirror desktop. Also, resolution of
URLs is not in yet. I think for this we'd want to do some service-worker
-based 'loopback' approach to run requests inline in the remote
connection, similar to what I did for tunnels...

Resolvers are not yet run in a dedicated extension host, but I think
that should happen, at least on web where resolvers
will always(?) be 'inline'.

Most of the actual changes are genericizing places where we specified
the "host" and "port" previously into an enum. Additionally, instead of
having a single ISocketFactory, there's now a collection of them, which
the extension host manager registers into when a managed resolution
happens.
2023-04-18 15:54:20 -07:00
Matt Bierner f6de066b4c
Improve labels when dropping resources into markdown files (#180260) 2023-04-18 15:11:38 -07:00
Donald33 Wang 7122771026
Support custom switch-case indentation (#179670) 2023-04-18 17:24:51 +00:00
David Dossett 7f5644cc70
Fix active list background in dark+ v2 (#180170) 2023-04-18 07:50:26 -07:00
Matt Bierner 95396f14db
Don't complete jsx tag as function call (#180171)
Fixes #177606
2023-04-17 21:12:28 -07:00
Matt Bierner b242a8730c
Bump JS/TS grammars (#180160) 2023-04-17 21:27:38 +01:00
KapitanOczywisty 06401b39b1
Update PHP grammar from fork (#180100) 2023-04-17 18:42:57 +00:00
Ladislau Szomoru 218b8bd8da
SCM - Add document property to expose the text document (#171504) 2023-04-14 13:55:14 +02:00
Joyce Er 5d454b0afc
Fix search editor activation (#179924) 2023-04-13 23:50:44 +01:00
Matt Bierner 739b93cce8
Update drop metadata proposal (#179918)
- Makes `dropMimeTypes` required
- Prefix the actual `id` used internally with the extension id
- Allow wildcard mime types, such as `image/*`
2023-04-14 07:59:38 +10:00
Matt Bierner 830d534e27
Allow passing in a DataTransferFile to workspace edit (#175809)
* Allow passing in a `DataTransferItem` to workspace edit

Fixes #175800

Allows you to pass a file `DataTransferItem` to `WorkspaceEdit.createFile`. This lets us avoid transferring the data back and forth to the extension host, and also avoid having to base64 encode and decode it, significantly improving performance for large files

* Take data transfer file instead of data transfer item
2023-04-13 14:08:08 -07:00
Tyler James Leonhardt 3a02bc9de1
Updates from the rename (#179901)
* Updates from the rename

Azure Cloud -> Microsoft Sovereign Cloud

* remove azure once more
2023-04-13 13:01:13 -07:00
Tyler James Leonhardt b0d7acec38
Logger per auth provider (#179896)
So that we can have an output channel for each.
2023-04-13 19:26:36 +01:00
Matt Bierner 24c44070ae
Revert "Nicely format logged objects (#179405)" (#179894)
This reverts commit 5d3f960b67.

Based on comments in https://github.com/microsoft/vscode/pull/179405#issuecomment-1506843399
2023-04-13 18:55:06 +01:00
Ladislau Szomoru 2c7cc4ddea
GitHub - do not get branch protection if the user does not have push permission (#179879) 2023-04-13 07:42:12 -07:00
Ladislau Szomoru f972a31938
GitHub - restore/save branch protection to global state (#179855) 2023-04-13 14:43:12 +02:00
Ladislau Szomoru 45a44d1786
Git/GitHub - Branch protection refactoring (#179848)
Branch protection refactoring
2023-04-13 10:14:33 +01:00
Martin Aeschlimann 05bb1775dc
Set new default theme (#179812) 2023-04-12 15:45:39 -07:00
Matt Bierner 26ccce443f
Enable renaming of matching jsx tags (#179806)
Fixes #159534

Uses the new linked editing api to make f2 rename matching jsx tags
2023-04-12 21:42:59 +02:00
Joyce Er 3cf3ef8897
Encode slash-delimited branch and file segments in links (#179801) 2023-04-12 21:14:24 +02:00
Kartik Raj 22631c1bdc Do not return variable property 2023-04-12 17:40:00 +00:00
Ladislau Szomoru bb7570f4f8
GitHub - branch protection provider (#179789)
* Initial implementation

* Update default setting state
2023-04-12 17:42:51 +02:00
Alex Ross 0e8b1c8e09
Confusing Bash/Shell syntax highlighting (#179775)
Fixes #179749
2023-04-12 14:33:55 +01:00
Alex Ross d77e53a2b3
Update shellscript grammar (#179758) 2023-04-12 13:39:51 +01:00
Ladislau Szomoru a1eb9e2b48
Git - implement branch protection provider (#179752)
* Branch protection using settings is working

* Revert extension api changes

* Refactor code
2023-04-12 08:48:29 +01:00
Kartik Raj 8c3884bed5 Fix terminal integration test 2023-04-12 03:28:13 +00:00
Matt Bierner 8db8e63b44
Pick up latest TS for building VS Code (#179714) 2023-04-11 14:50:16 -07:00
Matt Bierner d6f23042e3
Log uri as a string instead of as an object (#179721) 2023-04-11 14:19:12 -07:00
Matt Bierner e9262678fa
Add drop feedback UX (#179434)
For #179430

Adds two new UX components:

- An inline progress icon shown when a drop operation takes over 500ms. This replaces the notification. You can click on it to cancel the drop

- Post drop, a drop feedback icon that lets you drop the file in a different way. This lets you drop the file as plain text for instance instead of as a markdown link
2023-04-11 13:48:24 -07:00
Matt Bierner 5d3f960b67
Nicely format logged objects (#179405)
Follow up oin https://github.com/microsoft/vscode/issues/176479#issuecomment-1498597499

This uses JSON.stringify to format objects that are logged. Currently they are all printed as a single line without any whitespace
2023-04-11 13:04:44 -07:00
易良 e9baeb3608
fix: typos (#179581) 2023-04-11 09:20:38 -07:00
Matt Bierner a58d9dc08f
Update linked editing file name (#179643)
Also make sure we are enabled in all syntax files
2023-04-10 15:55:44 -07:00
Matt Bierner 06659f0ba9
Add stubs for jsx linked editing (#176279)
* Add stubs jsx linked editing

For https://github.com/microsoft/TypeScript/issues/51832

* Update for new TS changes

* Update to finalized protocol
2023-04-10 23:32:09 +01:00
Joyce Er 812f3f5fc4
Insert <video> tag for shift+mp4 into .md (#179489)
* Insert `<video>` tag for `shift`+mp4 into .md

* Simpler drop text
2023-04-10 15:30:34 -07:00
Matt Bierner 58d7595154
Pick up TS 5.0.4 (#179618)
For #179616
2023-04-10 10:54:54 -07:00
Raymond Zhao 8e89509008
Fix notebook-renderers compile error (#179506) 2023-04-10 10:01:12 -07:00
Brandon Waterloo [MSFT] f9d14d68fb
Support sovereign/custom clouds in microsoft authentication provider (#178725) 2023-04-07 16:38:38 -07:00
Matt Bierner e0ebb7b740
Make script blocks respect js/ts.implicitProjectConfig.strictNullChecks (#179333)
Fixes #179331

Also fixes experimental decorators for script blocks
2023-04-06 15:59:44 +02:00
Joyce Er 413f98e499
Implicitly activate only main language contribs (#179287) 2023-04-06 10:12:17 +02:00
Andrew Branch 117668153b
[typescript-language-features] Support replacing Go to Definition with Go to Source Definition by preference (#178840)
* Add preference for replacing Go to Definition with Go to Source Definition

* Support replacing Go to Definition with Go to Source Definition by preference

* Predicate call on TS version
2023-04-05 21:17:01 +00:00
Matt Bierner fff3860de9
Always use vscode-textCodeBlock-background in rendered markdown (#179313)
Use vscode-textCodeBlock-background in rendered markdown

Fixes #179219
2023-04-05 23:02:22 +02:00
Aaron Munger 8d69fc71b7
Merge branch 'main' into aamunger/toggleScrolling 2023-04-05 12:40:48 -07:00
Michael Lively ff55375896
Add support for attachment cleaning on notebook save (#179178)
* support for `onWillSave` + debounce rework

* dispose of delayer + tabs not spaces...

* adjust for API naming change, rm proposal refs
2023-04-05 11:44:52 -07:00
aamunger c21478e430
small padding 2023-04-05 11:08:09 -07:00
aamunger c60f757130
updated truncation comment styling 2023-04-05 11:08:08 -07:00
aamunger d722674f02
updated comment 2023-04-05 11:08:06 -07:00
aamunger b7a495cdb8
adjust output truncation message 2023-04-05 11:08:04 -07:00
aamunger 8d55402690
toggle scrollable outputs by cell 2023-04-05 11:08:01 -07:00
Matt Bierner cc69fb1aad
Switch TS ext to use LogOutputChannel (#179205)
Fixes #176479
2023-04-05 10:44:21 -07:00
Daniel Rosenwasser 93026118c5
Remove Node.js walkthrough/getting started guide (#176325)
Remove Node.js walkthrough/getting started.

Co-authored-by: Matt Bierner <matb@microsoft.com>
2023-04-04 15:27:13 -07:00
Joyce Er 1db062d188
Finalize editor/lineNumber/context menu (#179168) 2023-04-04 23:27:51 +02:00