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
dde0112d98
Initialize prettier right after the buffer gets it language
2023-10-11 14:48:32 +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
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
c9888c9ee4
Properly use WorktreeId
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
b2de5622b2
Watch for prettier file changes
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
0d975919d2
Improve prettier_server LSP names in the log panel
2023-10-11 12:56:29 +03:00
Kirill Bulatov
ddde313d2b
Add prettier language servers to LSP logs panel
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
8e3be29eaf
Draft prettier_server formatting
2023-10-11 12:56:29 +03:00
Kirill Bulatov
c35c17985d
Initialize prettier_server.js wrapper along with default prettier
2023-10-11 12:56:29 +03:00
Kirill Bulatov
3cc17dc8dd
Install default prettier and plugins on startup
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
a92b61844a
Make NodeRuntime non-static for prettier runner
2023-10-11 12:56:29 +03:00
Kirill Bulatov
7cc926ec0f
Use proper NodeRuntime in the formatter interface
2023-10-11 12:56:28 +03:00
Kirill Bulatov
0410fee03d
Prepare prettier file lookup code infra
2023-10-11 12:56:28 +03:00
Kirill Bulatov
3317e5479b
Properly connect prettier lookup/creation methods
2023-10-11 12:56:28 +03:00
Kirill Bulatov
40de5415c9
Draft a project part of the prettier
2023-10-11 12:56:28 +03:00
Max Brunsfeld
803aef698d
Remove unnecessary dependencies on client and rpc
2023-10-06 13:14:53 -07: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
Conrad Irwin
9d3b755448
show host in titlebar ( #3072 )
...
Release Notes:
- show host in the titlebar of shared projects
- clicking on faces in the titlebar will now always follow the person
(it used to toggle)
- clicking on someone in the channel panel will follow that person
- highlight the currently open project in the channel panel
- fixes a bug where sometimes following between workspaces would not
work
2023-10-02 21:02:02 -06:00
3353d919ac
Mainline GPUI2 UI work ( #3079 )
...
This PR mainlines the current state of new GPUI2-based UI from the
`gpui2-ui` branch.
Release Notes:
- N/A
---------
Co-authored-by: Nate Butler <iamnbutler@gmail.com >
Co-authored-by: Piotr Osiewicz <24362066+osiewicz@users.noreply.github.com >
Co-authored-by: Nate <nate@zed.dev >
2023-10-02 18:20:47 -04:00
Joseph T. Lyons
07cbcd9cb5
Add Nushell support to venv activation
2023-10-01 23:38:30 -04:00
Conrad Irwin and Max Brunsfeld
7cda6fa956
Show host in titlebar
...
Co-Authored-By: Max Brunsfeld <max@zed.dev >
2023-09-29 16:37:00 -06:00
Max Brunsfeld
f5459e071e
Merge branch 'main' into allow-following-outside-of-projects
2023-09-29 14:15:33 -07:00
Mikayla
f9dbbd26e9
Fix tests relying on off-spec behavior
2023-09-29 12:19:58 -07:00
Mikayla
c744a22aec
Add support for the TextDocumentSyncKind LSP options
2023-09-29 12:05:21 -07:00
Max Brunsfeld
0729b740c9
Merge branch 'main' into allow-following-outside-of-projects
2023-09-28 11:58:28 -07:00
Max Brunsfeld and Conrad
13f4957210
Rename color_index to participant_index
...
Co-authored-by: Conrad <conrad@zed.dev >
2023-09-28 11:37:22 -07:00
0976bdc78d
Assign unique color indices to room participants, use those instead of replica_ids
...
Co-authored-by: Conrad <conrad@zed.dev >
Co-authored-by: Antonio <antonio@zed.dev >
2023-09-28 11:06:09 -07:00
Kirill Bulatov
f023ff308a
Fix another place where Copilot may panic
2023-09-26 10:51:13 +03:00
Mikayla Maki
9c3518e8fc
Add support for the experimental Next LS for Elixir ( #3024 )
...
This is a PR I built for a friend of a friend at StrangeLoop, who is
making a much better LSP for elixir that elixir folks want to experiment
with. This PR also improves the our debug log viewer to handle LSP
restarts.
TODO:
- [ ] Make sure NextLS binary loading works.
Release Notes:
- Added support for the experimental Next LS for Elxir, to enable it add
the following field to your settings to enable:
```json
"elixir": {
"next": "on"
}
```
2023-09-25 12:52:56 -05:00
Mikayla
5ffeae5bdb
Add local next LSP adapter
2023-09-21 18:09:02 -07:00
Piotr Osiewicz
1da3ed5c4c
[WIP] Replace in project ( #2984 )
...
Targeting Preview of 09.27.
This is still pending several touchups/clearups:
- We should watch multibuffer for changes and rescan the excerpts. This
should also update match count.
- Closing editor while multibuffer with 100's of changed files is open
leads to us prompting for save once per each file in the multibuffer.
One could in theory save in multibuffer before closing it (thus avoiding
unnecessary prompts), but it'd be cool to be able to "Save all"/"Discard
All".
Release Notes:
- Added "Replace in project" functionality
2023-09-21 16:27:58 +02:00
Kirill Bulatov
70b0f10ef9
Properly re-add Copilot LSP server
2023-09-21 11:02:03 +03:00
Kirill Bulatov
4d2f4d0e1a
Fix RPC logs not being displayed for supplementary servers
2023-09-21 11:00:05 +03:00
Conrad Irwin
66226ea84f
vim fixes for find&replace ( #2995 )
...
* allow replacing with the empty string to delete
* fix <enter> for ReplaceNext (in vim mode)
Release Notes:
- allow replacement to be empty
2023-09-20 16:42:39 -06:00
Kirill Bulatov
96555828cb
Show Copilot logs right after its LSP server start
2023-09-20 12:08:32 +03:00
Conrad Irwin
76bba1b8c1
vim fixes for find&replace
...
* allow replacing with the empty string to delete
* fix <enter> for ReplaceNext
2023-09-19 20:48:01 -06:00
Kirill Bulatov
975d1c8a3e
Send copilot log messages into the log panel
2023-09-19 23:41:55 +03:00