Thorsten Ball
a71b0aabe6
Fix missing Ctrl-[ bindings in Vim mode
...
This "adds" the keybindings I was missing in Vim mode (e.g. `Ctrl-[` to
cancel a selection) by fixing the definitions in the keymap from
`Ctrl+[` to `Ctrl-[`.
2024-01-17 12:22:05 +01:00
Mikayla Maki
c7c33d1a0f
Switch project search deploy behavior to be isolated to a pane ( #4072 )
...
This adjusts the solution in
https://github.com/zed-industries/zed/pull/4014 to fix the double-focus
issue, allowing each pane's project search to work independently.
Release Notes:
- Changed the name of the `workspace::DeploySearch` action to
`pane::DeploySearch` and changed it's behavior to open a new search OR
focus an existing project search in the current pane.
(https://github.com/zed-industries/community/issues/2395 )
2024-01-16 10:41:57 -08:00
Mikayla
2972efb721
Change name of deploy action to indicate what scope it operates at
2024-01-16 10:30:21 -08:00
Conrad Irwin
0fdbce875b
Default to Zed Sans for UI
2024-01-13 22:38:22 -07:00
Julia
d5c5c61a69
Stop following on escape key press
2024-01-11 11:25:35 -05:00
Piotr Osiewicz and Marshall Bowers
f90b05b716
Display setting documentation in settings.json ( #3936 )
...
Let this screenshot of settings.json speak for itself:

Release Notes:
- Added code completion & on-hover documentation to Zed's settings.json
file.
---------
Co-authored-by: Marshall Bowers <elliott.codes@gmail.com >
2024-01-08 19:30:18 +01:00
Nate Butler
f41b7f676f
Always show checking with icon if checks are still running
2024-01-08 11:55:51 -05:00
Kirill Bulatov
a5a9292c76
Return back old project search behavior as default.
...
Add a `workspace::DeploySearch` action and use it as a default for "cmd-shift-f" binding.
This action opens existing search tab if it exists, or creates a new one otherwise.
`workspace::NewSearch` action is still available and always opens an existing search tab.
2024-01-04 21:17:24 +02:00
Nate Butler
f5620f3896
Add "Checking" icon for diagnostics
2024-01-03 23:07:21 -05:00
Nate Butler
58d4d337e4
Standardize icon naming
2024-01-03 11:45:41 -05:00
Nate Butler
26fd393afd
Add pageup and pagedown icons and keybinding icons
2024-01-03 11:28:31 -05:00
Nate Butler
f04cb8cf8e
Add return, space, tab, escape keybinding icons
2024-01-03 11:14:33 -05:00
Piotr Osiewicz
0333358e22
ui: Add Backspace/Delete icons and use them for keybindings.
2024-01-02 16:41:56 +01:00
Marshall Bowers
b935d97988
Fix names for Rosé Pine themes ( #3771 )
...
This PR fixes the names of the Rosé Pine themes.
We want to keep the Unicode "é" in the theme name, both because this is
the actual name of the theme, and also to maintain parity with Zed1.
Release Notes:
- N/A
2023-12-21 22:45:29 -05:00
Marshall Bowers
13d4de4d36
Fix typo in "Noctis Hibernus" theme name ( #3770 )
...
This PR fixes a typo in the name of the "Noctis Hibernus" theme.
Release Notes:
- N/A
2023-12-21 22:36:40 -05:00
Max Brunsfeld
541ae5993d
Restrcit context for some editor bindings that don't apply to single-line editors
2023-12-19 14:11:59 -08:00
Nate Butler
ce3d873a3b
Style assistant header, update icons
2023-12-19 10:30:46 -05:00
Nate Butler
7f3e724723
Add github icon
2023-12-18 12:56:57 -05:00
Kirill Bulatov
ab027aa72e
Rework the way project panel auto reveals entries
...
* gitignored entries are never auto revealed
* `project_panel::auto_reveal_entries = true` settings entry was added,
setting it to `false` will disable the auto reveal
* `pane::RevealInProjectPanel` action was added that activates the project panel and reveals the entry it got triggered on (including the gitignored ones)
2023-12-12 11:38:51 +02:00
Marshall Bowers
572f0401c3
Fix line endings in Palenight source themes ( #3554 )
...
This PR fixes the line endings in the Palenight source themes.
Release Notes:
- N/A
2023-12-08 12:04:24 -05:00
Marshall Bowers
8839f6a686
Re-import Rosé Pine source themes
2023-12-08 11:45:08 -05:00
Marshall Bowers
3fdcd61162
Add support for theme family-specific syntax mapping overrides ( #3551 )
...
This PR adds support for adding a specific set of mappings from Zed
syntax tokens to VS Code scopes for a particular theme family.
We can use this as a fallback when we aren't otherwise able to rely on
the mappings in the theme importer, as sometimes it isn't possible to
make a specific enough matcher that works across all of the themes.
Release Notes:
- N/A
2023-12-07 23:37:49 -05:00
Max Brunsfeld
cd1f47e462
Put ToggleZoom key binding back into the block with no context
2023-12-06 11:32:05 -08:00
Nathan Sobo and Marshall
76e6f84910
Merge main
...
Co-Authored-By: Marshall <marshall@zed.dev >
2023-12-05 16:47:13 -07:00
Nathan Sobo and Max
57afaa0ebc
Move workspace bindings to workspace context
...
Without this, hitting cmd-n on the context menu in the project browser
invokes the workspace::NewFile action instead of the project::NewFile
action. We're considering changing the behavior so that bindings with no
context can only invoke global actions.
Co-Authored-By: Max <max@zed.dev >
2023-12-01 15:59:40 -07:00
Nate Butler
45b93a6903
Re-add diagnostic headers
2023-12-01 15:30:01 -05:00
Joseph T. Lyons
a0ff783d4b
Fix bug preventing spaces from being used in filename
2023-11-29 22:04:41 -05:00
Nate Butler
f28e252e50
Merge branch 'main' into refine-keybindings
2023-11-28 14:00:09 -05:00
Nate Butler
cf0c36763c
Update default ui font settings
2023-11-21 10:43:18 -05:00
Nate Butler
c6468b1850
kb
2023-11-20 10:46:23 -05:00
Nate Butler
d38fc52ef9
Update diagnostic status bar tool
2023-11-18 00:54:01 -05:00
Kirill Bulatov
96f3f81c6c
Fix most of the TODOs
2023-11-17 21:40:57 +02:00
Kirill Bulatov
0c58d9b130
Use a better name
2023-11-17 21:40:57 +02:00
Kirill Bulatov
078ae9256a
Add default scan excluded files settings
2023-11-17 21:40:56 +02:00
Nate Butler
31ed4fddff
Revert change to default buffer font size
2023-11-16 13:13:03 -05:00
Nate Butler and Marshall Bowers
fc3bba86c8
Change the default buffer font size to 16
...
Co-Authored-By: Marshall Bowers <1486634+maxdeviant@users.noreply.github.com >
2023-11-16 11:38:04 -05:00
Nate Butler and Marshall Bowers
4f9f0ce53c
Allow users to set UI font properties in their settings
...
Co-Authored-By: Marshall Bowers <1486634+maxdeviant@users.noreply.github.com >
2023-11-16 11:37:46 -05:00
Joseph T. Lyons
e90f157320
Add gpt-4-1106-preview model
2023-11-14 08:28:57 -05:00
Joseph T. Lyons
6f3ef27d85
Update jetbrains keymap to match community repo
2023-11-13 10:41:56 -05:00
Kirill Bulatov
943bc66a9a
Do not add diagnostics for any selection in the diagnostics panel
2023-11-10 13:35:58 +02:00
Marshall Bowers
407b4ae3be
Re-import the Synthwave 84 theme ( #3297 )
...
This PR re-imports the Synthwave 84 theme now that we support 3-value
hex colors.
Release Notes:
- N/A
2023-11-09 18:56:42 -05:00
Nate Butler
e3e45b7c0a
Extend theme converter to allow multimatching against vscode colors ( #3294 )
...
[[PR Description]]
Adds the ability to specify a vec of VScode syntax scopes to match
against for a given syntax style.
Example:
```rust
pub fn to_vscode(&self) -> Vec<&'static str> {
use ZedSyntaxToken::*;
match self {
SyntaxAttribute => vec!["entity.other.attribute-name"],
SyntaxBoolean => vec!["constant.language"],
SyntaxComment => vec!["comment"],
SyntaxCommentDoc => vec!["comment.block.documentation"],
SyntaxConstant => vec!["constant.character"],
SyntaxConstructor => vec!["entity.name.function.definition.special.constructor"],
SyntaxEmbedded => vec!["meta.embedded"],
SyntaxEmphasis => vec!["markup.italic"],
SyntaxEmphasisStrong => vec![
"markup.bold",
"markup.italic markup.bold",
"markup.bold markup.italic",
],
SyntaxEnum => vec!["support.type.enum"],
SyntaxFunction => vec![
"entity.name.function",
"variable.function",
"support.function",
],
SyntaxKeyword => vec!["keyword"],
SyntaxLabel => vec![
"label",
"entity.name",
"entity.name.import",
"entity.name.package",
],
// .. more styles
}}
```
Useful `settings.json` for testing themes:
```json5
{
// --- Dark Themes ---
"theme": "Ayu Dark"
// "theme": "Ayu Mirage"
// "theme": "Dracula"
// "theme": "Gruvbox Dark Hard"
// "theme": "Gruvbox Dark Medium"
// "theme": "Gruvbox Dark Soft"
// "theme": "Night Owl"
// "theme": "Noctis Obscuro"
// "theme": "Noctis"
// "theme": "Nord"
// "theme": "Palenight (Mild Contrast)"
// "theme": "Palenight Operator"
// "theme": "Palenight"
// "theme": "Rose Pine Moon"
// "theme": "Rose Pine"
// "theme": "Solarized Dark"
// "theme": "Synthwave 84"
// --- Light Themes ---
// "theme": "Ayu Light"
// "theme": "Gruvbox Light Hard"
// "theme": "Gruvbox Light Medium"
// "theme": "Gruvbox Light Soft"
// "theme": "Noctis Lux"
// "theme": "Rose Pine Dawn"
// "theme": "Solarized Light"
}
```
Release Notes:
- N/A
2023-11-09 17:40:10 -05:00
Max Brunsfeld
64b809317a
Merge branch 'main' into search-query-suggestion-fixes
2023-11-09 14:18:17 -08:00
Max Brunsfeld
c9bd5548ae
Add a setting for when to seed the search query from the text under the cursor
2023-11-09 14:03:14 -08:00
Nate Butler
2de7dad850
regenerate themes, format
2023-11-09 16:48:35 -05:00
Nate Butler
9b3e6dfed9
Fix incorrect Rose Pine Dawn theme name
2023-11-09 16:44:40 -05:00
Nate Butler
1cc2984fef
Extend theme converter to allow multimatching against vscode colors
2023-11-09 16:38:48 -05:00
Nate Butler and Marshall Bowers
c392e567a0
Finish passing Syntax from VSCode themes to Zed Themes
...
Co-Authored-By: Marshall Bowers <1486634+maxdeviant@users.noreply.github.com >
2023-11-09 14:41:26 -05:00
Nate Butler
4e52e68a43
Finish up initial themes
2023-11-06 15:24:36 -05:00
Nate Butler
6c0f5f9965
Add additional themes, update theme importer
2023-11-06 14:54:21 -05:00