Commit Graph
25009 Commits
Author SHA1 Message Date
Antonio Scandurra d1d6e692fd Use the new batched edit API when pasting
This fixes a bug that would cause zed to paste text at the wrong
location when inside a multi-buffer where the same buffer was excerpted
more than once.
2022-05-02 10:21:53 +02:00
Antonio Scandurra e2b7ef1716 Insert newlines on paste if copied selections don't match current ones 2022-05-02 10:21:20 +02:00
Antonio Scandurra 1dd53d72cb Merge pull request #958 from zed-industries/titlebar-padding
Add right padding to titlebar instead of margins on elements
2022-05-02 09:32:15 +02:00
Antonio Scandurra 974dea62db Update accidentally uncommitted Cargo.lock 2022-05-02 09:27:51 +02:00
Antonio Scandurra 9856e3adee Add right padding to titlebar instead of margins on elements
This fixes a visual glitch causing the avatar to be shown too close to
the right edge of the window when the share icon was not present.
2022-05-02 09:27:37 +02:00
Nate Butler f62f93df3f Merge pull request #949 from zed-industries/base16-theme-occurrence-style
Update base16 theme occurrence style
2022-04-30 00:57:55 -04:00
Nate Butler 9584a89e2b Update base16 theme occurrence style
- Update base16 theme occurrence style to be visible
- Update match styles to use the blend scaling value
  - This makes it so matches are less loud in light themes
