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
Julia
1a27bf9ae1
Allow file links in markdown & filter links a bit aggressively
2023-10-12 12:11:27 -04:00
Kirill Bulatov
249fea65c8
Revert unnecessary style changes
2023-10-12 16:17:41 +03:00
Kirill Bulatov
31cb6e46be
Make all formatting to happen on the client's buffers, as needed
2023-10-12 15:29:57 +03:00
Kirill Bulatov
61f321016d
Add prettier tests infrastructure
2023-10-11 19:13:28 +03:00
Kirill Bulatov
a29eef27be
Small style fixes
2023-10-11 12:56:29 +03:00
Kirill Bulatov
9b27d92c37
Draft remote prettier formatting
2023-10-11 12:56:29 +03:00
Kirill Bulatov
6a9e12f9c2
Properly support prettier plugins
2023-10-11 12:56:29 +03:00
Kirill Bulatov
1c58aafd9c
Allow to configure default prettier
2023-10-11 12:56:29 +03:00
Kirill Bulatov
5da3a8bad3
Better pass prettier options
2023-10-11 12:56:29 +03:00
Kirill Bulatov
df2c2470c8
Make language adapters able to require certain bundled formatters
2023-10-11 12:56:29 +03:00
Kirill Bulatov
a7f42aa29e
Slightly better prettier settings and discovery
2023-10-11 12:56:29 +03:00
Kirill Bulatov
40de5415c9
Draft a project part of the prettier
2023-10-11 12:56:28 +03:00
Julia
24233511f1
Enable completion menu to resolve documentation when guest
2023-10-10 00:16:15 -04:00
Conrad Irwin
9adae50f93
Remove some unnecessary Eqs
2023-10-09 21:47:58 -06:00
Julia
a45b0c2e23
Fix hover_popover.rs after bad rebase
2023-10-09 14:28:53 -04:00
Julia
02523c3e1c
Don't need editor style to parse markdown
2023-10-06 13:26:39 -04:00
Julia
96eb6b7dce
Wait for language to load when parsing markdown
2023-10-06 13:26:39 -04:00
Julia
ee129e022f
Preparse documentation markdown when resolving completion
2023-10-06 13:26:38 -04:00
Julia
7e915279f6
Asynchronously request completion documentation if not present
2023-10-06 13:26:38 -04:00
Julia
8f1f17e3de
Most of getting completion documentation resolved & cached MD parsing
2023-10-06 13:26:38 -04:00
Piotr Osiewicz
d2ff0ea117
chore: Upgrade to Rust 1.73 ( #3096 )
...
Release Notes:
- N/A
2023-10-06 14:50:29 +02:00
Conrad Irwin and Mikayla Maki
c125da4c8d
Fix tracking newly saved buffers
...
Co-Authored-By: Mikayla Maki <mikayla@zed.dev >
2023-10-04 14:44:21 -06:00
Antonio Scandurra
a1cc8b5dce
Summarize the contents of a file using the embedding query
2023-10-02 14:32:13 +02:00
Kirill Bulatov
9738786fa4
Add a specific server id to a Copilot LSP
2023-09-19 12:32:05 +03:00
Julia and Antonio Scandurra
d34eccbeda
Use unbounded channel(s) for LSP binary status messaging
...
Co-Authored-By: Antonio Scandurra <antonio@zed.dev >
2023-09-12 13:45:36 -04:00
Max Brunsfeld
977b734848
Start work on rejoining channel buffers
2023-09-01 16:52:12 -07:00
Max Brunsfeld
fe943bc46b
Remove local timestamps from CRDT operations
...
Use lamport timestamps for everything.
2023-08-31 16:23:06 -07:00
Julia
3faabbe91a
Merge branch 'main' into multi-server-completions-tailwind
2023-08-30 22:58:37 -04:00
Julia and Kirill Bulatov
6414d0eae1
Scope Tailwind in JS/TS to within string
...
In some situations outside JSX elements Tailwind will never
respond to a completion request, holding up the tsserver completions.
Only submit the request to Tailwind when we wouldn't get tsserver
completions anyway and don't submit to Tailwind when we know we won't
get Tailwind completions
Co-Authored-By: Kirill Bulatov <kirill@zed.dev >
2023-08-30 21:14:39 -04:00
da054bfbb5
Avoid accidental gpui transitive dependency in collab
...
* Make Fs depend on Text, not vise versa
Co-authored-by: Joseph <joseph@zed.dev >
Co-authored-by: Mikayla <mikayla@zed.dev >
2023-08-30 13:16:01 -07:00
Julia and Kirill Bulatov
f197a59d69
Initial unstyled language server short name in completions
...
Co-Authored-By: Kirill Bulatov <kirill@zed.dev >
2023-08-28 11:27:45 -04:00
Antonio Scandurra
40c8e5b9ef
Allow redoing edits performed by inline assistant after cancelling it
2023-08-28 14:42:52 +02:00
Antonio Scandurra
bafdbdc38c
Merge remote-tracking branch 'origin/main' into ai-refactoring
2023-08-28 12:16:24 +02:00
Piotr Osiewicz
0818c0d178
language: Make Buffer::new take an explicit ID ( #2900 )
...
See Linear description for the full explanation of the issue. This PR is
mostly a mechanical change, except for the one case where we do pass in
an explicit `next_id` instead of `model_id` in project.rs.
Release Notes:
- Fixed a bug where some results were not reported in project search in
presence of unnamed buffers.
2023-08-28 11:51:50 +02:00
Julia and Max Brunsfeld
1d63cf0ca0
Add word_characters to language overrides & use for more things
...
Use word_characters to feed completion trigger characters as well and
also recognize kebab as a potential sub-word splitter. This is fine for
non-kebab-case languages because we'd only ever attempt to split a word
with a kebab in it in language scopes which are kebab-cased
Co-Authored-By: Max Brunsfeld <max@zed.dev >
2023-08-25 18:46:30 -04:00
Max Brunsfeld
cf311455ba
Fix rust 1.72 warnings about shadowed glob re-exports
2023-08-25 10:25:21 -07:00
Max Brunsfeld
0596c2f103
Format let-else statements
2023-08-25 10:11:32 -07:00
Antonio Scandurra
6eb450178e
Merge remote-tracking branch 'origin/main' into ai-refactoring
2023-08-25 13:37:32 +02:00
Antonio Scandurra
c549cdb9b2
Rework inline assistant
2023-08-25 11:39:27 +02:00
Max Brunsfeld and Mikayla
d5b7254ce0
Ensure collaborators cursor colors are the same in channel buffers as in projects
...
Co-authored-by: Mikayla <mikayla@zed.dev >
2023-08-24 11:31:41 -07:00
Antonio Scandurra
07fac03f4f
Rename merge_transaction_into to merge_transactions
2023-08-24 14:26:42 +02:00