Nate Butler
f3741bcfeb
WIP add IBM Plex Sans
...
(base) natebutler@Nate16 zed % cargo run
Compiling zed v0.99.0 (/Users/natebutler/Code/zed/zed/crates/zed)
Finished dev [unoptimized + debuginfo] target(s) in 9.15s
Running `target/debug/Zed`
Thread "main" panicked with "called `Result::unwrap()` on an `Err` value: parse error" at crates/zed/src/main.rs:667:10
0: backtrace::backtrace::libunwind::trace
at /Users/natebutler/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-0.3.68/src/backtrace/libunwind.rs:93:5
backtrace::backtrace::trace_unsynchronized
at /Users/natebutler/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-0.3.68/src/backtrace/mod.rs:66:5
1: backtrace::backtrace::trace
at /Users/natebutler/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-0.3.68/src/backtrace/mod.rs:53:14
2: backtrace::capture::Backtrace::create
at /Users/natebutler/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-0.3.68/src/capture.rs:176:9
3: backtrace::capture::Backtrace::new
at /Users/natebutler/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-0.3.68/src/capture.rs:140:22
4: Zed::init_panic_hook::{{closure}}
at crates/zed/src/main.rs:436:29
5: std::panicking::rust_panic_with_hook
6: std::panicking::begin_panic_handler::{{closure}}
7: std::sys_common::backtrace::__rust_end_short_backtrace
8: _rust_begin_unwind
9: core::panicking::panic_fmt
10: core::result::unwrap_failed
11: core::result::Result<T,E>::unwrap
at /private/tmp/rust-20230613-7622-103lepv/rustc-1.70.0-src/library/core/src/result.rs:1089:23
12: Zed::load_embedded_fonts
at crates/zed/src/main.rs:664:5
13: Zed::main
at crates/zed/src/main.rs:80:5
14: core::ops::function::FnOnce::call_once
at /private/tmp/rust-20230613-7622-103lepv/rustc-1.70.0-src/library/core/src/ops/function.rs:250:5
15: std::sys_common::backtrace::__rust_begin_short_backtrace
at /private/tmp/rust-20230613-7622-103lepv/rustc-1.70.0-src/library/std/src/sys_common/backtrace.rs:134:18
16: std::rt::lang_start::{{closure}}
at /private/tmp/rust-20230613-7622-103lepv/rustc-1.70.0-src/library/std/src/rt.rs:166:18
17: std::panicking::try
18: std::rt::lang_start_internal
19: std::rt::lang_start
at /private/tmp/rust-20230613-7622-103lepv/rustc-1.70.0-src/library/std/src/rt.rs:165:17
20: _mai
2023-08-09 11:01:20 -04:00
Nate Butler
25b03b3485
Calculate the range for each color family in a theme ( #2738 )
...
Release Notes:
- N/A (Internal theme stuff)
2023-08-08 11:49:52 -04:00
Julia
14c0daa74a
Use the same font size for hovered state of LSP status
...
This element is used for the update state as well for some reason so
while we don't normally ever see this state, it is used when the status
is acting as the restart to update button
2023-08-02 17:33:56 -04:00
Max Brunsfeld
def8c215ff
Revert "Extract syntax highlighting properties from tree-sitter highlight queries ( #2797 )"
...
This reverts commit 20d5589876 , reversing
changes made to 48a9b3e1e9 .
2023-08-02 12:15:39 -07:00
Mikayla Maki
1a2079640d
Halve opacity on wrap guides
2023-07-29 23:53:16 -07:00
Nate Butler
20d5589876
Extract syntax highlighting properties from tree-sitter highlight queries ( #2797 )
...
This should be a purely internal change. Let me know if any visual
changes are observed from this!
### Syntax theme
- Update the theme to allow any syntax highlighting property used in any
`highlight.scm` to be styled
- Only define syntax styles that are baked into the default theme &
don't use the default text style
- Adds the `generate-syntax` command
- Removes a few unused properties that we were styling for some reason,
like `enum` and `variant`, neither of which exist in any `highlight.scm`
- Moves `@constructor` symbols to `@method.constructor` to prevent
issues with `constructor` being a reserved property in ts/js.
Syntax is now build as the theme is created rather than as part of the
styleTree. This means it no longer requires a compiled `Theme`, which
makes things a bit more straightforward if we need to access it in other
components that should be built before the styleTrees.
### Scheme
Also updates all uses of `#match` in our `highlights.scm` files, as
these break the scheme tree-sitter query. This fixes _most_ instances of
our scheme highlighting breaking.
For some reason something in here breaks the `highlights.scm` for PHP:
```scheme
((name) @constant.builtin
(.match? @constant.builtin "^__[A-Z][A-Z\d_]+__$"))
((name) @method.constructor
(.match? @method.constructor "^[A-Z]"))
((name) @variable.builtin
(.eq? @variable.builtin "this"))
```
Release Notes:
- No public facing changes
2023-07-27 13:14:01 -04:00
Nate Butler
b57bf21b11
Remove redundant syntax_highlights
2023-07-27 13:02:40 -04:00
Nate Butler
1d02ac63ae
Format
2023-07-27 12:56:54 -04:00
Nate Butler
5502ed5b0f
Extract syntax highlighting properties from tree-sitter highlight queries
2023-07-27 12:25:53 -04:00
Julia
cdb8eb1f2f
Make LSP status message match new font size of diagnostic message
2023-07-27 10:25:46 -04:00
Conrad Irwin and Nate Butler
8fd9cba675
Update status bar theming
...
Co-Authored-By: Nate Butler <iamnbutler@gmail.com >
2023-07-25 11:06:41 -06:00
Conrad Irwin
1fccc35107
Refactor mode indicator to remove itself
...
One of the problems we had is that the status_bar shows a gap between
items, and we want to not add an additional gap for an invisible status
indicator.
2023-07-24 09:51:54 -06:00
Conrad Irwin
6ef1e48a77
Add a mode indicator for vim
...
This is the second most common remaining complaint (after :w not
working).
Fixes : zed-industries/community#409
2023-07-21 16:06:14 -06:00
Mikayla Maki
fdc4bc9cbc
bump the brightness of the active wrap guide
2023-07-20 16:45:41 -07:00
Mikayla Maki
167d34be50
Add wrap guides and associated settings
2023-07-20 16:39:13 -07:00
Derek Briggs
82ab668575
Fix files that don’t have a prefix
2023-07-19 11:10:30 -07:00
Derek Briggs
8906ce8c8b
Update icons to new zed file icon set
2023-07-19 11:10:30 -07:00
Mikayla Maki
98f263639e
Added file suffix and icon associations data
2023-07-19 11:10:30 -07:00
Mikayla Maki
36d33e77f0
Add suffix based file icons
2023-07-19 11:10:30 -07:00
Joseph T. Lyons and Julia
f1099ed9cc
Prevent multiple submissions of the same feedback text
...
Co-Authored-By: Julia <30666851+ForLoveOfCats@users.noreply.github.com >
2023-07-17 16:10:34 -04:00
Alex Viscreanu
f4990e2c20
feat(workspace): show git status on editor tabs
2023-07-17 20:53:42 +02:00
Mikayla Maki
b3e61051fa
Fix fold indicator active hover style
2023-07-15 22:51:04 -07:00
Nate Butler
bf2124cfbd
Add styles for an action_button ahead of the "Select all matches" UI button
2023-07-14 14:47:12 +03:00
Sergey Onufrienko
8634002ac7
feat: add low, high, range and scaling
2023-07-13 22:09:31 +01:00
Nate Butler and Piotr Osiewicz
7010dec952
Update picker footer button style
...
Co-Authored-By: Piotr Osiewicz <24362066+osiewicz@users.noreply.github.com >
2023-07-12 12:40:37 -04:00
Piotr Osiewicz
45ba98fab1
Merge branch 'main' into piotr/z-2556-add-create-branch-button
2023-07-12 18:11:52 +02:00
Julia
0791eb1f83
Avoid user menu toggle button overlapping with tab bar top border
2023-07-11 16:49:53 -04:00
Sergey Onufrienko
16b4b124ab
Add color_family to theme
2023-07-10 20:41:39 +01:00
Piotr Osiewicz
2db48dc666
Add styles for branch create button
2023-07-10 16:51:18 +02:00
Nate Butler
7616103cab
Avoid overlapping the scrollbar
2023-07-10 10:44:39 -04:00
Nate Butler
436ba1e0be
Update tab_bar_button.ts
2023-07-10 10:24:24 -04:00
Nate Butler
83cf0f7092
Merge branch 'main' into update-assistant-styles
2023-07-10 10:22:18 -04:00
Nate Butler
d3b73a035b
Update zoom icons
2023-07-10 10:09:59 -04:00
Nate Butler
affdd9655e
Update scrollbar selection style
2023-07-06 10:54:47 -04:00
Piotr Osiewicz
a5afd99a66
Merge branch 'main' into Z-1292/show_search_results_in_scrollbar
2023-07-06 11:43:44 +02:00
Nate Butler
299e91e3da
Z-2276/Z-2275: Project & Branch switchers ( #2662 )
...
This PR adds project and branch switchers in top left corner.
Release Notes:
- Added a project & branch switcher under project name.
2023-07-05 13:09:40 -04:00
Nate Butler and Piotr Osiewicz
3950cb48f4
Update project & git menus to be Toggleable<Interactive<ContainedText>>
...
Co-Authored-By: Piotr Osiewicz <24362066+osiewicz@users.noreply.github.com >
2023-07-05 12:50:56 -04:00
Nate Butler
1ca9f64e30
color_scheme -> theme
2023-07-04 01:20:56 -04:00
Nate Butler
5d7f524850
Remove unused color_scheme field in the theme
...
I totally didn't mean to commit this right to main T_T
2023-07-04 00:44:12 -04:00
Nate Butler
3cba06098b
Revert "Remove unused color_scheme field in the theme"
...
This reverts commit c10e08d014 .
2023-07-04 00:41:13 -04:00
Nate Butler
c10e08d014
Remove unused color_scheme field in the theme
2023-07-04 00:40:01 -04:00
Nate Butler
8d6f9c24df
Update a few more components
2023-07-04 00:32:27 -04:00
Nate Butler
dde77750c6
Use theme store to pass color_scheme directly to components
2023-07-04 00:13:04 -04:00
Piotr Osiewicz
49fe2dffd2
Add styles for project name/git menu
2023-06-30 20:07:44 +02:00
Piotr Osiewicz
748d966b9d
Improve styling of git menu
2023-06-30 16:38:38 +02:00
Piotr Osiewicz
afa9eeb3c5
Add styles to git menu
2023-06-30 16:23:27 +02:00
Nate Butler
ac73473cc5
Extract assistant tool buttons into tab_bar_button
2023-06-29 18:13:31 -04:00
Nate Butler
ac727f51fb
Add doc comments for ColorScheme layer properties
2023-06-29 17:32:19 -04:00
Nate Butler
30251b8c22
Update assistant styles
2023-06-29 17:32:04 -04:00
Kirill Bulatov
3a66693941
Post-rebase fixes
2023-06-29 22:39:33 +03:00