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
0d95415f0a
Add the generate-syntax action
2023-07-27 12:55:32 -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
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
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
812b51e5d9
Remove unused ts aliases
2023-07-04 01:37:45 -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
Nate Butler
b39ef4ba1b
Update Hint Style
...
zzz
2023-06-29 22:39:17 +03:00
Nate Butler
189aaed13a
Re-add missing active state
2023-06-29 14:40:00 -04:00
Nate Butler
0f3993c59c
Delete snake_case.ts
2023-06-29 11:56:14 -04:00
Nate Butler
8d87200639
Update package-lock.json
2023-06-29 11:48:17 -04:00