Kirill Bulatov
2ec2036c2f
Invoke remote Prettier commands
2023-10-11 12:56:29 +03:00
Kirill Bulatov
faf1d38a6d
Draft local and remote prettier separation
2023-10-11 12:56:29 +03:00
Kirill Bulatov
6c1c7eaf75
Better detect Svelte plugins
2023-10-11 12:56:29 +03:00
Kirill Bulatov
2d5741aef8
Better prettier format logging
2023-10-11 12:56:29 +03:00
Kirill Bulatov
a9f80a603c
Resolve prettier config before every formatting
2023-10-11 12:56:29 +03:00
Kirill Bulatov
658b58378e
Properly use WorktreeId
2023-10-11 12:56:29 +03:00
Kirill Bulatov
8a807102a6
Properly support prettier plugins
2023-10-11 12:56:29 +03:00
Kirill Bulatov
afee29ad3f
Do not clear cache for default prettiers
2023-10-11 12:56:29 +03:00
Kirill Bulatov
6ec3927dd3
Allow to configure default prettier
2023-10-11 12:56:29 +03:00
Kirill Bulatov
b109075bf2
Watch for prettier file changes
2023-10-11 12:56:29 +03:00
Kirill Bulatov
f4667cbc33
Resolve prettier config on server init
2023-10-11 12:56:29 +03:00
Kirill Bulatov
d021842fa1
Properly log pre-lsp prettier_server events
2023-10-11 12:56:29 +03:00
Kirill Bulatov
f42cb109a0
Improve prettier_server LSP names in the log panel
2023-10-11 12:56:29 +03:00
Kirill Bulatov
1b70e7d0df
Before server startup, log to stderr
2023-10-11 12:56:29 +03:00
Kirill Bulatov
b687270207
Implement missing prettier_server clear method
2023-10-11 12:56:29 +03:00
Kirill Bulatov
06cac18d78
Return message id in prettier_server error responses
2023-10-11 12:56:29 +03:00
Kirill Bulatov
6cac58b34c
Add prettier language servers to LSP logs panel
2023-10-11 12:56:29 +03:00
Kirill Bulatov
4b15a2bd63
Rebase fixes
2023-10-11 12:56:29 +03:00
Kirill Bulatov
e8409a0108
Even more generic header printing in prettier_server
2023-10-11 12:56:29 +03:00
Kirill Bulatov
39ad3a625c
Generify prettier properties, add tabWidth
2023-10-11 12:56:29 +03:00
Kirill Bulatov
2a5b9b635b
Better pass prettier options
2023-10-11 12:56:29 +03:00
Kirill Bulatov
e2056756ef
Calculate the diff
2023-10-11 12:56:29 +03:00
Kirill Bulatov
6a8e3fd02d
Add more parameters into prettier invocations
2023-10-11 12:56:29 +03:00
Kirill Bulatov
2a68f01402
Draft prettier_server formatting
2023-10-11 12:56:29 +03:00
Kirill Bulatov
dca93fb177
Initialize prettier_server.js wrapper along with default prettier
2023-10-11 12:56:29 +03:00
Kirill Bulatov
010bb73ac2
Use LSP-like protocol for prettier wrapper commands
2023-10-11 12:56:29 +03:00
Kirill Bulatov
bb2cc2d157
Async-ify prettier wrapper
2023-10-11 12:56:29 +03:00
Kirill Bulatov
86618a64c6
Require prettier argument and library in the wrapper
2023-10-11 12:56:29 +03:00
Kirill Bulatov
1ff17bd15d
Install default prettier and plugins on startup
2023-10-11 12:56:29 +03:00
Kirill Bulatov
12ea12e4e7
Make language adapters able to require certain bundled formatters
2023-10-11 12:56:29 +03:00
Kirill Bulatov
4f956d71e2
Slightly better prettier settings and discovery
2023-10-11 12:56:29 +03:00
Kirill Bulatov
ce6b31d938
Make NodeRuntime non-static for prettier runner
2023-10-11 12:56:29 +03:00
Kirill Bulatov
a8387b8b19
Use proper NodeRuntime in the formatter interface
2023-10-11 12:56:28 +03:00
Kirill Bulatov
a420d9cdc7
Add prettier search
2023-10-11 12:56:28 +03:00
Kirill Bulatov
a8dfa01362
Prepare prettier file lookup code infra
2023-10-11 12:56:28 +03:00
Kirill Bulatov
92f23e626e
Properly connect prettier lookup/creation methods
2023-10-11 12:56:28 +03:00
Kirill Bulatov
553abd01be
Draft a project part of the prettier
2023-10-11 12:56:28 +03:00
Julia
eced842dfc
Get started with a prettier server package
...
Co-Authored-By: Antonio Scandurra <antonio@zed.dev>
2023-10-11 12:56:28 +03:00
Conrad Irwin
85b76b1143
Don't wrap on paragraphs ( #3094 )
...
Release Notes:
- vim: `{` and `}` will no longer wrap around end of file
([#2116 ](https://github.com/zed-industries/community/issues/2116 )).
2023-10-10 19:25:40 -06:00
Conrad Irwin
9004254fbf
vim: Add shift-y ( #3117 )
...
Release Notes:
- vim: Add `Y` to copy line-wise (this copies vim's behaviour, which
differs from nvim's)
2023-10-10 19:25:32 -06:00
Conrad Irwin
1de9add304
vim: Add shift-y
2023-10-10 18:46:49 -06:00
Max Brunsfeld
7a39455af9
Fix inclusion of spurious views from other projects in FollowResponse ( #3116 )
...
A logic error in https://github.com/zed-industries/zed/pull/2993 caused
follow responses to sometimes contain extra views for other unshared
projects 😱 . These views would generally fail to deserialize on the
other end. This would create a broken intermediate state, where the
following relationship was registered on the server (and on the leader's
client), but the follower didn't have the state necessary for following
into certain views.
Release Notes:
- Fixed a bug where following would sometimes fail if the leader had
another unshared project open.
2023-10-10 15:53:11 -07:00
Max Brunsfeld
96d60eff23
Fix inclusion of spurious views from other projects in FollowResponse
2023-10-10 15:40:40 -07:00
Mikayla
d7d027bcf1
Rename release channel to enviroment
2023-10-10 13:23:03 -07:00
Mikayla
40430cf01b
Update channel rooms to be ephemeral
...
Remove redundant live kit initialization code
Fix bug in recent channel links changes where channel rooms would have the incorrect release set
co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>
co-authored-by: Max <max@zed.dev>
2023-10-10 12:39:16 -07:00
Antonio Scandurra
b366592878
Don't include start of a line when selection ends at start of line
2023-10-10 19:11:13 +02:00
Antonio Scandurra
5cf92980f0
Revert summarizing file content until we can be more intelligent about what we send
...
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
2023-10-10 17:51:17 +02:00
Conrad Irwin
66af1707a1
Add channel links ( #3093 )
...
Release notes:
- `mute_on_join` setting now defaults to false.
- Right click on a channel to "Copy Channel Link", these links work to
open Zed and auto-join the channel
Blocked on: https://github.com/zed-industries/zed.dev/pull/388
2023-10-10 08:53:50 -06:00
Kirill Bulatov
639ae671ae
Omit history files with path that does not exist on disk anymore
2023-10-10 12:26:48 +03:00
Conrad Irwin
d4ef764305
Merge branch 'main' into links
2023-10-09 20:08:48 -06:00