Piotr Osiewicz
a8f1c15a1e
chore: Fix clippy::needless_borrow up to an editor
2024-01-21 15:03:24 +01:00
Conrad Irwin
d7a7a545d9
Merge remote-tracking branch 'origin/main' into chat-font-size
2024-01-20 14:51:53 -07:00
Conrad Irwin
9d5e3fe30f
Add a setting "use_autoclose" to control autoclose
...
Also disable autoclose for Chat
2024-01-20 13:33:03 -07:00
Max Brunsfeld
41b617b6ed
Ensure editors context menus get at least 3 lines of height
2024-01-19 15:47:42 -08:00
7b9a5a8de1
Start work on autocomplete for chat mentions
...
Co-authored-by: Conrad <conrad@zed.dev >
Co-authored-by: Nathan <nathan@zed.dev >
Co-authored-by: Marshall <marshall@zed.dev >
2024-01-19 13:12:57 -08:00
Max Brunsfeld
f6903874f7
Start work on API docs for the language crate ( #3981 )
2024-01-19 10:04:45 -08:00
Marshall Bowers
8602fa9ece
Update tenses of doc comment summary lines ( #4161 )
...
This PR updates the tenses used by the summary line of doc comments to
match the [Rust API documentation
conventions](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#summary-sentence ).
Specifically:
> The summary line should be written in third person singular present
indicative form. Basically, this means write ‘Returns’ instead of
‘Return’.
I'm sure there are plenty occurrences that I missed.
Release Notes:
- N/A
2024-01-19 11:18:50 -05:00
Max Brunsfeld
1ceba375b5
Remove missing docs warning for now
2024-01-18 15:51:25 -08:00
Max Brunsfeld
654c04da42
Document DiagnosticSet, SyntaxMap
2024-01-18 15:44:24 -08:00
Max Brunsfeld
037768f80d
Merge branch 'main' into language-api-docs
2024-01-18 15:06:45 -08:00
Thorsten Ball
c7aae4860e
Refactor LanguageSever::fake into FakeLanguageServer::new
...
This is just moving code around and doesn't change behaviour, but it's
something Julia and I bumped into yesterday while writing docs.
2024-01-18 10:59:32 +01:00
Mikayla
0b43bd7c14
Fix typos detected by crate-ci/typos
2024-01-17 14:31:21 -08:00
Max Brunsfeld and Antonio
7ea371a531
Add docs for buffer.rs
...
Co-authored-by: Antonio <antonio@zed.dev >
2024-01-17 10:08:42 -08:00
Conrad Irwin
fba7f557d9
Merge branch 'main' into guest-promotion
2024-01-09 16:28:42 -07:00
Piotr Osiewicz
c4909e460e
Add short top-level description of a crate
2024-01-09 21:08:29 +01:00
Piotr Osiewicz
f141d95caf
Docs for indent_size_for_line and co
2024-01-09 20:50:34 +01:00
Piotr Osiewicz
d868cc1dd4
Document bracket pairs
2024-01-09 20:32:50 +01:00
Max Brunsfeld
3476876292
More docs
2024-01-09 10:53:57 -08:00
Max Brunsfeld
14b298f9fe
Start work on language docs
2024-01-09 10:14:05 -08:00
Kirill Bulatov
1885228457
Remove dbg! usage from tests
2024-01-09 10:08:27 +02:00
Conrad Irwin
71ef720072
Allow adding write access to guests
2024-01-08 22:02:56 -07: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
Conrad Irwin
455d60f20a
Merge branch 'main' into channel-guests
2024-01-05 10:05:59 -07:00
Piotr Osiewicz
273ea228a9
lsp: Do not cache initialization options
2024-01-04 19:54:58 +01:00
Max Brunsfeld
9ed2258254
Remove wasmtime for now
2024-01-03 21:44:58 -05:00
Conrad Irwin
4260ed27f6
Track read_only per project and buffer
...
This uses a new enum to avoid confusing booleans
2024-01-03 19:31:43 -07:00
Max Brunsfeld and Mikayla
75f0670dd6
Remove 2 suffix from gpui
...
Co-authored-by: Mikayla <mikayla@zed.dev >
2024-01-03 12:59:39 -08:00
Max Brunsfeld and Mikayla
ee573f7906
Remove 2 suffix for theme
...
Co-authored-by: Mikayla <mikayla@zed.dev >
2024-01-03 12:41:01 -08:00
Max Brunsfeld and Mikayla
e2be87c688
Remove 2 suffix for ui, storybook, text
...
Co-authored-by: Mikayla <mikayla@zed.dev >
2024-01-03 12:33:51 -08:00
Max Brunsfeld and Mikayla
2e155121f8
Remove 2 suffix for collab, rope, settings, menu
...
Co-authored-by: Mikayla <mikayla@zed.dev >
2024-01-03 12:29:16 -08:00
Max Brunsfeld and Mikayla
cd818cd329
Remove 3 suffix for git crate
...
Co-authored-by: Mikayla <mikayla@zed.dev >
2024-01-03 12:11:59 -08:00
Max Brunsfeld and Mikayla
7173f4a82b
Remove 2 suffix for fs, db, semantic_index, prettier
...
Co-authored-by: Mikayla <mikayla@zed.dev >
2024-01-03 12:09:42 -08:00
Max Brunsfeld and Mikayla
f8cb050345
Remove 2 suffix for client, call, channel
...
Co-authored-by: Mikayla <mikayla@zed.dev >
2024-01-03 12:02:14 -08:00
Max Brunsfeld and Mikayla
8e704c8a47
Remove 2 suffix for lsp, language, fuzzy
...
Co-authored-by: Mikayla <mikayla@zed.dev >
2024-01-03 11:58:02 -08:00
Max Brunsfeld
e9a866b3b6
Start work on supporting custom languages
2024-01-02 08:01:59 -08:00
Piotr Osiewicz
5b9069b9b7
Bump Rust to 1.75 ( #3815 )
...
**This PR also bumps wasmtime version from 0.38 to 2.0 as 0.38 does not
build with Rust 1.75**. I did not test the plugin runtime as (AFAIK) we
intend to deprecate it; also, wasmtime's most recent version is 16.0, so
it'd make sense to bump the version at some point anyways. I did not
bump the version to 16.0 straight away as that'd require code changes in
`plugin_runtime`.
Release Notes:
- N/A
2023-12-28 19:22:43 +01:00
Kirill Bulatov
cc6109383d
Fix eslint diagnostics by passing worktree root during workspace init
2023-11-30 11:38:16 +02:00
Max Brunsfeld
4dbfdfdf02
Upgrade Tree-sitter for stack-overflow bugfix
2023-11-27 13:16:50 -08:00
Max Brunsfeld
b15356f133
Don't update file's saved mtime when reload is aborted
2023-11-16 18:02:49 -08:00
Max Brunsfeld
4870963f19
Port buffer reload bug fixes back to gpui1 crates
2023-11-16 16:03:14 -08:00
Max Brunsfeld and Kirill
3248d712e5
Use normal JS comments within JSX tags and JSX expression blocks
...
Co-authored-by: Kirill <kirill@zed.dev >
2023-11-09 10:58:33 -08:00
Julia
19dc26c497
Limit language server reinstallation attempts
2023-10-26 17:14:34 +02:00
Julia
b13da646e8
Capture language server stderr during startup/init and log if failure
2023-10-26 12:29:22 +02:00
Conrad Irwin
84ac6a4401
Fix character selection
2023-10-24 10:50:08 +02:00
Kirill Bulatov
a7f4fce1e4
Move prettier parsers data into languages from LSP adapters ( #3150 )
...
Release Notes:
- Fixed incorrect prettier parsers sometimes being applied to certain
files
2023-10-21 02:22:21 +03:00
Kirill Bulatov
fb3932aa57
Move prettier parsers data into languages from LSP adapters
2023-10-21 01:14:03 +02:00
Conrad Irwin
fbbf36d152
Merge branch 'main' into pixel-columns
2023-10-18 23:00:56 -06:00
Piotr Osiewicz
503ca69e86
editor/language: hoist out non-generic parts of edit functions. ( #3130 )
...
This reduces LLVM IR size of editor (that's one of the heaviest crates
to build) by almost 5%.
LLVM IR size of `editor` before this PR: 3280386
LLVM IR size with `editor::edit` changed: 3227092
LLVM IR size with `editor::edit` and `language::edit` changed: 3146807
Release Notes:
- N/A
2023-10-16 13:17:44 +02:00
Julia
e3e012b4b4
Autocomplete docs ( #3126 )
...
Release Notes:
- Added documentation display for autocomplete items.
- Fixed autocomplete filtering blocking the Zed UI, causing hitches and
input delays with large completion lists.
- Fixed hover popup link not firing if the mouse moved a slight amount
while clicking.
- Added support for absolute path file links in hover popup and
autocomplete docs.
2023-10-13 13:26:45 -04:00
Piotr Osiewicz
5c749a5db2
Piotr/z 651 vue support ( #3123 )
...
Release Notes:
- Added Vue language support.
2023-10-13 18:58:59 +02:00