2022-04-30 00:47:07 -04:00
Keith Simmons 94b6f4beb5 Merge pull request #929 from zed-industries/non-uniform-batched-edits
Allow batched edits where each range is associated with different insertion text
2022-04-29 16:14:38 -07:00
Keith Simmons b2c1230fea Convert common edit strings to Arc<str> and simplify duplicate line 2022-04-29 14:57:20 -07:00
4d5d50f32a Reduce string allocations in Editor::insert
Co-authored-by: Nathan Sobo <nathan@zed.dev>
Co-authored-by: Keith Simmons <keith@zed.dev>
2022-04-29 10:07:21 -07:00
Antonio Scandurra 854d88596a Merge pull request #940 from zed-industries/telemetry
Instrument the collab server with OpenTelemetry collecting into Honeycomb.io
2022-04-29 17:50:55 +02:00
Antonio ScandurraandNathan Sobo e608416510 Restore .zed.toml
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
2022-04-29 17:41:49 +02:00
Antonio ScandurraandNathan Sobo 9496735826 Serialize payload in "handle message" span
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
2022-04-29 17:34:22 +02:00
Antonio ScandurraandNathan Sobo 3b0b817b17 Remove collaborators_per_project from Metrics
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
2022-04-29 17:19:14 +02:00
Antonio Scandurra af5cd03162 Revert "WIP"
This reverts commit 75c07a88fd.
2022-04-29 16:45:29 +02:00
Nathan Sobo 75c07a88fd WIP 2022-04-29 08:23:23 -06:00
Nathan Sobo 26f5b7ce6b 0.31.0 2022-04-29 05:58:34 -06:00
Antonio Scandurra 1a1fb5f85f Use f32s for metrics so that we can do aggregation math on honeycomb 2022-04-29 10:31:47 +02:00
Antonio Scandurra dc2561c702 Start adding metrics to collab server 2022-04-29 10:25:20 +02:00
Antonio Scandurra 15f5dc3090 Replace log_err with trace_err on collab::rpc 2022-04-29 09:21:09 +02:00
Nate Butler 4b251bf495 Merge pull request #931 from zed-industries/add-size-token
WIP: Add the `size` token
2022-04-29 01:46:50 -04:00
Nate Butler adbc83a616 Merge pull request #942 from zed-industries/style-status-bar
Update Zed styles
2022-04-29 01:46:27 -04:00
Nate Butler cf79397349 Update projectBrowser styles 2022-04-29 01:35:58 -04:00
Nate Butler f3c1f9dc56 Update search style 2022-04-29 01:24:21 -04:00
Nate Butler a50003049e Update base16 themes background states 2022-04-29 01:24:11 -04:00
Nate Butler ac3249021c Remove unused import 2022-04-29 01:23:52 -04:00
Nate Butler 3e5b92cdfb Style out of date message 2022-04-29 01:06:44 -04:00
Nate Butler 66596144d9 Update status bar style 2022-04-29 00:59:08 -04:00
Keith Simmons 63294a23eb Bump protocol version 2022-04-28 18:56:26 -07:00
Keith Simmons 47d4f42467 Consolidate edit and edit_batched functions 2022-04-28 16:52:04 -07:00
Max Brunsfeld c8108e663a Merge pull request #936 from zed-industries/about-window
Make the 'About Zed' menu item display Zed's version number
2022-04-28 16:17:51 -07:00
Max Brunsfeld 664754a4a7 Make the 'About Zed' menu item display Zed's version number 2022-04-28 16:10:11 -07:00
Max Brunsfeld e02ea25f04 Merge pull request #935 from zed-industries/style-command-palette-active-keystroke
Allow the theme to style the keystroke of the active item in the command palette
2022-04-28 15:42:47 -07:00
Max Brunsfeld 30aa7064f0 🎨 Use Interactive wrapper for search option buttons 2022-04-28 15:29:03 -07:00
Max Brunsfeld 3e9daa2377 Give hover state to picker items, keystrokes in command palette 2022-04-28 15:17:56 -07:00
Max Brunsfeld 3bcb97f912 Rename Selector -> Picker in theme 2022-04-28 14:45:32 -07:00
Max Brunsfeld 3262d28d0c Merge pull request #933 from zed-industries/format-on-save-setting
Add format_on_save setting
2022-04-28 14:38:49 -07:00
Max Brunsfeld 538046d5dc Add format_on_save setting
This lets you turn of formatting on save for specific languages.
2022-04-28 14:31:06 -07:00
Max Brunsfeld c55e106650 Parse .mjs files as JavaScript
Closes #856
2022-04-28 14:09:39 -07:00
Keith Simmons c630ce81bb tweak editor selection mutating functions 2022-04-28 13:46:06 -07:00
Keith Simmons 19bd7fdb51 add anchor to selection fixup info in newline 2022-04-28 13:10:31 -07:00
Max Brunsfeld 97edcb42d4 Remove accidental background color on unhovered ok indicator
A follow-up to #921
2022-04-28 12:44:37 -07:00
Max Brunsfeld dd67838c36 Merge pull request #921 from zed-industries/new-status-bar-design
Style the status bar according to the latest design
2022-04-28 12:42:25 -07:00
Max Brunsfeld 936f7a9b94 Give no-error diagnostic indicator a hover state 2022-04-28 12:35:20 -07:00
Max Brunsfeld 84074c239d Use Interactive helper to theme titlebar buttons 2022-04-28 12:08:15 -07:00
Nate Butler b03c5638c5 Statusbar style tweaks 2022-04-28 14:52:31 -04:00
Nate ButlerandMax Brunsfeld 80672e3f9f Move projectDiagnostics to it's own file and remove unused code
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
2022-04-28 14:52:12 -04:00
Nate ButlerandKeith Simmons d9863cf526 Update token build script for figma
- Use syntax tokens instead of manually adding token content
- Add solarized to output
- Add ramp step value to the token description in Figma Tokens

Co-Authored-By: Keith Simmons <keith@the-simmons.net>
2022-04-28 14:08:59 -04:00
Nate ButlerandKeith Simmons 7890be2e13 Update size token function and types
Co-Authored-By: Keith Simmons <keith@the-simmons.net>
2022-04-28 14:07:20 -04:00
Max Brunsfeld 7f6ddbc12e Restructure status bar theme to style interactive elements more concisely
Introduce an `Interactive` wrapper type that allows themes to selectively
override properties of items in a hovered or active state.
2022-04-28 10:59:32 -07:00