Commit Graph
36 Commits
Author SHA1 Message Date
Kirill Bulatov b1f5894b56 Reduce max log lines, clean log buffers better 2023-10-17 21:47:21 +03:00
Kirill Bulatov 3dc40711b6 Do not create buffers for rpc logs 2023-10-17 21:43:34 +03:00
Kirill Bulatov a1c88cee98 Remove another needless log buffer 2023-10-17 21:43:34 +03:00
Kirill Bulatov f3334199db Update editor with current buffer logs 2023-10-17 21:43:34 +03:00
Kirill Bulatov f73e3636a3 Do not detach subscriptions 2023-10-17 21:43:34 +03:00
Kirill Bulatov eccf64d21a Add a rough prototype 2023-10-17 21:43:34 +03:00
Mikayla 4c91261cab Update IDs on interactive elements in LSP log viewer 2023-10-17 02:22:34 -07: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 2c6ef3a45d Improve lsp log viewer's behavior in the presence of LSP restarts
Improve settings interface to local LSP
2023-09-24 04:59:55 -07:00
Kirill Bulatov 0d501fc6ba Do not resubscribe for Copilot logs events
Copilot sends multiple events about its LSP server readiness, not necessarily recreating the server from scratch (e.g. due to re-sign in action).
Avoid re-adding same log subscriptions on the same LSP server, which
causes panics.
2023-09-22 13:40:20 +03:00
Kirill BulatovandMax 6400a2cb03 Make LSP panel scrollable
co-authored-by: Max <max@zed.dev>
2023-09-21 10:59:19 +03:00
Kirill Bulatov 85bf2a4b2d Avoid extra LSP log events 2023-09-20 11:27:52 +03:00
Kirill Bulatov c976ae2fc5 Show supplementary language servers in the logs panel 2023-09-19 22:29:27 +03:00
Kirill Bulatov c28097b5af Automatically subscribe for lsp logs of every server added
Avoid re-adding the server on new logs events.
2023-09-19 11:52:21 +03:00
Piotr Osiewicz c4e0bcb99e Z 1200/replace in buffer (#2922)
This is still WIP, mostly pending styling. I added a pretty rudimentary
text field and no buttons whatsoever other than that. I am targeting a
Preview of 09.13, as I am gonna be on PTO for the next week.

I dislike the current implementation slightly because of `regex`'s crate
syntax and lack of support of backreferences. What strikes me as odd wrt
to syntax is that it will just replace a capture name with empty string
if that capture is missing from the regex. While this is perfectly fine
behaviour for conditionally-matched capture groups (e.g. `(foo)?`), I
think it should still error out if there's no group with a given name
(conditional or not).
Release Notes:

- Added "Replace" functionality to buffer search.
2023-09-12 18:46:54 +02:00
Kirill Bulatov b5e3ba3465 Style the clear button better, add border to button constructor options 2023-08-31 18:31:21 +03:00
Kirill Bulatov 90adfda2f4 Add LSP logs clear button 2023-08-31 18:31:21 +03:00
Kirill Bulatov 6905f4fadf Capture language servers' stderr into server logs 2023-08-31 01:14:37 +03: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
Max Brunsfeld 0596c2f103 Format let-else statements 2023-08-25 10:11:32 -07:00
Nathan Sobo ec9bebc7f4 Merge branch 'main' into divs 2023-08-22 16:35:56 -06:00
Mikayla ec2490269d Add components example
Re-arrange generics on mouse event handler
Add TypeTag struct for dynamically tagged components
2023-08-15 03:06:43 -07:00
Nathan Sobo bb9591415f WIP 2023-08-10 10:26:48 -06:00
Nathan Sobo 242765b6ad Merge branch 'main' into cells 2023-08-03 19:33:04 -06:00
Nathan Sobo aaa63b400b WIP 2023-08-03 17:03:39 -06:00
Nathan Sobo 680c0185e4 Get tests compiling returning WindowHandle<V: View> from add_window 2023-08-02 14:05:03 -06:00
Nathan Sobo b5c787ad8a WIP 2023-07-26 13:34:57 -06:00
Kirill Bulatov 9a9be65585 Preserve serach index for multicaret selection editor events 2023-07-14 14:47:12 +03:00
Kirill Bulatov a050e82102 Allow selecting all search matches in buffer 2023-07-14 14:47:12 +03:00
Piotr Osiewicz 406e160730 Split out Interactive<T> into Toggle<T> and Interactive<T> 2023-06-20 16:05:20 -07:00
Max Brunsfeld 2049eae00a Change action namespace to 'debug' for LSP log and syntax tree view 2023-06-12 15:54:36 -07:00
Max Brunsfeld 86f3bba98b Include field names in the syntax tree 2023-06-12 15:32:16 -07:00
Max Brunsfeld 9b4746ca05 Close the menu when selecting a different layer in the syntax tree view 2023-06-12 15:14:57 -07:00
Max Brunsfeld 1b6aeb4165 Improve the look of the syntax tree view UI 2023-06-12 15:14:57 -07:00
Max Brunsfeld 36a1be982a Sync selection between syntax tree view and editor 2023-06-12 15:14:57 -07:00
Max Brunsfeld a3435cd0b0 Start work on a syntax tree view 2023-06-12 15:14:56 -07:00