Commit Graph

13907 Commits

Author SHA1 Message Date
Matt Bierner
538da53226 Dispose of file watchers when web TS server exits (#185815)
Dispose of file watchers when TS server exits
2023-06-21 17:14:21 -07:00
Matt Bierner
e30b2359c5 Add logging for TS extension file watcher creation (#185813)
Add logging for extension file watcher creation
2023-06-21 15:36:39 -07:00
Joyce Er
31478cefc5 Ask user to commit/push changes when copying links (#185802)
* Ask user to commit/push changes when copying links

* Don't show an error message for cancellation errors
2023-06-22 00:28:32 +02:00
David Dossett
f72ec2a43f Update markdown h1-h6 styles (#185801)
* Update markdown h1-h6 styles

* Fix separator height
2023-06-21 21:03:57 +02:00
Fawzi Abdulfattah
46e83a2613 feat: adding optional support for auto playing and looping videos (#184758)
* feat: adding options to support videos looping and auto playing

Signed-off-by: Fawzi Abdulfattah <iifawzie@gmail.com>

* chore: adding on mute to the videos auto play setting's description

Signed-off-by: Fawzi Abdulfattah <iifawzie@gmail.com>

---------

Signed-off-by: Fawzi Abdulfattah <iifawzie@gmail.com>
2023-06-21 17:51:00 +00:00
Hans
48ff3ffb7c Fix #182013 (#184677)
* Fix #182013

* 💄

* 💄
2023-06-21 17:10:09 +00:00
Aaron Munger
1a3cc15742 Merge pull request #184757 from microsoft/aamunger/fileBackedIW
use scratchpad for IW working copy
2023-06-21 06:15:45 -07:00
Alex Ross
1a4e466fc0 Set a read-only message from an extension (#185216)
* wip

* Allow extensions to provide a readonly message
Part of #166971

* Address feedback

* Further address feedback

* Fix some nits

* Add test

* Improve tests and respond to feedback

* Don't render editor.readOnlyMessage in the settings UI

* No need to validate the IMarkdownString

---------

Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
Co-authored-by: Alex Dima <alexdima@microsoft.com>
2023-06-21 10:55:00 +02:00
Matt Bierner
1eabca5501 Support downloading repo contents for all github authorities (#185707)
For #175972

Previously this was broken for `github%2b...` style authorities
2023-06-20 15:19:11 -07:00
Aaron Munger
c5d02335e1 json formatting 2023-06-20 15:02:32 -07:00
AlbertHilb
2929ec4996 Add macros entry to markdown-math configuration (#180458)
section.
2023-06-20 23:31:26 +02:00
aamunger
e8b63b2f59 undo package format changes 2023-06-20 09:39:10 -07:00
Aaron Munger
2ad06b116a Merge branch 'main' into aamunger/fileBackedIW 2023-06-20 09:12:30 -07:00
Matt Bierner
7f8893b149 Add more logging for when loadWorkspaceContents isn't used (#185624) 2023-06-19 17:42:38 -07:00
Aaron Munger
c72605e962 Merge branch 'main' into aamunger/fileBackedIW 2023-06-19 15:31:15 -07:00
Matt Bierner
b9048ee2c5 Fix files not being copied on first esbuild watch (#185618) 2023-06-19 23:59:46 +02:00
aamunger
655687065c fix test - do not overwrite interactive Editor with a notebook editor 2023-06-19 11:19:58 -07:00
aamunger
70c3b660f2 Merge remote-tracking branch 'origin/main' into aamunger/fileBackedIW 2023-06-19 10:28:42 -07:00
Ladislau Szomoru
8f8848433b GitHub - add push error handler telemetry to understand usage (#185573)
* GitHub - add push error handler telemetry to understand usage

* Add yarn.lock file

* Pull request feedback
2023-06-19 10:09:45 -07:00
Ladislau Szomoru
9b8f1cb437 Git - only add default branch name if supported (#185557) 2023-06-19 12:42:30 +02:00
Han
35ea3d75f1 Merge branch 'main' into fix_call_hierarchy_tooltip 2023-06-17 20:16:14 +08:00
weartist
56339d9381 Fix #185051 2023-06-17 20:08:06 +08:00
Raymond Zhao
e4751e3538 Fix some terms (#185376)
* Fix some terms

* Apply PR suggestion
2023-06-16 21:38:37 +02:00
aamunger
76c8654a95 use the builtin extension activation, temp disable failing tests 2023-06-16 11:55:07 -07:00
aamunger
71a4ab0f49 delegate editorInput ownership to EditorService. Activate ipynb extension for IW 2023-06-16 11:55:05 -07:00
aamunger
2c37a5be5a use same notebook serializer for IW 2023-06-16 11:52:40 -07:00
Raymond Zhao
2dad7f52ad Bump emmet-helper (#184616) 2023-06-16 19:10:07 +02:00
Ladislau Szomoru
4a395962a6 GitHub - basic handling of push errors due to GHAS push protection (#185344) 2023-06-16 17:10:57 +02:00
Ladislau Szomoru
b51aabb6dc Git - fix welcome view regression (#185233) 2023-06-15 16:57:31 +02:00
John Murray
9e5edb7d9a Allow downloads from pages viewed in Simple Browser (#185117) 2023-06-14 17:23:37 +00:00
Megan Rogge
b7fd221daf Merge pull request #184011 from weartist/npm_link_fix
adjust to correct link
2023-06-13 10:06:16 -05:00
Ladislau Szomoru
3447686499 Git - use close event when detecting git version (#184998) 2023-06-13 11:25:00 +02:00
Ladislau Szomoru
e82cbf80ba Git - only add --find-renames if the value is not the default one (#184992) 2023-06-13 09:56:29 +02:00
Matt Bierner
5b2221330a Add extra argument to Mangler (#184986)
Missed updating this
2023-06-13 09:03:51 +02:00
Matt Bierner
debcf16fcd Mangle exported symbols (#182935)
* Mangle exported functions

For #180461

This prototype tries to mangle exported functions, saving a further 440kb from the bundle size

* Fix missing call

* Also try mangling top level exported consts too

* Fixing errors

* Don't run on build files

* Skip a few more manglings and revert change to namespace

* Skip a few more monaco files

* Also mangle consts that shadow types

This increases savings up to 3325

* Also mangle exported classes

* Skip mangling more localization functions for now

* Opt out pfs

* Update build script

* Run find locations task in parallel

This should speed up compile

* Cleanup before close

* Limit workers to avoid hitting memory limit

* Limit pool size

* Skip one more mangling

* Exclude entrypoints from mangling

* Try to fix web build and clean up code

* Exempt a few more projects

* Exempt another file

* Also exempt html

* Skip mangling ext entrypoints

* Use prefix that can't be confused with rpc calls

* Fix max call stack error

* Switch prefixes

* Don't mangle ambient declarations

* Use correct way of checking modifier flags

* Workaround getCombinedModifierFlags not doing what I'd expect

Maybe needs the checker to be enabled too? Just check parent chain instead for now

* Clean up code and add logic showing how enum mangling could work

* Remove a few more skipMangles

Use entrypoints instead

* Fix entrypoint name
2023-06-13 08:18:05 +02:00
Matt Bierner
ab8ed4b717 Fallback to use insert text when label is falsy (#184944)
For #184812
2023-06-12 21:11:42 +02:00
Ladislau Szomoru
17c88bf045 Git - extract code into UnsafeRepositoryManager (#184896) 2023-06-12 12:29:47 +02:00
Ladislau Szomoru
b0b1af125c Git - extract code into ParentRepositoriesManager (#184891) 2023-06-12 11:47:30 +02:00
Ladislau Szomoru
323e6df4e7 Git - improve repositories quick pick (#184794) 2023-06-12 10:05:02 +02:00
Connor Peet
c550a7b52c debug: auto recover from shifted tmpdirs in auto lauch (#184764)
I think this should fix https://github.com/microsoft/vscode-js-debug/issues/1660
2023-06-10 00:14:11 +02:00
Matt Bierner
5a55352cf7 Combine esbuild scripts (#184531)
* Combine esbuild scripts

This combines the various build scripts used for building webview/notebook content. This should make it easier to update settings for them

As part of this, I also fixed the script so that on watch it restarts automatically on syntax errors instead of exiting

* Migrate other build script

* Fixing math build script
2023-06-09 14:55:05 -07:00
Ladislau Szomoru
12533c5490 Git - extract close repository management into its own class (#184752) 2023-06-09 14:54:38 -07:00
Aaron Munger
6c6ffa3144 Merge pull request #184675 from microsoft/aamunger/streamingOutput
select previous output to be replaced correctly
2023-06-09 07:59:43 -07:00
Ladislau Szomoru
9979f9cc3c Git - close repository improvements (#184708)
* Initial implementation

* Move ObservableSet into a separate file

* Add quick pick for reopening closed repositories

* Fix issue with initializing the context key

* Add welcome views
2023-06-09 13:19:57 +02:00
Ladislau Szomoru
40474d7f45 Revert "Git - Close Repository command should be disabled when there is only one repository opened (#184637)" (#184685)
This reverts commit 2cccaaee8a.
2023-06-09 10:26:47 +02:00
aamunger
3767249655 select previous output to be replaced correctly 2023-06-08 21:51:18 -07:00
Ladislau Szomoru
2cccaaee8a Git - Close Repository command should be disabled when there is only one repository opened (#184637) 2023-06-08 15:19:10 -07:00
Michael Lively
34bde274c1 debt - remove field when no attachments present (#184630) 2023-06-09 00:18:46 +02:00
Tyler James Leonhardt
dd2441f7ba Polish Sovereign Cloud support (#184634)
* Use `@azure/ms-rest-azure-env` as official reference of endpoints
* Allow better configuration of custom clouds (these are new so it is ok to change the settings without migration)

Also clean up:

* querystring -> URLSearchParams (getting rid of a package dependency in the web)
* handle `workbench.getCodeExchangeProxyEndpoints` in one place
2023-06-08 12:39:29 -07:00
Ladislau Szomoru
908b24de44 GitHub - branch protection uses silent auth (#184609) 2023-06-08 17:59:26 +02:00