Commit log

b2bdca4 Bump protocol version

Max Brunsfeld created

0976324 collab 0.14.1

Max Brunsfeld created

87efd25 Avoid dropping the worktree_repository_statuses table for now

Max Brunsfeld created

bb65d75 Enable rust backtraces on kubernetes

Max Brunsfeld created

9cbb63d collab 0.14.0

Max Brunsfeld created

5bef2f1 Z-2303 editor: fix comment extension on the start of line (#2595)

Click to expand commit body
Release Notes:

- Improved comment extension for cases where cursor was placed before
start of comment marker

Piotr Osiewicz created

fb83ab8 Add outline support for Ruby singleton methods (#2592)

Click to expand commit body
This pull request add support for Ruby singleton methods in the document
outline.

**Before**

<img width="1490" alt="outline-before"
src="https://github.com/zed-industries/zed/assets/503025/e90afd4c-bcdd-477b-92cf-fe34cec54980">

**After**

<img width="1493" alt="outline-after"
src="https://github.com/zed-industries/zed/assets/503025/067cc80b-7718-4395-9079-4677a689b9be">

Release Notes:

- Added support for singleton methods in Ruby outline view. Fixed
[#1442](https://github.com/zed-industries/community/issues/1442).

Max Brunsfeld created

738b06a Update JavaScript outline queries (#2596)

Click to expand commit body
Add support for exported const declarations in the outline view. Did not
include more context (e.g., whether or not the it's exported or not)
because we're not doing that for TypeScript right now. We could do that
in a follow up pull request, addressing both JavaScript and TypeScript
at once.


**Before**

<img width="1186" alt="outline-before"
src="https://github.com/zed-industries/zed/assets/503025/e72b0ed4-52b0-4a7c-af70-b2f4758e3554">

**After**

<img width="1186" alt="outline-after"
src="https://github.com/zed-industries/zed/assets/503025/cd91bc7f-8ce3-485f-9b33-d487ad6c718d">


Release Notes:

- Added support for exported const declarations in the JavaScript
outline view. Fixed
[#1399](https://github.com/zed-industries/community/issues/1399).

Max Brunsfeld created

4213cc0 Update JavaScript outline queries

Click to expand commit body
Add support for exported const declarations in the outline view.

Kevin Hovsäter created

6ce3f3b Refactor toggle comment tests

Kevin Hovsäter created

a8d43c6 Toggle comments for empty single line selections

Kevin Hovsäter created

7deddd1 Fix formatter comment in default settings

Kevin Hovsäter created

57ff173 Add outline support for Ruby singleton methods

Kevin Hovsäter created

85b049f Build tokens for each theme (#2590)

Click to expand commit body
This PR adds the ability to export tokens for each theme. 

You can export tokens by:

1. `cd styles`
2. `npm run build-tokens`
3. Tokens will be output in the target folder (`styles/target`)

The tokens match the ColorScheme object. In the future we may also
export tokens for our styleTrees.

Release Notes:

- N/A (No public facing changes)

---
TODO:

- [x] Generate Token Studio theme index file
- [x] ColorScheme
    - [x] name:
    - [x] isLight
    - [x] lowest
    - [x] middle
    - [x] highest
    - [x] popoverShadow
    - [x] modalShadow
    - [x] players
    - [x] syntax

Nate Butler created

ddcbc77 `$tokens.json` => `$themes.json`

Nate Butler created

e4cbc29 Update buildTokens to export `$metadata.json` and `$themes.json`

Nate Butler created

6304897 Make the LSP log view searchable (#2591)

Click to expand commit body
Also, I noticed errors in the logs of the Elixir LSP that we were
sending `goToTypeDefinition` requests, which that server does not
support. We now respect that server capability.

Release Notes:

- N/A

Max Brunsfeld created

3719c20 Only export color tokens for syntax

Nate Butler created

91e1bb8 WIP syntax tokens

Nate Butler created

a7f06f9 Enable type definition capability in fake LSPs in tests

Max Brunsfeld created

e0dd9e4 Make the LSP log view searchable

Max Brunsfeld created

11dbbcc Respect LSP goToTypeDefinition server capability

Max Brunsfeld created

999b236 Export additional tokens, standardize naming convention

Nate Butler created

e3f3194 Enhance LSP log viewer to show server logs in addition to RPC trace (#2586)

Click to expand commit body
In debugging what's going on with the Elixir language server, there was
some interesting content in the server's logs (sent to the app via the
`window/logMessage` LSP endpoint). I decided to invest in making
language server issues easier to debug by exposing these `logMessage`
contents in the app.

Also, improve the UI of the view slightly:

* Select one of the servers by default (instead of "no server selected")
* Make it clearer that the menu is clickable

Max Brunsfeld created

908de23 Tweak LSP log menu styling

Max Brunsfeld created

afaff7f Merge branch 'main' into lsp-log-messages

Max Brunsfeld created

817644e Style new lsp log menu, add a test for it

Max Brunsfeld created

e2f46d5 Build layer tokens for each theme

Nate Butler created

16e3e04 Update TSConfig (#2589)

Click to expand commit body
Based on #2558. Also fixes errors resulting from the stricter options.

Release Notes:

- N/A (No public facing changes)

Nate Butler created

1e43fec Update buildLicenses to only include the theme url if there is one

Nate Butler created

e996a66 Update TSCondif

Click to expand commit body
Based on #2558. Also fixes errors resulting from the stricter options.

Nate Butler created

a75e9fa Add foundation for exporting tokens from our color schemes (#2588)

Click to expand commit body
We removed our Figma Tokens/Tokens Studio export a while back when we
moved to the theme to ColorSchemes. I'd like to get back to exporting
these so we can be working from up to date themes in Figma, especially
with the large amount of UI design work we'll be doing in the next few
weeks on channels.

This PR adds some basic plumbing to start working through the
theme/colorScheme and export the parts as tokens.

I also discovered that Tokens Studio now publishes their types, so we
can use them directly rather than writing our own:
https://github.com/tokens-studio/types

Pulled those in and started connecting them as well.

Running `npm run build-tokens` will export the tokens for each theme to
`styles/target/tokens`.

Currently only a few element's tokens are exported, will expand this
further as time permits.

Release Notes:

- N/A (No public facing changes)

Nate Butler created

c8a9d73 Add foundation for exporting tokens

Nate Butler created

d4192fc Organize misc files into `theme`, `themes` and `styleTrees` (#2587)

Click to expand commit body
We've accumulated a number of miscellaneous folders in the styles
folder. Simplifying these down to `theme`, `themes` and `styleTrees`.

Release Notes:

- N/A (No public facing changes)

Nate Butler created

8216d26 Switch to attaching git statuses to their associated entries (#2571)

Click to expand commit body
This rewrites and simplifies the git status system by attaching the git
status to each individual entry. This also improves the git testing
infrastructure to cover more cases and be more accurate to how file
events actually occur. This also fixes several other bugs in the worktree and the buffer, and stops any randomly generated actions from happening inside a `.git` folder. Hopefully, we can undo this change soon once our randomized testing is more robust.

Release Notes:

- Will require a DB migration

TODO:
- [x] Pass randomized tests
- [x] Get ready for merging

Mikayla Maki created

fc1f8c5 Fixed ci

Mikayla Maki created

8ca1a7d add scan_complete await

Mikayla Maki created

66f215c Restructure LSP log view to show log messages in addition to RPC trace

Max Brunsfeld created

9e9d8e3 add mroe dbg

Mikayla Maki created

9d58c45 Fix warning

Mikayla Maki created

5f143f6 Attempting to debug on ci...

Mikayla Maki created

572d403 Add track caller

Mikayla Maki created

2c5e83b Fixed a bug where buffer saved clocks would desynchronize in rare execution paths

Click to expand commit body
co-authored-by: Max <max@zed.dev>

Mikayla Maki and Max created

78f9642 Emit project event when a language server sends a logMessage notification

Max Brunsfeld created

cd63ec2 fmt

Mikayla Maki created

03a96d2 Feature gate import

Mikayla Maki created

0ac7a3b fmt

Mikayla Maki created

28ba27c Merge branch 'main' into stream-git-statuses

Mikayla Maki created

34e134f Fix several randomized test failures with the new git status implementation

Mikayla Maki created

351e486 Fix some issues found when testing Elixir-LS (#2583)

Click to expand commit body
Closes
https://linear.app/zed-industries/issue/Z-2209/popovers-dont-always-have-syntax-highlighted-code
Closes
https://linear.app/zed-industries/issue/Z-2206/highlight-syntax-in-hover-docs

* Fix a ton of errors in our logs due to us not recognizing that
`elixir-ls` does not support code actions.
* Syntax-highlight elixir code blocks in hover popovers

Max Brunsfeld created