Commit graph

14212 commits

Author SHA1 Message Date
Matt Bierner 909693076d
Bump dompurify (#189368)
* Bump dompurify

Moving to 3.x which drops IE support

* Don't reference trusted types

* Restore esm export block
2023-07-31 17:52:21 -07:00
Meghan Kulkarni 12985b627a
Links are not automatically pasted as markdown over valid urls (#189347)
* check if selected text is link
2023-07-31 16:24:48 -07:00
Meghan Kulkarni 1fcc384bae
Automatic markdown pasting should escape parentheses (#189357)
auto link with mismatched parens
2023-07-31 23:01:01 +01:00
Matt Bierner 3cc82327b5
Bump TS versions (#189344)
Bumps TS version for building VS Code
Bumps bundled TS version
2023-07-31 20:13:11 +01:00
Meghan Kulkarni ed59945156
Links with no authority are considered invalid (#189323)
* edit validateLink
2023-07-31 19:36:21 +01:00
Meghan Kulkarni f7d59ef171
Links are not automatically pasted as Markdown link if nothing is selected (#189338)
update automatic pasting
2023-07-31 11:30:03 -07:00
Alex Ross 5f9fc780c2
Add snippets as a language (#185017)
* Add snippets as a language

* Snippets -> Code Snippets

* Add tests

* json.snippets -> json.comments.snippets
2023-07-28 09:21:56 -07:00
Alex Ross 41c7fc34e0
Update grammars (#189172) 2023-07-28 17:48:19 +02:00
Meghan Kulkarni e731964e84
Automatic markdown link pasting off by default (#189100)
pasting as markdown link off
2023-07-27 23:11:51 +01:00
Meghan Kulkarni 070707dffc
Smart pasting results in a new widget label (#189098)
* add and localize smart label
2023-07-27 22:30:46 +01:00
Meghan Kulkarni b5a46136c4
Markdown link pasting does not encode or decode links (#188992)
* uris pasted with no encoding or decoding

* add tests for checking encoding
2023-07-27 20:13:03 +01:00
Alexandru Dima f94dcb9ae0
Turn off aiQuickFix by default for stable (#189069) 2023-07-27 17:16:25 +01:00
Meghan Kulkarni df16c16211
Smart markdown pasting does not occur in tilde code block (#189004)
smart paste checks ~~~ code block
2023-07-27 09:09:38 -07:00
Andrea Mah b448b21744
update license for OSS Tool (#188988)
* fixes to license and auto-generated thirdPartyNotices
2023-07-27 08:41:35 -07:00
Kartik Raj 1ca9aa71bb
Merge pull request #188982 from microsoft/kartik/detailed-tahr
Fix for each in scope env collection
2023-07-26 14:32:34 -07:00
Kartik Raj 68d22e586d Fix for each in scope env collection 2023-07-26 20:58:53 +00:00
Andrea Mah 03c32aab74
Revert "update licenses" (#188962)
Revert "update licenses (#188880)"

This reverts commit 71bf483f13.
2023-07-26 19:38:04 +01:00
Andrea Mah 71bf483f13
update licenses (#188880) 2023-07-26 08:19:20 -07:00
Meghan Kulkarni 87afa166d0
markdown link smart pasting (#188437)
* making markdown link pasting feature smarter

* update validateLink
2023-07-24 16:25:19 -07:00
Hylke Bons 741de09ada themes: Fall back to Light/Dark+ themes for diff colors 2023-07-24 13:41:30 +02:00
Alex Ross b210745306
Revert "Skip failing integration tests (#187424)" (#188459)
This reverts commit 00db67e440.
2023-07-21 08:30:45 -07:00
Sandeep Somavarapu dc00865687
skip flaky test #188375 2023-07-21 09:34:18 +02:00
Meghan Kulkarni 2ba9f17b3f
making the markdown link paste feature smart (#188119)
* making markdown link pasting feature smarter

* Update settings description

Co-authored-by: Joyce Er <joyceerhl@gmail.com>

* made checkPaste more concise

* won't paste md link in fenced code or math

* updated the smart md link pasting

* link validation and naming changes

* resolving comments and tests

* resolving comments & writing tests

---------

Co-authored-by: Joyce Er <joyceerhl@gmail.com>
2023-07-20 15:16:40 -07:00
Alex Ross a6b766d8ad
Fix an async test suite (#188380) 2023-07-20 15:46:52 +02:00
Alex Ross e8f9d7587b
Adopt new Java grammar! (#188361) 2023-07-20 13:03:00 +02:00
Peng Lyu 2cbf01b666
Revert "Notebook UI heading tweaks (#188117)" (#188335)
This reverts commit e055922046.
2023-07-20 08:02:39 +02:00
Daniel Imms 31b9e9aa9b
Wait for terminal data before using terminal.selection APIs 2023-07-19 11:14:31 -07:00
Daniel Imms 471490656d
Merge branch 'main' into tyriar/188173_term_selection 2023-07-19 11:07:37 -07:00
Matt Bierner 19f9f605a9
Correctly reload markdown preview on md contribution change (#188218)
Fixes #184295
2023-07-19 01:47:31 +02:00
Aaron Munger bfdd302155
Merge pull request #187766 from microsoft/aamunger/notebookOutput
perf optimizations for large stream notebook outputs
2023-07-18 13:55:17 -07:00
Matt Bierner e2720e7bf4
Make getWorkspaceRootForResource work for notebook cells (#188186)
Fixes #186811
2023-07-19 05:29:22 +10:00
Matt Bierner 40abe0e1d5
Explicitly add link in JSDoc (#188182)
Fixes #188159
2023-07-18 11:15:14 -07:00
Connor Peet f82185934a
testing: finalize testInvalidateResults (#188180)
Also sends the tests as a bulk to the renderer, and implements a
prefix tree for doing invalidation checks (which I plan to adopt
elsewhere later on, perhaps in debt week.)
2023-07-18 20:14:25 +02:00
Christian Bromann e055922046
Notebook UI heading tweaks (#188117)
* Notebook UI heading tweaks

* align styles
2023-07-18 19:40:46 +02:00
Daniel Imms 49df64f6ac
Remove unused import 2023-07-18 10:17:00 -07:00
Daniel Imms 775102bd82
Implement tests 2023-07-18 09:58:47 -07:00
Daniel Imms 99e31ae297
Add terminal selection API
Part of #188173
2023-07-18 09:47:46 -07:00
Joyce Er 1d96980398
Don't prompt to publish branch after it was pushed (#188166) 2023-07-18 17:22:35 +02:00
aamunger 72806b4403
add/fix tests 2023-07-17 16:18:25 -07:00
Tyler Leonhardt ac27273e48
Try to revoke tokens that are getting deleted
Best effort.

Fixes https://github.com/microsoft/vscode/issues/152055
2023-07-17 14:12:10 -07:00
Aaron Munger 6501a3b3c8
Merge branch 'main' into aamunger/notebookOutput 2023-07-17 12:23:12 -07:00
Andrew Branch 6c94c8e088
[typescript-language-features] Update autoImportFileExcludePatterns description (#186528)
Update autoImportFileExcludePatterns description
2023-07-14 18:36:38 +00:00
Ehab Younes 6a152ca523
Expose the focused element and change event in the TreeView API (#184268)
* Expose the focused element and event in the TreeView API

* Exposed active TreeItem through extension proposal

* Add proposal to test extension

* Merge change selection and focus events

* Finish selection+focus change in treeview

* Clean up

* Clean up

* Add checkProposedApiEnabled back in

---------

Co-authored-by: Ehab Younes <ehab.younes@sigasi.com>
Co-authored-by: Alex Ross <alros@microsoft.com>
2023-07-14 08:49:15 +00:00
Matt Bierner c0d560ed49
Don't parse @link inside @example JSDoc tags (#187877)
Fixes #187768
2023-07-13 16:02:57 -07:00
Alex Ross ca6ebd67d1
Update shellscript grammar (#187811) 2023-07-13 14:09:30 +02:00
Aaron Munger e68a34f9bd append when stream outputs are concatenated 2023-07-12 15:20:43 -07:00
Aaron Munger 5b78562d6c truncate long outputs 2023-07-12 15:03:49 -07:00
Matt Bierner a4fde6f2eb
Add more specific error for TS web server (#187752)
This should help us better understand why the access failed
2023-07-12 14:09:01 -07:00
Aaron Munger 77a8acf719 don't rerender the same output 2023-07-12 11:30:58 -07:00
aamunger 4c2df56f98
append html 2023-07-12 10:03:31 -07:00
Ladislau Szomoru ad395686d2
Git - add support for type changed (#187714)
* Initial implementation

* Add icons
2023-07-12 16:18:38 +02:00
Raymond Zhao 5be539a588
Bump semver (#187654) 2023-07-12 01:49:45 +02:00
Aaron Munger c5511d5eec
pipe appended data info to webview 2023-07-11 15:08:04 -07:00
Ladislau Szomoru 0af4ba0b54
GitHub - add branch protection telemetry (#187589) 2023-07-11 16:51:09 -04:00
Matt Bierner 26120d880b
Disable overscroll in all webviews (#187624)
Fixes #182013
2023-07-11 20:51:33 +02:00
Matt Bierner 2c4cdea85f
Bump highlight js versions (#187619)
Fixes #187605
2023-07-11 20:20:57 +02:00
Matt Bierner 00105d2ddb
Exclude azurerepos: files from JS/TS intellisense (#187521)
Fixes #186385
2023-07-11 08:45:12 -07:00
Ladislau Szomoru dca0fc0fd7
GitHub - do not clear branch protection if the user is not signed in (#187588) 2023-07-11 16:18:06 +02:00
Ladislau Szomoru 4a7a02ab9f
GitHub - update branchProtection setting default (#187583) 2023-07-11 15:42:07 +02:00
Ladislau Szomoru 8baa7ed3e3
Git - fix repository detection regression (#187578) 2023-07-11 15:09:39 +02:00
Ladislau Szomoru f254ad1758
Git - Add Commit (Amend) to the Commit Action button (#187568) 2023-07-11 14:24:23 +02:00
Meghan Kulkarni f07abd224b
Make markdown link pasting feature smarter (#187170)
* making markdown link pasting feature smarter

* Update settings description

Co-authored-by: Joyce Er <joyceerhl@gmail.com>

* made checkPaste more concise

* won't paste md link in fenced code or math

---------

Co-authored-by: Joyce Er <joyceerhl@gmail.com>
2023-07-10 14:11:49 -07:00
Matt Bierner 6aca75d9d0
Fix markdown preview classes (#187501)
For #187234

Got introduced through a bad PR change. Makes more sense to move this styling to the css file instead
2023-07-10 13:04:03 -07:00
Matt Bierner 011ac2c103
Pick up TS 5.1.6 (#187495)
For #187493
2023-07-10 13:03:41 -07:00
Ladislau Szomoru ccea02b96d
Git - avoid opening a repository multiple times if symbolic links are used (#187435) 2023-07-10 15:16:02 +02:00
Rickey K. Liang 2ff3c9a7e7
Revert Python docstring color (#184938)
Revert b4368691e9

all color themes: treat comment docstrings as comments too (#182162)
2023-07-10 14:48:51 +02:00
Alex Ross 00db67e440
Skip failing integration tests (#187424)
Part of #187245
2023-07-10 11:07:58 +02:00
dependabot[bot] 8c8e8600b6
Bump semver from 5.5.1 to 7.5.2 in /extensions/typescript-language-features (#185968)
Bump semver in /extensions/typescript-language-features

Bumps [semver](https://github.com/npm/node-semver) from 5.5.1 to 7.5.2.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/main/CHANGELOG.md)
- [Commits](https://github.com/npm/node-semver/compare/v5.5.1...v7.5.2)

---
updated-dependencies:
- dependency-name: semver
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-10 10:05:01 +02:00
dependabot[bot] afacb63ab5
Bump tough-cookie from 4.1.2 to 4.1.3 in /extensions/notebook-renderers (#187410)
Bumps [tough-cookie](https://github.com/salesforce/tough-cookie) from 4.1.2 to 4.1.3.
- [Release notes](https://github.com/salesforce/tough-cookie/releases)
- [Changelog](https://github.com/salesforce/tough-cookie/blob/master/CHANGELOG.md)
- [Commits](https://github.com/salesforce/tough-cookie/compare/v4.1.2...v4.1.3)

---
updated-dependencies:
- dependency-name: tough-cookie
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-10 10:03:51 +02:00
Henning Dieterichs fd63cf62b9
Merge branch 'main' into singleLineDeindent 2023-07-07 20:30:51 +02:00
Joyce Er 437342409b
Force new window for remote -> local Continue On (#187301)
Force new window for remote -> local clone
2023-07-07 20:27:09 +02:00
Raymond Zhao 13b90156ab
Strengthen Emmet tests (#187204) 2023-07-06 16:14:29 -07:00
Raymond Zhao c067a3bf81
chore: bump semver 7 dependencies (#187171) 2023-07-06 20:18:02 +02:00
dependabot[bot] c9073ad0c8
Bump semver from 7.3.7 to 7.5.3 in /extensions/css-language-features (#187107)
Bumps [semver](https://github.com/npm/node-semver) from 7.3.7 to 7.5.3.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/main/CHANGELOG.md)
- [Commits](https://github.com/npm/node-semver/compare/v7.3.7...v7.5.3)

---
updated-dependencies:
- dependency-name: semver
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-06 01:54:58 +02:00
Andrea Mah b540ba7b27
Unexpected link highlighting in search editor (#187091)
Fixes #180813
2023-07-05 23:11:27 +02:00
Andrea Mah 6bc77ae5af
Pull new CSS grammar for colors, lengths, etc. (#187013)
Fixes #187012
2023-07-05 08:53:57 -07:00
Ladislau Szomoru 3b9f2825b7
Git - better handle symbolic links (#186716)
Co-authored-by: João Moreno <joao.moreno@microsoft.com>
2023-07-05 12:56:26 +02:00
Tyler James Leonhardt 013132a5cd
Re-work auth flows into separate file (#186939)
The flows are crucial to the extension and I wanted to be able to declare which can be used when in a declarative way. This reworks the flows into that model.

Additionally, it pulls in the Client ID and secret from a config which will allow us to not rely on the vscode.dev proxy on Desktop (because we can make a distro change that includes the secret... which isn't a real secret, says GitHub)... unfortunately we still need to rely on it for Web due to CORS but we're in a position where it will be easy to rip the proxy out when GH supports it.
2023-07-03 15:06:42 -07:00
Ladislau Szomoru 8265c3ec21
Git - introduce group is the long submenus (#186917) 2023-07-03 16:24:19 +02:00
Rob Lourens 448d14e907
Make breakpoint data available in EH immediately, not after a call to debug API (#186796)
Fix #169699
2023-06-30 15:04:59 -07:00
Meghan Kulkarni 82e9a14903
Fix: do not encode external links (#186778)
* bug fixes

* added label to copyPaste.ts

* added localized label to copyPasteLinks file

* quick fix for pasting highlight bug

* concise if-statement

* external urls are not automatically encoded
2023-06-30 13:19:03 -07:00
Connor Peet 00bfb8704f
debug-server-ready: fix misbehavor in compound launch configs (#186766)
debug-server-rady: fix  misbehavor in compound launch configs

Fixes #186765
2023-06-30 20:10:34 +02:00
Alex Ross c778cc6117
Update grammars (#186752) 2023-06-30 09:14:40 -07:00
David Dossett a3231fc857
Update inlay hint colors (#186658)
* Update inlay hints colors

* Update new themes
2023-06-29 12:49:50 -07:00
Meghan Kulkarni 715334ba8c
small changes (#186574)
* bug fixes

* added label to copyPaste.ts

* added localized label to copyPasteLinks file
2023-06-29 02:14:23 +02:00
Joyce Er 52b72a22f9
Share > Copy vscode.dev Link polish (#186576)
* Prompt when copying link and behind remote

* Make dialog actions explicit re: copy behavior
2023-06-28 16:43:18 -07:00
Peng Lyu bce3304e98
Fix vscode-jupyter#13522. Clear attachment if it does not exit. (#186578)
Fix #184630. Clear attachment if it does not exit.
2023-06-29 09:41:01 +10:00
Joyce Er 0078c4965d
Allow Continue On to vscode.dev with no active editor (#186459) 2023-06-27 18:58:37 -07:00
Joyce Er b114662b7a
Don't validate publish state for Continue On (#186410) 2023-06-27 11:50:52 -07:00
Meghan Kulkarni 6626f5f07a
turning highlighted Markdown text to link to pasted URL (#185924)
* turning highlighted Mardown text to link to pasted URL

* resolved comments

* resolved more comments

* preserved behavior of existing file pasting logic

---------

Co-authored-by: Meghan Kulkarni <t-mekulkarni@microsoft.com>
2023-06-26 17:25:52 -07:00
Matt Bierner 0f5502c1a7
Rename settings for media preview video settings (#186231)
For #176418
2023-06-27 00:26:02 +02:00
Matt Bierner 688bc028e3
Extends tsconfig link logic to references paths (#186227)
Fixes #182898
2023-06-26 14:55:10 -07:00
Daniel Imms e2fcf63174
Merge pull request #186072 from microsoft/tyriar/185393_5
Speed up terminal reconnection
2023-06-26 12:37:55 -07:00
Johannes Rieken 50ad64e844
enable inline chat quick fix for TypeScript implements interface by default (#186167) 2023-06-26 17:34:39 +02:00
Daniel Imms cf247472ec
Loosen test to allow for shell output 2023-06-24 08:50:41 -07:00
Raymond Zhao b9ada3a2c6
Bump emmet-helper (#185607) 2023-06-23 11:17:15 -07:00
Benjamin Pasero 052ac9ca4c
files - allow more file operations to run in the extension host (#172345) (#185988)
* files - allow more file operations to run in the extension host (#172345)

* fix tests

* tests

* tests

* tests
2023-06-23 17:18:44 +02:00
Matt Bierner 5ee455116f
Add codeql comments and small fix (#185931) 2023-06-23 02:40:39 +02:00
Matt Bierner 3a02b99fe8
Try to request workspace content caching on commit (#185920)
For #175972

Here's what believe is happening:

- Workspace opens. We download the archive for the current commit
- User makes a commit
- The commit has now changed, which invalidates the archive. However TS doesn't know this (all the uris seem to stay the same). This means that we silently start going to the network again on file system operations

To fix this, we're going to try re-requesting the archive when a file system change event is fired for the workspace root. This should happen when a commit is made
2023-06-22 15:33:06 -07:00
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
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
Matt Bierner 42498ee647
Mention tsconfig / jsconfig in 'Go to project configuration' (#184441)
This makes the commands more discoverable
2023-06-06 13:41:54 -07:00
Daniel Imms 1c5442ac03
Adopt EnvironmentVariableCollection in git ext
Fixes #184331
2023-06-06 05:48:02 -07:00
Ladislau Szomoru ad34af09f9
Git - fix close diff editor regression (#184410) 2023-06-06 14:35:15 +02:00
Johannes c106fbe627
add some integration tests for static status bar items 2023-06-05 16:39:59 +02:00
Alexandru Dima d10902d080
Merge pull request #184239 from microsoft/alexd/busy-raven
Take into account already activated extensions when computing running locations
2023-06-05 15:04:59 +02:00
Alex Dima 36b9d931d7
Activate vscode.github-authentication from the test resolver 2023-06-03 15:19:04 +02:00
Alex Dima 5b2f96e69d
Add support for using the test resolver in the web 2023-06-03 13:26:51 +02:00
Matt Bierner 671ab0ff7c
Pick up latest markdown language server (#184215) 2023-06-02 23:13:26 +02:00
Joyce Er 0876c19e0a
Support language selector and passing selection to share providers (#184196)
* Allow selecting share provider by language

* Pass selections to extension providers
2023-06-02 20:19:32 +02:00
Johannes Rieken 3062c19c90
fix https://github.com/microsoft/vscode/issues/174592 (#184170) 2023-06-02 17:13:24 +02:00
Alex Ross 53dcdf3ee8
Update grammars (#184151)
* Update grammars

* Update grammar tests
2023-06-02 13:54:16 +02:00
Matt Bierner a9fe660ce6
Enable dropping image/* data into markdown to insert images (#184112)
Enable dropping image/* data into editor

This enable drop to create images on web
2023-06-01 21:37:48 -07:00
Matt Bierner 0e0b629ef5
Respect copy files correctly when in .dot files (#184109)
Fixes #183998
2023-06-01 21:33:48 -07:00
Matt Bierner af4c133f63
Pick up TS 5.1.3 (#184091)
Fixes #182931
2023-06-01 21:07:19 +02:00
Martin Aeschlimann 8a76ae4e4c
[html] update service (#184049)
[html] update service. FIxes #181176
2023-06-01 13:22:58 +02:00
weartist 669e5c578c adjust to correct link 2023-06-01 09:40:34 +08:00
Matt Bierner 14977db0ec
Disable move to file in TS versions < 5.2 (#183992)
There are still a few key bugs with refactoring. We will  ship this as a preview for TS 5.2+ instead of for 5.1
2023-05-31 22:18:24 +02:00
Matt Bierner 2add9d4c10
Set isRefactoring for all TS refactoring edits (#183982) 2023-05-31 19:14:35 +02:00
Ladislau Szomoru 8602b29876
Git - fix #183941 (#183944) 2023-05-31 15:48:04 +02:00
Matt Bierner fa8eefda18
Use <...> style markdown links when needed (#183876)
Fixes #183849
2023-05-31 09:58:23 +10:00
Matt Bierner f4175f4a13
Default to current dir for move to file select (#183875)
Fixes #183870

`showOpenDialog` seems to ignore `defaultUri` if the file doesn't exist
2023-05-31 09:58:03 +10:00
Matt Bierner d1ae1fff18
Make JS/TS go to configuration commands work on non-file: file systems (#183688)
Make `go to project` commands work on non-`file:` file systems

Fixes #183685
2023-05-30 16:07:14 -07:00
Matt Bierner 8a71f8515d
Noop when moving a symbol into the file it is already in (#183866)
Fixes #183793
2023-05-30 13:40:45 -07:00
Matt Bierner 8d59fc4e0f
Fix small typo (#183865)
Fixes #183819
2023-05-30 22:16:13 +02:00
Matt Bierner d933dbdc34
Default to filename for markdown new file if empty (#183864)
Fixes #183848
2023-05-30 22:09:43 +02:00
Matt Bierner 50527c97d8
Use desired file name when generating new md pasted file paths (#183861)
Fixes #183851
2023-05-30 21:54:18 +02:00
Alex Ross e4c3ea2b5c
Remove angle brackets from VB brackets (#183782)
Fixes #183359
2023-05-30 14:10:41 +02:00
Ladislau Szomoru da47f08b53
Git - run git status if similarityThreshold changes (#183762) 2023-05-30 10:49:38 +02:00
Yash Singh 4ec04f4c25
feat: .vuerc as json file (#153017)
Co-authored-by: Martin Aeschlimann <martinae@microsoft.com>
2023-05-29 21:12:30 +02:00
aamunger c52a87e8a6
use scroll setting variable correctly 2023-05-26 15:21:45 -07:00
Martin Aeschlimann a72e45d069
[json/css/html] update services (#183595) 2023-05-26 22:54:38 +02:00
Charles Gagnon 89db3e46dd
Set offSide to sql lang configuration to true (#183461) 2023-05-26 16:18:52 +02:00
Matt Bierner ea7d830fb4
Fix some errors for project wide JS/TS IntelliSense (#183482)
- Don't compute `semanticSupportedSchemes` early, as this may be incorrect if the script is loaded before there are workspace folders

- Handle exceptions when watching files by logging them but not crashing the server
2023-05-25 18:43:46 -07:00
Matt Bierner 710d6ea32c
Fix new path suggestion for move to file (#183474)
Turns our `newFileName` is actually a path :)
2023-05-26 00:29:58 +02:00
Aiday Marlen Kyzy fdf68021ff
Merge pull request #183425 from microsoft/aiday/polishingQuickFixes
Polishing the typescript quick fixes
2023-05-25 16:32:26 +02:00
Aiday Marlen Kyzy 81f98eb8fe
adding text to better explain the dependence on the AI extension 2023-05-25 15:20:55 +02:00
Aiday Marlen Kyzy 0cce0c2f51
adding typescript in front 2023-05-25 14:48:50 +02:00
Aiday Marlen Kyzy 454a8e61ff
polishing the code 2023-05-25 14:46:57 +02:00
Daniel Imms baa3e220bd
Merge branch 'main' into tyriar/183236 2023-05-25 04:54:33 -07:00
Daniel Imms d1be423950
Fix scope test 2023-05-25 04:53:50 -07:00
DoctorKrolic 0adddd8281
Add JSON Lines language definition (#183035)
* Add `JSON Lines` language definition

* Fix ident
2023-05-25 10:02:57 +02:00
Connor Peet 21ec2519ef
testing: add proposed testInvalidateResults API (#183370)
* testing: add proposed testInvalidateResults API

For #134970

* fix tests
2023-05-24 22:57:07 -07:00
Matt Bierner 3c161fd2b1
Add better label when adding video/video to md (#183379) 2023-05-25 01:30:06 +02:00
Aaron Munger 82c9994e6d
Merge pull request #183361 from microsoft/aamunger/outputStreaming
re-add events and apply settings each time the output ID is rendered
2023-05-24 15:09:23 -07:00
Daniel Imms 37ad81ccd9
Ensure options are filled with defaults, fix equality check
Fixes #183236
2023-05-24 15:03:22 -07:00
Anuj Parajuli 6675ef9017
Adds #181652 html audio tag for audio file (#183328) 2023-05-24 21:28:52 +00:00
aamunger c71766d505
event testing 2023-05-24 14:24:30 -07:00
Matt Bierner 0908552502
Pick up latest TS for building VS Code (#183358) 2023-05-24 23:19:24 +02:00
aamunger a54803afc9
re-add events each time the output ID is rendered 2023-05-24 11:24:13 -07:00
Aiday Marlen Kyzy 2df052f16a
Merge pull request #183215 from microsoft/aiday/internalIssue4173
Improving the quick fix implement interface code action
2023-05-24 17:00:42 +02:00
Aiday Marlen Kyzy 203c911ca0
adding a setting in order to control whether the ai assisted setting is enabled or not 2023-05-24 16:18:04 +02:00
Johannes 2b8529fa61
make API command for interactiveEditor.start so that initial range can be set properly 2023-05-24 15:21:18 +02:00
Daniel Imms 79ea041b4d
Merge pull request #183255 from microsoft/kartik/initial-scallop
Add `checkProposedApiEnabled` check when using env collection workspace proposal
2023-05-24 06:14:51 -07:00
Johannes ce7986f35e
extract logic into EditorChatFollowUp class 2023-05-24 15:02:56 +02:00
Ladislau Szomoru e7e97f8ea8
Git - handle --intent-to-add on a renamed resource (#183307) 2023-05-24 13:11:57 +02:00
Joyce Er 9f081fd11a
Open branches on vscode.dev from ref picker (#181549) 2023-05-24 11:23:40 +02:00
Ladislau Szomoru edcad3ab53
GitHub - use GitHub default branch name when publishing to GitHub (#183207) 2023-05-24 11:15:17 +02:00
Aiday Marlen Kyzy 49043016b5
cleaning the code 2023-05-24 10:51:07 +02:00
Matt Bierner 8625a005a6
Pick up latest markdown language server (#183294) 2023-05-24 07:58:40 +02:00
Aaron Munger fad1dba1be
Merge pull request #183272 from microsoft/aamunger/outputStreaming
clear stale outputs when previously appended
2023-05-23 19:44:53 -07:00
aamunger 0230ac67e9
comment 2023-05-23 16:25:34 -07:00
aamunger 43d5cc452c
account for running a cell with one output after that cell previously produced multiple streaming outputs 2023-05-23 16:20:54 -07:00
Aaron Munger 7d572968ff
Merge pull request #183265 from microsoft/aamunger/outputStreaming
replace the content of the scrollable div, rather than the div itself
2023-05-23 15:13:17 -07:00
aamunger 6ddfc5f3b2
replace the content of the scrollable div, rather than the div itself 2023-05-23 14:31:17 -07:00
Kartik Raj b4a853bac9 Update package.json for vscode-api-tests 2023-05-23 19:40:55 +00:00
Kartik Raj d3ffc565ea Correctly show descriptions for each scope 2023-05-23 17:38:56 +00:00
Aiday Marlen Kyzy b07e68e5fb
cleaning the code 2023-05-23 18:35:36 +02:00
Aiday Marlen Kyzy 1a50d63321
added the arrow function into the private function 2023-05-23 18:18:44 +02:00
Daniel Imms 438eb68ef6
Actually fix the tests, options is an empty object not undefined 2023-05-23 09:02:42 -07:00
Daniel Imms 27293f19d2
Fix env var collection api tests 2023-05-23 08:34:06 -07:00
Aiday Marlen Kyzy b278ac8a54
resetting the privacy modifiers 2023-05-23 17:29:40 +02:00
Aiday Marlen Kyzy b2361a5c83
removing some console logs 2023-05-23 17:28:46 +02:00
Aiday Marlen Kyzy e5a37e8d5f
setting the right end line number 2023-05-23 17:26:33 +02:00
Aiday Marlen Kyzy c7b6e732e7
initial code 2023-05-23 16:17:41 +02:00
Aiday Marlen Kyzy 90a6ac4a63
adding a console log 2023-05-23 15:25:53 +02:00
Alex Ross 9cf00f5cd8
Update cgmanifest for php grammar (#183190) 2023-05-23 13:52:42 +02:00
Joyce Er bc1090cc10
Initial share provider API and UI (#182999)
* Formalize share provider API

* i18n.resources.json

* Don't introduce a generic Success dialog severity
2023-05-22 15:32:43 -07:00
Rob Lourens 05c0ca95ed
Add new API proposal for chat onDidPerformUserAction event (#183140)
* Add new API proposal for chat onDidPerformUserAction event

* Enable API for tests that incidentally touch the getter
2023-05-22 11:52:19 -07:00
Aaron Munger c7502fef05
Merge branch 'main' into aamunger/imageAlt 2023-05-22 09:44:49 -07:00
David Dossett 742d3670cb
Fix code block background in light modern theme (#183131) 2023-05-22 18:43:43 +02:00
Aaron Munger d6db619ce7 prefix metadata altText 2023-05-22 09:39:48 -07:00
David Dossett 4d0b34bf48
Rename new default theme files (#183001)
* Rename new default theme files

* Update tests
2023-05-22 08:27:24 -07:00
Benjamin Pasero 487a08afe5
Investigate detecting slow network connections (#178553) (#182653) 2023-05-22 14:38:13 +02:00
Alex Ross 5784d8bb81
Update lua grammar (#183107) 2023-05-22 12:15:44 +02:00
Bhavya U b0cf9f8e24
Remove temp walkthroughs (#182996) 2023-05-19 15:28:27 -07:00
Aaron Munger 24842542bf add title for svgs 2023-05-19 15:22:26 -07:00