Commit Graph
124157 Commits
Author SHA1 Message Date
Quentin QuaadgrasandQuentin Quaadgras cab772fcfe Mobile/Android: support text selection with a pen/stylus.
Currently it is not possible to use a pointing device on a mobile device
to make text selections, leaving the keyboard as the only viable option.

This change enables a pen to be used for selection and this works well
for Android-based mobile phones and tablets with support for a pen. As
it enables text to be selected with the pen instead of simply scrolling
(which you can already do with touch). I've tested the
[PointerEventHandler] on a Samsung Z Fold5 android (using touch & S pen)
and it works well, I don't see why it should be restricted to IOS, so
I've removed the platform flag.

Before this change, pens on android would act as touch input and
although I don't have an IOS device on hand to confirm, from looking at
the [PointerEventHandler], it would appear that an IOS pen can only be
used to perform tap gestures.

I support efforts to make text selection possible using touch-only but
in the mean time, this change should help to make VS Code usable on more
mobile devices.

Helps to extend, compliment and address:
https://github.com/microsoft/vscode/issues/21812
https://github.com/microsoft/vscode/issues/47770
https://github.com/microsoft/monaco-editor/issues/246
https://github.com/microsoft/monaco-editor/issues/1504
2023-11-21 22:48:48 +13:00
Aiday Marlen Kyzy df29259136 Merge branch 'main' into aiday/differentLightBulbDependingOnCodeAction 2023-11-21 10:47:18 +01:00
BeniBenj 7f63c62566 💄 2023-11-21 09:45:21 +01:00
Hylke BonsandGitHub 633efd8c55 Update codicons: add lightbulb-sparkle (#198705) 2023-11-21 09:22:26 +01:00
Benjamin PaseroandGitHub bb6d92668e Aux window: make findGroup work across multiple editor groups (fix #198651) (#198734) 2023-11-21 06:41:06 +00:00
Benjamin PaseroandGitHub 874468718c Browsing product icons through command palette shows tofu characters (fix #198687) (#198731) 2023-11-21 06:40:36 +00:00
Joyce ErandGitHub 266cccf896 fix: use view range for glyph margin widgets (#198733) 2023-11-21 07:24:59 +01:00
Benjamin PaseroandGitHub 2e5e076031 aux window - commands to detach editors, groups and to restore (#198729) 2023-11-21 06:28:22 +01:00
James Park d1f51ab48d foo 2023-11-20 21:00:20 -08:00
James Park d4f6f53030 fixed 2023-11-20 20:57:59 -08:00
James Park 71773967c4 fix 2023-11-20 20:42:52 -08:00
paulacamargo25andGitHub 2da47045dc update distro SHA 2023-11-20 18:02:07 -08:00
Rob LourensandGitHub 05cd2640ec Add a flag to clear chat response content entirely (#198715)
This may become useful for codeblock vulnerability annotation work, before the API is fully finalized and available
2023-11-21 00:16:05 +00:00
Matt BiernerandGitHub 620340c863 Bump hardcoded web TS version (#198713) 2023-11-21 00:25:20 +01:00
Matt BiernerandGitHub 1d92f24bd8 Add telemetry for TS ai refactorings (#198708) 2023-11-20 15:01:33 -08:00
Matt BiernerandGitHub 2d8e9cbb8f Pick up TS 5.3 final (#198712) 2023-11-20 23:53:54 +01:00
Matt BiernerandGitHub ff9fc384d3 Clean up and fix markdown url pasting (#198706)
Fixes #192568
2023-11-20 14:37:00 -08:00
Matt BiernerandGitHub 032109e5a7 Don't show references on anon function (#198711)
Fixes #198389
2023-11-20 23:08:00 +01:00
Ladislau SzomoruandGitHub c59e730e54 SCM - only refresh the repository node if it exist in the tree (#198704) 2023-11-20 22:37:56 +01:00
Raymond ZhaoandGitHub afbfccac68 fix: revert settings search results ordering (#198703) 2023-11-20 12:47:01 -08:00
Aiday Marlen KyzyandGitHub 6936943dc4 Merge pull request #198521 from microsoft/aiday/toolbarIcon
Adding a setting to change the enablement of the toolbar sparkle icon
2023-11-20 21:23:03 +01:00
Aiday Marlen KyzyandGitHub f63c652d49 Merge pull request #198531 from microsoft/aiday/noSparkleOnActiveDebugSession
Don't display sparkle in gutter during active debug session
2023-11-20 21:22:50 +01:00
Martin AeschlimannandGitHub 6e91b53c06 progressive rendering: use the previous word count for the word rate (#198560)
* progressive rendering: use the previous word count for the word rate
2023-11-20 21:19:54 +01:00
Matt BiernerandGitHub ad31b067ab Fix markdown link inserting (#198702)
Fixes #190769
Fixes #195349

Also makes some small code cleanups
2023-11-20 21:10:43 +01:00
Isidor NikolicandGitHub 8de751f794 Merge pull request #198323 from microsoft/isidorn/labour-magpie
Also send sqmid to extension telemetry events
2023-11-20 19:11:48 +00:00
Logan RamosandGitHub 01ba8dc76c Merge branch 'main' into isidorn/labour-magpie 2023-11-20 11:54:51 -07:00
Rob LourensandGitHub da5ab29656 Don't throw when receiving an unknown chat progress update (#198533)
* style update

* Don't throw when getting a bad progress update
2023-11-20 19:02:17 +01:00
Rob LourensandGitHub dd2a645bcf Show detected vulnerabilities in chat codeblocks (#198595)
* Add vulnerability annotations for chat

* Make vulnerabilities label a Button

* Update test snapshots
2023-11-20 09:50:15 -08:00
BeniBenj d7a30508d7 💄 2023-11-20 18:34:25 +01:00
Matt BiernerandGitHub 8a6f44ef3c Move matchesScheme out of opener service (#198366)
Move matchesScheme out of opener service

This was creating extra deps on opener service
2023-11-20 18:26:45 +01:00
Aiday Marlen Kyzy 5285e1d97e making the filtering function synchronous 2023-11-20 18:24:45 +01:00
Matt BiernerandGitHub 25ac184fe7 Fix notebook markdown list rendering (#198696)
Fixes #197097
2023-11-20 18:23:14 +01:00
Josh SorefandGitHub 69ddb3f3c6 Write out Cannot (#198377)
spelling: cannot

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-11-20 17:22:21 +00:00
Anthony StewartandGitHub 9cbc6ef29a Simplify 'solid' || '' in viewPaneContainer.ts (#198515)
Remove odd or in viewPaneContainer.ts
2023-11-20 17:21:52 +00:00
Aiday Marlen Kyzy a86c36c6b0 adding code in order to also include move to a new file only when on the range of interest 2023-11-20 17:42:11 +01:00
Aiday Marlen Kyzy 2cedc2ffb4 not showing move to file all the time 2023-11-20 17:11:13 +01:00
Henning DieterichsandHenning Dieterichs 0ce333b482 Fixes context menu issue 2023-11-20 16:05:32 +01:00
Henning DieterichsandHenning Dieterichs e2bf0c1d01 Style improvements 2023-11-20 16:05:32 +01:00
Aiday Marlen Kyzy 8f4ade1d3d removing the code which does the selection check 2023-11-20 14:50:56 +01:00
Johannes RiekenandGitHub 9372453879 persist inline chat history (#198680) 2023-11-20 14:35:53 +01:00
Aiday Marlen Kyzy 2e0e6c534e adding code in order to execute the AI code action when it is unique 2023-11-20 14:31:55 +01:00
Aiday Marlen Kyzy a037c7e8e9 adding code in order to be able to detect when different code actions partitions appear 2023-11-20 14:05:32 +01:00
BeniBenj 2e284178d2 fix colors 2023-11-20 13:03:15 +01:00
Benjamin PaseroandGitHub 047cf79f5d debt - prefer lazy imports (#198668) 2023-11-20 12:16:11 +01:00
Christof MartiandGitHub be038181ca Lazy-load @vscode/proxy-agent (#198662) 2023-11-20 12:06:05 +01:00
BeniBenj 0566ecd220 💄 2023-11-20 11:54:15 +01:00
Ladislau SzomoruandGitHub 3671d15744 SCM - fix text overflow for incoming/outgoing labels (#198663) 2023-11-20 11:21:30 +01:00
Benjamin SimmondsandGitHub 2c1334411a Merge branch 'main' into benibenj/treeStickyScroll 2023-11-20 09:15:47 +01:00
BeniBenj efcce4e731 💄 2023-11-20 08:57:14 +01:00
BeniBenj b159c5b570 💄 2023-11-20 08:50:18 +01:00