Piotr Osiewicz
50829b7b48
chore: Move workspace dependencies to workspace.dependencies ( #7454 )
...
We should prefer referring to local deps via `.workspace = true` from
now on.
Release Notes:
- N/A
2024-02-06 20:41:36 +01:00
Kirill Bulatov
362568adea
Send lsp_types::InitializeParams with Zed version ( #7216 )
...
Based on the great work in
https://github.com/zed-industries/zed/pull/7130 , now sends this data
```
[crates/lsp/src/lsp.rs:588] ClientInfo { name: name.to_string(), version: Some(version.to_string()) } = ClientInfo {
name: "Zed Dev",
version: Some(
"0.122.0",
),
}
```
with every LSP server initialization.
Release Notes:
- Added Zed name and version to LSP InitializeParams requests
2024-02-01 18:39:28 +02:00
Marshall Bowers
f0c0bf5039
Sort dependencies in Cargo.toml files ( #7126 )
...
This PR sorts the dependency lists in our `Cargo.toml` files so that
they are in alphabetical order.
This should make them easier to visually scan when looking for a
dependency.
Apologies in advance for any merge conflicts 🙈
Release Notes:
- N/A
2024-01-30 21:41:29 -05:00
Marshall Bowers
dbd0a760e6
Clean up Cargo.toml files ( #7044 )
...
This PR cleans up some inconsistencies in the `Cargo.toml` files that
were driving me crazy.
Release Notes:
- N/A
2024-01-29 23:47:20 -05:00
Piotr Osiewicz
4ef5a925ad
Licenses: change license fields in Cargo.toml to AGPL-3.0-or-later. ( #5535 )
...
Release Notes:
- N/A
2024-01-27 13:51:16 +01:00
Piotr Osiewicz
5cb6fc5776
chore: Change AGPL-licensed crates to GPL (except for collab) ( #4231 )
...
- [x] Fill in GPL license text.
- [x] live_kit_client depends on live_kit_server as non-dev dependency,
even though it seems to only be used for tests. Is that an issue?
Release Notes:
- N/A
2024-01-24 00:26:58 +01:00
Piotr Osiewicz
1e1b434acc
Remove license-file from Cargo.toml as it is apparently redundant ( #4218 )
...
Release Notes:
- N/A
2024-01-23 17:40:30 +01:00
Piotr Osiewicz and David
3fe512e1aa
chore: Add crate licenses. ( #4158 )
...
- GPUI and all dependencies: Apache 2
- Everything else: AGPL
Here's a script that I've generated for it:
https://gist.github.com/osiewicz/6afdd6626e517da24a2092807e6f0b6e
Release Notes:
- N/A
---------
Co-authored-by: David <david@zed.dev >
2024-01-23 16:56:22 +01: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
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
Kirill Bulatov
33d9b2de06
Clear failed installation task when error threshold gets exceeded
2023-11-29 10:58:22 +02:00
Kirill Bulatov
0045a11847
Ignore initialized LSP request in prettier wrapper
2023-11-29 10:58:22 +02:00
Kirill Bulatov
9ec39fc4fa
Use enum variants for prettier installation and startup phases
2023-11-29 10:58:22 +02:00
Kirill Bulatov
23c8be7dac
Do not propose prettier formatters for documents in node_modules/
2023-11-09 14:49:37 +02:00
Kirill Bulatov
8d8e38a741
Adjust the tests
2023-11-09 14:40:32 +02:00
Kirill Bulatov
7918982c6e
Change locate prettier method signature
2023-11-09 14:23:33 +02:00
Kirill Bulatov
6704b219bc
Port changes to zed2
2023-11-03 11:02:50 +02:00
Kirill Bulatov
ec09c85a45
Make it more clear that missing prettier is to blame
2023-11-03 11:02:50 +02:00
Kirill Bulatov
4a1059b0ba
Fix the bugs
2023-11-03 11:02:50 +02:00
Kirill Bulatov
f58cd0b999
Rework prettier installation and start
2023-11-03 11:02:50 +02:00
Kirill Bulatov
f104a3a48a
Add prettier workspace resolution test
2023-11-03 11:02:50 +02:00
Kirill Bulatov
c5d357890a
Start message numbering during prettier init, log error message text
2023-10-30 22:26:06 +02:00
Kirill Bulatov
32aa09edf8
Be more lenient when searching for prettier instance
...
Do not check FS for existence (we'll error when start running prettier),
simplify the code for looking it up
2023-10-30 12:13:58 +02:00
Kirill Bulatov
baffccd01d
Do not panic on prettier search
2023-10-30 12:13:54 +02:00
Kirill Bulatov
5e463bcb12
Properly log prettier paths
2023-10-30 11:14:00 +02:00
Julia
b13da646e8
Capture language server stderr during startup/init and log if failure
2023-10-26 12:29:22 +02:00
Kirill Bulatov
ab12b3c6e1
Rework prettier tests
...
Do not infuse `FakeNodeRuntime` with prettier exceptions, rather keep
the default formatter installation method as no-op.
2023-10-24 14:25:46 +02:00
Kirill Bulatov
fb3932aa57
Move prettier parsers data into languages from LSP adapters
2023-10-21 01:14:03 +02:00
Kirill Bulatov
fb44db5303
Fix license issue
2023-10-12 16:26:28 +03:00
Kirill Bulatov
1fe640e35e
Fix tailwind prettier plugin discovery
2023-10-12 15:58:00 +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
7c90ad59a6
Make the first prettier test pass
2023-10-12 13:30:49 +03:00
Kirill Bulatov
41d699ac40
Prettier server style fixes
2023-10-12 12:31:30 +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
88145b6ab7
Invoke remote Prettier commands
2023-10-11 12:56:29 +03:00
Kirill Bulatov
1c32c3d5b3
Draft local and remote prettier separation
2023-10-11 12:56:29 +03:00
Kirill Bulatov
c863818969
Better detect Svelte plugins
2023-10-11 12:56:29 +03:00
Kirill Bulatov
29c08652a8
Better prettier format logging
2023-10-11 12:56:29 +03:00
Kirill Bulatov
7c20de9af8
Resolve prettier config before every 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
2dfddc6d98
Do not clear cache for default prettiers
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
87907a227a
Resolve prettier config on server init
2023-10-11 12:56:29 +03:00
Kirill Bulatov
80a3a26532
Properly log pre-lsp prettier_server events
2023-10-11 12:56:29 +03:00
Kirill Bulatov
0d975919d2
Improve prettier_server LSP names in the log panel
2023-10-11 12:56:29 +03:00
Kirill Bulatov
5b5db55ba9
Before server startup, log to stderr
2023-10-11 12:56:29 +03:00
Kirill Bulatov
eb5e438de4
Implement missing prettier_server clear method
2023-10-11 12:56:29 +03:00
Kirill Bulatov
95e5853096
Return message id in prettier_server error responses
2023-10-11 12:56:29 +03:00