Commit log

b029083 Start on rendering context menu in editor2

Click to expand commit body
Co-Authored-By: Nathan <nathan@zed.dev>
Co-Authored-By: Mikayla <mikayla@zed.dev>

Antonio Scandurra , Nathan , and Mikayla created

34e31fd Properly emit `UserHighlightStyle`s

Marshall Bowers created

98271fb zed2: Get tsserver running again (#3288)

Click to expand commit body
Port these changes to the zed2 directory

Release Notes:

- N/A

Julia created

3c689ba Fix escape in GoToLine with new event emitter

Conrad Irwin created

a1d9f35 Some more woogaloo around action dispatch

Click to expand commit body
Co-authored-by: Conrad <conrad@zed.dev>

Piotr Osiewicz and Conrad created

ff19a0c Add `importing-themes` feature flag to `theme2` crate

Click to expand commit body
When this feature is set the `themes` module won't be compiled.
This allows us to run the `theme_importer` even when the `themes` module
has compile errors in it.

Marshall Bowers created

60eae3e Emit unique highlights for each syntax token

Marshall Bowers created

5d15886 Render code actions indicator

Click to expand commit body
Co-Authored-By: Nathan <nathan@zed.dev>

Antonio Scandurra and Nathan created

194d615 Fix up keybindings propagation

Click to expand commit body
Co-authored-by: Conrad <conrad@zed.dev>

Piotr Osiewicz and Conrad created

efd1db1 WIP – Add Syntax themes to importer

Click to expand commit body
Co-Authored-By: Marshall Bowers <1486634+maxdeviant@users.noreply.github.com>

Nate Butler and Marshall Bowers created

d184e0d Start working on command_palette2

Piotr Osiewicz created

9cb14c1 zed2: Get tsserver running again

Julia created

4b5ca3e Allow imported themes to refine StatusColors

Click to expand commit body
Co-Authored-By: Marshall Bowers <1486634+maxdeviant@users.noreply.github.com>

Nate Butler and Marshall Bowers created

cfee140 Extract `AnyElement::{measure,draw}`

Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>

Antonio Scandurra and Nathan Sobo created

40f40ab Fix typo in EULA (#3287)

Click to expand commit body
Release Notes:

- N/A

Joseph T. Lyons created

604682b Fix typo in EULA

Joseph T. Lyons created

7253160 Add more vscode colors

Nate Butler created

b157453 Do not use prettier for formatting node_modules/** files (#3286)

Click to expand commit body
Fixes

> the most annoying thing i'm running into right now is that when i'm
patching something inside node_modules, Zed tries to pretty-format it
according to my prettier config. this messes up the patch because it has
formatting changes now. i need the pretty formatting on save to be off
inside node_modules, that never makes sense

feedback from #influencers 

Do note though, that language servers will still format any file inside
node_modules, but at least it's not prettier now.
VSCode seem to format the node_modules/** files via language servers
too, so that seems ok for now, and the rest could be fixed during

> "project diagnostics" (eslint) seem to be running inside node_modules,
e.g. i'm seeing 3182 "errors" in my project. that doesn't make sense and
probably wastes resources in addition to being annoying

feedback later.

Release Notes:

- Fixed prettier formatting files inside node_modules

Kirill Bulatov created

f55d890 Port changes to gpui2

Kirill Bulatov created

27b3378 Get tsserver running again (#3277)

Click to expand commit body
Release Notes:

- Fixed a few issues preventing Javascript/Typescript language server
from working with latest upstream changes.

Julia created

2e957bc Do not propose prettier formatters for documents in node_modules/

Kirill Bulatov created

ce40d5e Adjust the tests

Kirill Bulatov created

8be07ed Change locate prettier method signature

Kirill Bulatov created

656eb9d WIP

Mikayla created

43eb7f2 checkpoint

Mikayla created

bdeb32c Extend VSCode theme importer

Nate Butler created

25c8b19 WIP

Nate Butler created

f569628 Merge branch 'more-gpui2-apis' into editor-tests

Mikayla created

86630bb Add extra clone

Mikayla created

269c3ea Uncomment tests

Mikayla created

7a7ef10 Add Context::read_window, WindowHandle::root, and change ViewContext.view() to return a reference

Mikayla created

b5f60b7 Merge branch 'main' into update-workspace-styles

Nate Butler created

4404e76 Merge branch 'main' into editor-integration

Mikayla created

0bfd18b WIP

Mikayla created

ad3b0bd port notifications2 and integration tests (#3283)

Click to expand commit body
Release Notes:

- N/A

Mikayla Maki created

8c44f6a Simplify input handling (#3282)

Click to expand commit body
This PR takes a different approach to input handling.

Rather than returning the optional input handler, focus handle pair from
the element trait, we instead allow you to register an input handler
imperatively on the window context with `WindowContext::handle_input`.
You pass a focus handle reference and any implementer of
`PlatformInputHandler`. There's an `ElementInputHandler<V>` that
implements `PlatformWindowHandler` so long as `V` implements
`InputHandler`.

Release Notes:

- N/A

Nathan Sobo created

7888dc4 Add notifications2

Mikayla created

d52c564 Add docs

Nathan Sobo created

7c922ad Remove comments

Nathan Sobo created

8278a07 Actually set the input handler

Nathan Sobo created

8330fb5 port rope2 to zed2 (#3224)

Click to expand commit body
port rope2 to zed2

Release Notes:

- NA

Mikayla Maki created

e2130ca Switch from associated type to generic on EventEmitter trait (#3281)

Click to expand commit body
This removes a lot of ad-hoc event translation code in the workspace and
replaces it with a GPUI feature and trait bounds.

TODO:
- [x] Proof out idea
- [x] Convert the workspace
- [x] Convert the rest of the app

Release Notes:

- N/A

Mikayla Maki created

2c67cc8 Merge branch 'main' into event-emitter

Mikayla created

9a02267 Simplify IME support

Nathan Sobo created

3c57b91 Update editor to use new event emitter

Mikayla created

a97c8bf Get workspace compiling with new event emitters

Mikayla created

97ce9e9 de-dbg (#3280)

Click to expand commit body
Remove some debugging from GoToLine

Release Notes:

- N/A

Conrad Irwin created

2bf8616 Implement `bounds_for_range`, so that text input windows are positioned correctly (#3278)

Click to expand commit body
![Screenshot 2023-11-08 at 5 33
10 PM](https://github.com/zed-industries/zed/assets/326587/09efd785-2c43-41b2-9429-c17067497fd2)

![Screenshot 2023-11-08 at 5 33
28 PM](https://github.com/zed-industries/zed/assets/326587/14a9faee-3547-40b6-a31f-16f653cdcb36)

Max Brunsfeld created

47a63d5 de-dbg

Conrad Irwin created

4350801 Merge branch 'main' into bounds-for-range

Max Brunsfeld created