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
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
Max Brunsfeld and Mikayla
992eddbff0
Snapshot channel notes buffers when everyone leaves
...
Co-authored-by: Mikayla <mikayla@zed.dev >
2023-08-23 18:37:01 -07:00
Antonio Scandurra and Kyle Caverly
50df6db592
Group modal assistant edits into the same transaction
...
Co-Authored-By: Kyle Caverly <kyle@zed.dev >
2023-08-23 17:09:15 +02:00
Julia
228326d9ec
Only generate workspace/configuration for relevant adapter
2023-08-22 23:36:04 -04:00
Piotr Osiewicz and Julia Risley
97573a1995
Z 2819 ( #2872 )
...
This PR adds new config option to language config called
`word_boundaries` that controls which characters should be recognised as
word boundary for a given language. This will improve our UX for
languages such as PHP and Tailwind.
Release Notes:
- Improved completions for PHP
[#1820 ](https://github.com/zed-industries/community/issues/1820 )
---------
Co-authored-by: Julia Risley <julia@zed.dev >
2023-08-22 12:23:30 +03:00
Piotr Osiewicz and Julia Risley
9a197a63f8
Z 2819 ( #2872 )
...
This PR adds new config option to language config called
`word_boundaries` that controls which characters should be recognised as
word boundary for a given language. This will improve our UX for
languages such as PHP and Tailwind.
Release Notes:
- Improved completions for PHP
[#1820 ](https://github.com/zed-industries/community/issues/1820 )
---------
Co-authored-by: Julia Risley <julia@zed.dev >
2023-08-22 10:35:20 +02:00
Max Brunsfeld and Julia
c09b84178d
Fix regression in Buffer::language_scope_at
...
Co-authored-by: Julia <julia@zed.dev >
2023-08-18 12:58:09 -07:00
Max Brunsfeld
7dd3b13932
Upgrade Tree-sitter for error recovery bug fix
2023-08-18 11:31:40 -07:00
Julia
db37d194d7
Use originating language server to resolve additional completion edits
2023-08-15 16:34:15 -04:00
Joseph T. Lyons
9024511498
Fix code that identifies language via extension
2023-08-08 21:35:11 -04:00
Max Brunsfeld and Nathan
b6d577584f
Make LspAdapter::process_diagnostics synchronous
...
Co-authored-by: Nathan <nathan@zed.dev >
2023-08-07 13:53:41 -07:00
Mikayla Maki
250e0caf25
fmt
2023-07-27 11:14:21 -07:00
Mikayla Maki
3dfa7ad3f2
Downgrade our dependency on treesitter-cpp
2023-07-27 11:11:24 -07:00
KCaverly
3d2d6b9fa2
catchup with main
2023-07-26 09:50:38 -04:00
Mikayla Maki
167d34be50
Add wrap guides and associated settings
2023-07-20 16:39:13 -07:00
KCaverly and maxbrunsfeld
4c77b043b3
add embedding query for json with nested arrays and strings
...
Co-authored-by: maxbrunsfeld <max@zed.dev >
2023-07-19 16:52:44 -04:00
KCaverly and maxbrunsfeld
b4388256ce
update treesitter parsing to accomodate for collapsed nested functions
...
Co-authored-by: maxbrunsfeld <max@zed.dev >
2023-07-19 15:47:05 -04:00
KCaverly
88d4f066dc
catch up with main
2023-07-18 10:26:28 -04:00
Piotr Osiewicz
4093e702e1
Remove redundant debug impl
2023-07-18 12:21:00 +02:00