Julia
4f411715b3
Render diagnostics view and such a bit more
2023-11-17 16:32:35 -05:00
Julia
5ded1aa46f
Get diagnostic2 tests building and running
2023-11-17 16:32:35 -05:00
Julia
393a0dd154
Merge branch 'main' into unborked-git-zed2-diagnostics-view
2023-11-17 16:32:35 -05:00
Julia and Nathan Sobo
77947a8b50
Get diagnostics view almost building in the zed2 world
...
Co-Authored-By: Nathan Sobo <nathan@zed.dev >
2023-11-17 16:32:35 -05:00
Conrad Irwin
5c15960025
Focus workspace on launch
...
Fixes action dispatch when no focus is there.
2023-11-17 14:11:39 -07:00
Kirill Bulatov
5242676f97
Allow to exclude files from worktrees ( #3356 )
...
* Part of https://github.com/zed-industries/community/issues/70
Allows to fully remove from Zed certain files or file groups: no items
will be scanned or added into worktrees, so nothing will be shown in
project tree, project search and go to file would not see those,
corresponding FS events will be ignored.
One exclusion is .git files: those are still not shown or accessible by
default, yet tracked in the worktrees.
By default, is configured to
```json
"file_scan_exclusions": [
"**/.git",
"**/.svn",
"**/.hg",
"**/CVS",
"**/.DS_Store",
"**/Thumbs.db",
"**/.classpath",
"**/.settings"
],
```
* In addition, contains code preparations for "search in included files"
feature: new SearchOptions variant, search crate and RPC adjustments
Release Notes:
- Added `file_scan_exclusions` section to project settings to completely
ignore certain files in Zed
2023-11-17 23:06:47 +02:00
Mikayla Maki
2add322be0
Adjust the type arrangement on ManagedViews ( #3354 )
...
Made the trait into a blanket-trait impl if you have it's two
constituent pieces (FocusableView and EventEmitter) to remove the
duplicated method. I also changed the struct to an enum for aesthetic
reasons (EventType::EventName feels self documenting to me) and added
some new `cx` APIs utilizing our new powers of dismissal.
Release Notes:
- N/A
2023-11-17 13:04:57 -08:00
Conrad Irwin
d3e965a4c6
shhh ( #3358 )
...
- Fix image errors
Release Notes:
- N/A
2023-11-17 14:01:44 -07:00
Kirill Bulatov
64cedc95c2
Port new workspace logic to gpui2, uncomment most of the workspace2 tests
2023-11-17 22:54:19 +02:00
Mikayla
6892be8426
WIP:
2023-11-17 12:54:16 -08:00
Nathan Sobo
fd02a3ea5e
Make static str and SharedString implement Element
2023-11-17 13:48:01 -07:00
Conrad Irwin
bafc2eb242
Fix image errors
...
* Firstly only log one error per image load, not per frame
* Secondly use an Icon not an image for rendering Icons
2023-11-17 13:47:07 -07:00
Mikayla
229d0e4479
Merge branch 'main' into managed-view-adjustment
2023-11-17 12:40:44 -08:00
Conrad Irwin
750234de9a
Collab ui2 ( #3357 )
...
* Clickable context menus & movable panels – what will they think of
next?!
Release Notes:
- N/A
2023-11-17 13:33:18 -07:00
Conrad Irwin
6c2e40cc4a
Refactorings
2023-11-17 13:23:12 -07:00
Mikayla
f97047237e
Push some sketches
2023-11-17 12:16:55 -08:00
Kirill Bulatov
46ae965fcd
Fix the tests
2023-11-17 21:40:57 +02:00
Kirill Bulatov
4725a7f543
An attempt to ignore git regularly
2023-11-17 21:40:57 +02:00
Kirill Bulatov
96f3f81c6c
Fix most of the TODOs
2023-11-17 21:40:57 +02:00
Kirill Bulatov
6976464d8e
Retract back to original scanning strategy
...
Do not descend into ignored directories, to avoid tracking their state.
2023-11-17 21:40:57 +02:00
Kirill Bulatov
dd3f8dbfcc
Defer ignored dirs scanning
2023-11-17 21:40:57 +02:00
Kirill Bulatov
0c58d9b130
Use a better name
2023-11-17 21:40:57 +02:00
Kirill Bulatov
3f9a25da82
Fix some of the old tests
2023-11-17 21:40:57 +02:00
Kirill Bulatov
a778affc16
Fix the new test
2023-11-17 21:40:57 +02:00
Kirill Bulatov
06da928175
Exclude ignored opened buffers from search
2023-11-17 21:40:57 +02:00
Kirill Bulatov
7f447912bc
Fix the ! bug, better test draft
2023-11-17 21:40:57 +02:00
Kirill Bulatov
078ae9256a
Add default scan excluded files settings
2023-11-17 21:40:56 +02:00
Kirill Bulatov
8cca5a23b2
Move toggle ignored button into include directories editor
2023-11-17 21:40:56 +02:00
Kirill Bulatov
5841f84f6c
Rescan worktree on scan exclusions settings change
2023-11-17 21:40:56 +02:00
Kirill Bulatov
11ee1a99da
More lenient file path matchers
2023-11-17 21:40:56 +02:00
Kirill Bulatov
fbf6ade662
Fix the bugs
2023-11-17 21:40:56 +02:00
Kirill Bulatov
01b72de782
Scan all ignored files by default now
2023-11-17 21:40:56 +02:00
Kirill Bulatov
82f7e2a32b
Properly ignore elements from configured exceptions
2023-11-17 21:40:56 +02:00
Kirill Bulatov
2c96011ab6
Properly set ignore stacks and is_ignored values
2023-11-17 21:40:56 +02:00
Kirill Bulatov
92fb4ae9c7
Test and filter data draft
2023-11-17 21:40:56 +02:00
Kirill Bulatov
b8ad39b42c
Pass a new query parameter into the search
2023-11-17 21:40:56 +02:00
Conrad Irwin
51f91e3351
Dock menu
2023-11-17 12:14:06 -07:00
Conrad Irwin
81be0d3bfc
Allow you to click on a context menu item
2023-11-17 11:57:51 -07:00
Mikayla
07a87b2a63
Add error messages to server deployment for nightly
2023-11-17 10:31:10 -08:00
Mikayla
d2d9698adc
Rename again, add fun cx APIs using new traits
2023-11-17 10:06:41 -08:00
Mikayla
5a0085ac6e
Adjust the type arrangement on ManagedViews
2023-11-17 09:51:11 -08:00
Max Brunsfeld
bb749737b0
Fix underspecified assertions in new tests for file reload race ( #3353 )
...
I accidentally left the test assertions unnecessarily vague in
https://github.com/zed-industries/zed/pull/3348 . This PR makes the
assertions constrain the behavior more specifically. I also added a
second test for a related bug that was fixed in that PR, about
performing and undoing an edit while a buffer reload is in-progress.
Release Notes:
- NA
2023-11-17 09:32:00 -08:00
Max Brunsfeld
3c1f79a5dc
Fix underspecified assertions in new tests for file reload race
2023-11-17 09:14:31 -08:00
Piotr Osiewicz
289856d9cd
Clean up tests (they compile now)
2023-11-17 17:23:47 +01:00
Piotr Osiewicz
e000e4feb8
gpui: notifications now takes an entity instead of a model
2023-11-17 17:23:05 +01:00
Piotr Osiewicz
9455cdd12d
fixup! Remove dead code (for now).
2023-11-17 17:22:52 +01:00
Piotr Osiewicz
acda333052
Remove dead code (for now).
...
Ensure actions are registed just once (previously some were registered on both Workspace and search bar itself).
2023-11-17 14:42:20 +01:00
Piotr Osiewicz
ed1cf86592
Fix up action derive
2023-11-17 13:27:33 +01:00
Piotr Osiewicz
cefc85c0b4
chore: cargo fmt
2023-11-17 13:23:42 +01:00
Piotr Osiewicz
9cd550e2b7
Merge branch 'main' into search2
2023-11-17 13:22:30 +01:00