Commit log

6e5de2f Update blocks when cycling the message role

Click to expand commit body
Co-Authored-By: Julia Risley <julia@zed.dev>

Antonio Scandurra and Julia Risley created

00cede6 Show message headers again

Click to expand commit body
Co-Authored-By: Julia Risley <julia@zed.dev>

Antonio Scandurra and Julia Risley created

2842fc2 Merge messages whose header has been invalidated

Antonio Scandurra created

2ae8b55 Get back to a compiling state with `Buffer` backing the assistant

Antonio Scandurra created

5e68dc5 Fix comments in settings files (#2604)

Click to expand commit body
I accidentally added the information about folder-specific settings to
the user settings default file - just fixing that.

Release Notes:

- N/A

Joseph T. Lyons created

5821bc4 Fix comments in settings files

Joseph Lyons created

d8a2e17 Add support for HEEx templates in Elixir, fix a bug in handling nested language injections (#2603)

Click to expand commit body
Closes https://linear.app/zed-industries/issue/Z-2211/heex-support

Release Notes:

- Added support for Elixir HEEx templates.
- Fixed a bug that caused incorrect syntax highlighting in ERB templates
([#1619](https://github.com/zed-industries/community/issues/1619)).

Max Brunsfeld created

df76ab9 Add Heex language

Max Brunsfeld created

01bd5c3 Fix syntax map bug with combined injections inside of other injections

Max Brunsfeld created

ac1882b Move SyntaxMap tests to their own file

Max Brunsfeld created

04e4389 Change action namespace to 'debug' for LSP log and syntax tree view

Max Brunsfeld created

8542911 Add a syntax tree view, for developing and debugging language support (#2601)

Click to expand commit body
This PR adds a syntax tree view, which lets you view the syntax tree of
any layer in the active editor's `SyntaxMap`.

This view uses some new APIs that I added to Tree-sitter, which allow us
to efficiently render the syntax tree using a `UniformList`. Tree-sitter
PR: https://github.com/tree-sitter/tree-sitter/pull/2316

![Screen Shot 2023-06-12 at 3 33 36
PM](https://github.com/zed-industries/zed/assets/326587/2a27ee7b-bf29-4b3b-bfa8-fb47f97a2785)

Release Notes:

- Added a *syntax tree view* that shows Zed's internal syntax tree(s)
for the active editor. You can open it running the `debug: open syntax
tree view` command from the command palette.

Max Brunsfeld created

0184661 Include field names in the syntax tree

Max Brunsfeld created

594b9de Upgrade Tree-sitter

Max Brunsfeld created

b4f3a88 Close the menu when selecting a different layer in the syntax tree view

Max Brunsfeld created

56b7497 Improve the look of the syntax tree view UI

Max Brunsfeld created

e969e3b Sync selection between syntax tree view and editor

Max Brunsfeld created

086cfe5 Start work on a syntax tree view

Max Brunsfeld created

3d02f7c Move plugins to feature-gate (#2599)

Click to expand commit body
This PR:
- Reduces our dependency count for a release build by 20%
- Reduces our release compile time by about 30s (out of ~5 minutes)

Piotr Osiewicz created

7db690b WIP

Antonio Scandurra created

7f71ee0 Expand tools doc further

Nate Butler created

f142449 Add back links

Nate Butler created

57ae64d Use simple markdown

Nate Butler created

db5bb4e Do not rely on user's system time for telemetry events (#2597)

Click to expand commit body
Some user's don't have their system clocks configured right and we are
seeing events 10 years into the future. I'm stripping out the code that
adds time via the client and am adding it in on zed.dev. We will lose a
little accuracy, as the time will be when the batch hits the server, but
I think its negligible (currently, batches send up every 30 seconds, at
the max) and worth it to protect our data from user's who wonkily dont
set care about their system time.

- https://github.com/zed-industries/zed.dev/pull/332

Release Notes:

- N/A

Joseph T. Lyons created

0b3b732 Do not rely on user's system time for telemetry events

Joseph Lyons created

56a4c2a Bump tree-sitter-yaml to avoid submodule error during build

Max Brunsfeld created

d8c1ab9 Fix formatter comment in default settings (#2593)

Click to expand commit body
Fix comment related to the `formatter` configuration option in Zed's
default settings.

Release Notes:

- N/A

Joseph T. Lyons created

c1f1ee6 collab 0.14.2

Max Brunsfeld created

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