Commit Graph

109108 Commits

Author SHA1 Message Date
Jacek Kopecký cbbd9220c2 Add settings for fixed-width tabs (#181729)
* Add settings for fixed-width tabs

This is meant at least partially to address #40290 and
is a continuation of the unfinished work from #40750.

* Only apply fixed width when the setting is on

* Implement chrome-like tab width behavior

Tabs shrink uniformly (down to a limit) but stay fixed-width
when the mouse is over the tab bar.

* Rename width setting to max width

* Make the ifs more readable

* Have event handlers only if the option is set

* 🎨

* Handle sizing artifacts present with wrapping tabs

To achieve this, it's best to remove the transition delay.

* Rename setting to apply only for fixed-sized tabs

* Set default fixed max tab width to 160px

* Minor code tweaks from review comments

* formatting

Co-authored-by: Benjamin Pasero <benjamin.pasero@gmail.com>

* Use disposable listeners

* Remove redundant check for last-in-row

* Apply fade gradient from shrink tabSizing to fixed

* Trying to make the code cleaner and understandable

* Remove transition

On advice of @bpasero, removed transition because
the editor doesn't really use transition that much.

* some cleanup

* fix typo

* Simplify workaround for the overflow issue

* 💄

* 💄

* Let the tabs fix their width before closing the editor

* 💄

---------

Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
Co-authored-by: Benjamin Pasero <benjamin.pasero@gmail.com>
2023-05-22 15:32:52 +00: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
Robo f9480e290f fix: launching code-oss in docker containers (#183123) 2023-05-22 17:15:52 +02:00
Dongcai Huang af8abe785d rename a test whose name is duplicated with another. (#183104)
rename test whose name is duplicated with another.
2023-05-22 14:56:57 +00:00
Johannes Rieken 123deca535 Merge pull request #182763 from microsoft/joh/effective-kingfisher
add extension point for status bar items (first cut)
2023-05-22 16:55:05 +02:00
Benjamin Pasero 558e126e53 UNC host allow list should be case insensitive (fix #182277) (#182757)
* UNC host allow list should be case insensitive (fix #182277)

* only use `toLowerCase()`
2023-05-22 23:35:45 +09:00
Robo ced29a4346 chore: update electron@22.3.10 (#183116) 2023-05-22 16:34:36 +02:00
Johannes 890ca88236 move asStatusBarItemIdentifier into extHostTypes 2023-05-22 16:30:43 +02:00
Johannes 74fe1d7ea1 Revert "move statusBar services and extension point from /browser to /common"
This reverts commit e32bf9abb9.
2023-05-22 16:27:41 +02:00
Megan Rogge 750eebba73 Merge pull request #183085 from jeanp413/jp/accessible-buffer-typo 2023-05-22 09:15:55 -05:00
Benjamin Pasero 8f2fb379e8 Eager getResolvedShellEnv call (fix #183069) (#183110) 2023-05-22 06:51:45 -07:00
Johannes Rieken 747b57b9f1 start with unit tests for interactive editor controller (#183112) 2023-05-22 15:24:20 +02:00
Benjamin Pasero 487a08afe5 Investigate detecting slow network connections (#178553) (#182653) 2023-05-22 14:38:13 +02:00
Henning Dieterichs 09f80f4c54 Merge pull request #182379 from r3m0t/fix-170449
Prevent ligatures between inlay hints and editor contents (Fix #170449)
2023-05-22 12:36:33 +02:00
Alex Ross 5784d8bb81 Update lua grammar (#183107) 2023-05-22 12:15:44 +02:00
Johannes 92f0b683d6 introduce and use asStatusBarItemIdentifier 2023-05-22 11:56:52 +02:00
Johannes e32bf9abb9 move statusBar services and extension point from /browser to /common 2023-05-22 11:52:26 +02:00
Johannes Rieken 4c3982a983 Merge branch 'main' into joh/effective-kingfisher 2023-05-22 11:39:08 +02:00
Peng Lyu eb1dd49915 Fix #183076. Restore editor focus only if the DOM focus is inside the editor widget. (#183078) 2023-05-22 09:49:27 +02:00
Peng Lyu 4700994c75 Focus visible widget first when cell editor gets focused. (#183080) 2023-05-22 08:07:56 +02:00
Megan Rogge 222a960b44 Merge pull request #183040 from microsoft/merogge/run-selected 2023-05-21 17:37:19 -07:00
Jean Pierre 59481cb46b Fix AccessibleBufferContribution.ID typo
It was registering the contribution with `undefined` as id
2023-05-21 19:12:52 -05:00
meganrogge 66d010b937 fix #182002 2023-05-20 09:00:56 -07:00
Daniel Imms adbcbfa5d0 Merge pull request #183005 from microsoft/tyriar/139400
Support fish SI automatic injection
2023-05-19 18:28:39 -07:00
Rob Lourens 27af80e713 Set icon for chat editor, and add editor title (#183008) 2023-05-20 01:45:49 +02:00
Rob Lourens d052d3190f More "chat" renames (#182990)
* More "chat" renames

* More renames
2023-05-19 16:14:43 -07:00
Daniel Imms 9d1a210778 Support fish SI automatic injection
Fixes #139400
2023-05-19 15:45:28 -07:00
Daniel Imms 953275f8e1 Merge pull request #183003 from microsoft/tyriar/181606
Check for html link syntax when evaluating hideOnHover
2023-05-19 15:43:30 -07:00
David Dossett e98412ccc5 Update codicons again (#183002) 2023-05-20 00:41:19 +02:00
Bhavya U b0cf9f8e24 Remove temp walkthroughs (#182996) 2023-05-19 15:28:27 -07:00
Daniel Imms 5e9492a6f2 Check for html link syntax when evaluating hideOnHover
Fixes #181606
2023-05-19 15:27:42 -07:00
David Dossett a4037a72ef Use default theme focus border color in Dark Modern theme (#182997)
Use regular focus border color in Dark Modern theme
2023-05-20 00:06:28 +02:00
David Dossett 4012688329 Update codicons file (#182989) 2023-05-19 14:58:58 -07:00
Joyce Er c0be5c424a Fix dialog aria labels (#182995) 2023-05-19 14:50:45 -07:00
David Dossett a89442fbd5 Add padding to inline chat message (#182988) 2023-05-19 22:39:12 +02:00
Rob Lourens 756bf3308a Expose promise that resolves when chat response is complete, and alert on this (#182983) 2023-05-19 12:54:13 -07:00
Bhavya U 356b07bcbe Hide prev button while loading (#182984) 2023-05-19 21:06:14 +02:00
Daniel Imms bce946eddd Merge pull request #182615 from tisilent/#182303
Fix contributed profile icons
2023-05-19 10:53:20 -07:00
Connor Peet 773af9641d remote: fix port forwarding not working (#182980)
fix: register a remote socket factory in the shared process

Surprised this didn't fail more verbosely...

Fixes #182749
2023-05-19 19:42:53 +02:00
Daniel Imms a1dd463265 Make fix more generic 2023-05-19 10:37:56 -07:00
Daniel Imms 655f127681 Merge pull request #182917 from jeanp413/fix-178017
Fix Improve terminal find behavior when there are more than 1000 results
2023-05-19 10:31:30 -07:00
Aaron Munger c97098e977 Merge pull request #181280 from microsoft/aamunger/scrapbookIW
create a scratchpad untitled workingcopy
2023-05-19 09:53:57 -07:00
Rob Lourens aa79bd7361 Better fix for previous candidate debug issue (#182930)
Bring back the async queue for handling debug messages, but be sure that refreshTopOfCallstack will always resolve its promises and won't make the queue stuck
Fix #181966
2023-05-19 09:52:33 -07:00
Daniel Imms 59041c830a Use an option over a protected override 2023-05-19 09:09:14 -07:00
Connor Peet 42dc9f0c14 bump distro for build fix (#182972) 2023-05-19 17:59:05 +02:00
Bhavya U 6d90c12d5f Clean up getting started async (#182947)
* move remote entry to gettingstarted.contribution

* Clean up gettingStarted service
2023-05-19 08:48:35 -07:00
Connor Peet 679bb967c3 cli: add stdio control server
* signing: implement signing service on the web

* wip

* cli: implement stdio service

This is used to implement the exec server for WSL. Guarded behind a signed handshake.

* update distro

* rm debug

* address pr comments
2023-05-19 17:19:52 +02:00
Daniel Imms 3640b741d6 Merge branch 'main' into fix-178017 2023-05-19 08:12:56 -07:00
Sandeep Somavarapu c125687c4d Adopt new extension host restart lifecycle #180514 (#182967)
Adopt Adopt new extension host restart lifecycle #180514
2023-05-19 16:43:39 +02:00
Daniel Imms fe9154e791 Merge pull request #182963 from microsoft/tyriar/xterm_update_20230519
xterm@5.2.0-beta.43
2023-05-19 07:16:10 -07:00