Commit Graph

14148 Commits

Author SHA1 Message Date
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
Daniel Imms
911d1c0eab Merge pull request #184413 from microsoft/tyriar/184331
Adopt EnvironmentVariableCollection in git ext
2023-06-08 08:52:35 -07:00
Ladislau Szomoru
fbdddfde42 Git - upgrade which dependency (#184607) 2023-06-08 17:28:14 +02:00
Daniel Imms
e139fdb1c6 Localize git features string 2023-06-08 05:11:45 -07:00
Johannes Rieken
2798d7bf41 joh/rainy weasel (#184582)
* add tooltip (plain text) to static items,

re https://github.com/microsoft/vscode/issues/183772

* support accessibilityInformation for static static bar contribs,

https://github.com/microsoft/vscode/issues/183772
2023-06-08 12:33:24 +02:00
Johannes Rieken
d8dcdb924a Merge pull request #184575 from microsoft/joh/protective-cicada
joh/protective cicada
2023-06-08 12:15:04 +02:00
Matt Bierner
977ee8ca1e Add logging of readDirectory (#184549) 2023-06-07 15:22:16 -07:00
David Dossett
80f09eef48 Fix settings dropdown list background (#184547) 2023-06-08 00:03:16 +02:00
Matt Bierner
22e273bc60 Update markdown grammar (#184533) 2023-06-07 13:05:32 -07:00
Matt Bierner
703a75da38 Add ` as an autoClosingPair in markdown (#184532)
Fixes #183489

Will test this out to see if it's helpful or too annoying
2023-06-07 13:05:01 -07:00
Daniel Imms
fab99a2c40 Explain features the git extension enables 2023-06-07 11:57:04 -07:00
MeghanKulkarni
67cc0965b3 allow images in markdown preview editor to be copied (#184432)
* allow images in markdown preview editor to be copied

* resolved feedback

* added findPreview method

* removed copy image command from showPreview

* clean up

---------

Co-authored-by: Meghan Kulkarni <t-mekulkarni@microsoft.com>
2023-06-07 18:08:22 +00:00
Ladislau Szomoru
909e55fbdc Git - add tracing messages to help with troubleshooting (#184506) 2023-06-07 10:02:17 -07:00
Johannes
978bb08619 add extensions-ci-pr task which does a full build without mangling 2023-06-07 16:36:02 +02:00
Ladislau Szomoru
bb6d7d67ff Git - handle branch name with incorrect casing (#184502) 2023-06-07 15:25:09 +02:00
Matt Bierner
9776ec9eb4 Pick up latest markdown language service (#184448)
* Pick up latest markdown language service

* Bump server version
2023-06-06 23:18:37 +02:00