Max Brunsfeld
fc02381196
Fix bugs in handling combined injections exposed by HEEx ( #2652 )
...
Fixes
https://linear.app/zed-industries/issue/Z-2481/heex-this-snippet-triggers-a-hard-crash
Release Notes:
- Fixed a crash that would sometimes occur when editing a HEEx file
([#1703 ](https://github.com/zed-industries/community/issues/1703 )).
2023-06-27 15:17:29 -07:00
Max Brunsfeld
81c26cfea0
Fix bugs in handling combined injections exposed by HEEx
2023-06-27 15:08:26 -07:00
Joseph T. Lyons
c0fb98cb3f
Factor out key name
2023-06-26 13:31:41 -04:00
Joseph T. Lyons
8d1cc8815b
Merge branch 'main' into add-installation-id-to-panic-events
2023-06-26 13:27:14 -04:00
Joseph T. Lyons
7d065fa14e
Add installation_id to panic events
...
Co-Authored-By: Julia <30666851+ForLoveOfCats@users.noreply.github.com>
2023-06-23 21:02:01 -04:00
Nate Butler
6ab0143469
Split Interactive into Interactive and Toggleable ( #2628 )
...
This is a part of the intensity driven theme rewrite.
It introduces the `toggle` and `interactive` helper functions to build
Toggle<T> and Interactive<T> styles for interactive elements in the
theme.
This PR also removes the `theme_testbench` crate and related actions.
Huge thanks to @osiewicz and @mikayla-maki for pushing this forward 🙏🏽
Release Notes:
- Updated the style of many interactive elements.
2023-06-21 15:03:08 -04:00
Joseph T. Lyons
cc027dc626
v0.93.x dev
2023-06-21 13:59:07 -04:00
Piotr Osiewicz
86506a89ab
Remove theme_testbench
2023-06-21 19:11:55 +02:00
Max Brunsfeld
050c22312c
Update plugin runtime LspAdapter impl
2023-06-19 19:38:31 -07:00
Max Brunsfeld
1215de0c42
Show a notification when unable to start elixir-ls
2023-06-19 18:05:30 -07:00
Max Brunsfeld
57c2d85c66
Show a notification that gopls can't be installed without go
2023-06-19 18:05:12 -07:00
Max Brunsfeld
360bbebbd9
Introduce LspAdapterDelegate trait, passed to LspDelegates
2023-06-19 16:12:25 -07:00
Max Brunsfeld
04430fdbd6
Fix issues with syntax highlighting in elixir and heex
2023-06-19 12:34:46 -07:00
Max Brunsfeld
8592208d3a
Fix failure to upload panics when multiple panics happen at the same time ( #2616 )
...
When multiple panics occur at the same time (usually because one thread
panics, and another thread joins it), multiple panic JSON objects can
get written to the same panic file. The resulting file won't be valid
JSON.
This PR addresses that problem via two changes:
* Format panic files as single-line JSON objects
* When a panic file isn't valid JSON, try taking the first line
In the future, we could try combining all of the backtraces, but for
now, I just want to avoid a problem of not reporting a panic at all.
Release Notes:
- Fixed a problem with Zed's internal crash reporting.
2023-06-15 15:31:49 -07:00
Mikayla Maki
b9270925dd
Focus on toggle dock ( #2612 )
...
This PR updates some dock behaviors. Now the toggle-dock commands
(cmd-j/b/r) also toggle focus. This also adds zoom serialization to the
docks.
Release Notes:
- Bug fix: Toggle dock commands (cmd-j/b/r) now move focus
- Bug fix: Dock zoom is now restored with the rest of the workspace
2023-06-15 15:20:20 -07:00
Max Brunsfeld
e525706581
Fix failure to upload panics when multiple panics happen at the same time
2023-06-15 15:16:26 -07:00
Mikayla Maki
b156644daf
fixed tests to match new behavior
2023-06-15 15:09:37 -07:00
Max Brunsfeld
e7e0f2183f
Don't rely on debug symbols for panic reporting
2023-06-15 12:27:39 -07:00
Mikayla Maki
493e489c51
Add entitlements file to bundle step
2023-06-14 17:34:48 -07:00
Joseph Lyons
2e723cac62
v0.92.x dev
2023-06-14 13:27:36 -04:00
Mikayla Maki
75b1f60126
Add UsageDescriptions to Info.plist ( #2609 )
...
This updates our dependency on cargo-bundle to point at a fork I've
created that adjusts the latest version's behavior to work for our use
case. This PR also updates the Zed Info.plist to include the following
keys:
- NSSystemAdministrationUsageDescription
- NSAppleEventsUsageDescription
- NSBluetoothAlwaysUsageDescription
- NSCalendarsUsageDescription
- NSCameraUsageDescription
- NSContactsUsageDescription
- NSLocationAlwaysUsageDescription
- NSLocationUsageDescription
- NSLocationWhenInUseUsageDescription
- NSMicrophoneUsageDescription
- NSSpeechRecognitionUsageDescription
- NSRemindersUsageDescription
Release Notes:
- Bug fix: Allow applications run via the Zed terminal to request
authorization for macOS services (e.g. microphone and camera)
2023-06-14 10:04:54 -07:00
Antonio Scandurra
049c987310
Avoid loading the assistant panel on stable
2023-06-14 12:08:49 +02:00
Mikayla Maki
adc8337ad4
Restore misconfigured Cargo.toml
2023-06-13 18:08:33 -07:00
Mikayla Maki
8ad7eb7598
Switch to using new version of cargo bundle with more capabilities
2023-06-13 18:01:51 -07:00
Max Brunsfeld
df76ab98cf
Add Heex language
2023-06-12 17:32:20 -07:00
Max Brunsfeld
56b749788f
Improve the look of the syntax tree view UI
2023-06-12 15:14:57 -07:00
Max Brunsfeld
086cfe57c5
Start work on a syntax tree view
2023-06-12 15:14:56 -07:00
Piotr Osiewicz
3d02f7ce5f
Move plugins to feature-gate ( #2599 )
...
This PR:
- Reduces our dependency count for a release build by 20%
- Reduces our release compile time by about 30s (out of ~5 minutes)
2023-06-12 21:04:09 +02:00
Max Brunsfeld
56a4c2afae
Bump tree-sitter-yaml to avoid submodule error during build
2023-06-09 14:58:31 -07:00
Max Brunsfeld
fb83ab8e9f
Add outline support for Ruby singleton methods ( #2592 )
...
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 ).
2023-06-09 08:35:34 -07:00
Kevin Hovsäter
4213cc013c
Update JavaScript outline queries
...
Add support for exported const declarations in the outline view.
2023-06-09 15:33:27 +02:00
Kevin Hovsäter
57ff173e29
Add outline support for Ruby singleton methods
2023-06-09 07:31:09 +02:00
Max Brunsfeld
66f215cd13
Restructure LSP log view to show log messages in addition to RPC trace
2023-06-07 16:51:09 -07:00
Max Brunsfeld
be8d268eb9
Bump tree-sitter-yaml submodule to avoid broken child submodule
2023-06-07 10:50:03 -07:00
Joseph Lyons
8882b22c9c
v0.91.x dev
2023-06-07 11:57:41 -04:00
Antonio Scandurra
43500dbf60
Fix zed tests
2023-06-07 10:02:35 +02:00
Antonio Scandurra
0dae8f2dd8
Merge remote-tracking branch 'origin/main' into assistant-2
2023-06-07 09:34:16 +02:00
Max Brunsfeld
4b9a3c66e6
Show function parameters in elixir outline view
...
Introduce a new capture in the outline query called 'context.extra', which
causes text to appear in the outline, but not in the breadcrumbs.
2023-06-06 16:27:05 -07:00
Max Brunsfeld
7aeaa84657
Fix the order of some patterns in elixir highlight query
2023-06-06 16:06:16 -07:00
Max Brunsfeld
8dc679e74e
Upgrade tree-sitter-elixir
2023-06-06 16:06:16 -07:00
Max Brunsfeld
3fc2e0754b
Don't apply the 'literal' color to entire markdown code blocks
2023-06-06 14:34:45 -07:00
Max Brunsfeld
7bfb51ee76
Live-reload tree-sitter queries in development
2023-06-06 14:20:21 -07:00
Max Brunsfeld
dbbd0558c3
Eliminate assets crate
2023-06-06 11:46:46 -07:00
Antonio Scandurra
7a78e64831
Merge remote-tracking branch 'origin/main' into assistant-2
2023-06-06 19:18:22 +02:00
Max Brunsfeld
cfcfc3bf6b
Show notification when attempting to open local settings in a project w/ no folders
2023-06-06 09:03:57 -07:00
Max Brunsfeld
296a0bf510
Populate created local settings file with an empty JSON object and comments
2023-06-05 18:20:02 -07:00
Max Brunsfeld
cb975f1252
Add Zed > Preferences > Local Settings to application menu
2023-06-05 17:45:42 -07:00
Max Brunsfeld
0949ee84d8
🎨 Move OpenSettings action back to the zed crate
2023-06-05 17:43:05 -07:00
Joseph Lyons
311074e397
Remove code sending zed events to mixpanel
2023-06-05 15:33:17 -04:00
Joseph Lyons
917d8949b7
Move app version into panic object
2023-06-05 14:17:48 -04:00