Commit 66d2cb2
authored
Adjust
When there's already a workspace that matches the paths provided,
activate that workspace, otherwise create a new window. This is
different from the default behavior of always adding to the sidebar.
Self-Review Checklist:
- [x] I've reviewed my own diff for quality, security, and reliability
- [x] Unsafe blocks (if any) have justifying comments
- [x] The content is consistent with the [UI/UX
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)
- [x] Tests cover the new/changed behavior
- [x] Performance impact has been considered and is acceptable
Release Notes:
- N/Azed -n behavior (#53346)1 parent 2d1137c commit 66d2cb2
File tree
3 files changed
+61
-34
lines changed- crates
- workspace/src
- zed/src
- zed
3 files changed
+61
-34
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9174 | 9174 | | |
9175 | 9175 | | |
9176 | 9176 | | |
9177 | | - | |
9178 | | - | |
9179 | | - | |
9180 | | - | |
9181 | | - | |
9182 | | - | |
9183 | | - | |
9184 | | - | |
9185 | | - | |
9186 | | - | |
9187 | | - | |
9188 | | - | |
9189 | | - | |
9190 | | - | |
9191 | | - | |
9192 | | - | |
9193 | | - | |
9194 | | - | |
9195 | | - | |
| 9177 | + | |
| 9178 | + | |
| 9179 | + | |
| 9180 | + | |
| 9181 | + | |
| 9182 | + | |
| 9183 | + | |
| 9184 | + | |
| 9185 | + | |
| 9186 | + | |
| 9187 | + | |
| 9188 | + | |
| 9189 | + | |
| 9190 | + | |
| 9191 | + | |
| 9192 | + | |
9196 | 9193 | | |
9197 | 9194 | | |
9198 | 9195 | | |
9199 | | - | |
| 9196 | + | |
| 9197 | + | |
| 9198 | + | |
| 9199 | + | |
| 9200 | + | |
| 9201 | + | |
| 9202 | + | |
| 9203 | + | |
9200 | 9204 | | |
| 9205 | + | |
9201 | 9206 | | |
9202 | 9207 | | |
9203 | 9208 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2667 | 2667 | | |
2668 | 2668 | | |
2669 | 2669 | | |
| 2670 | + | |
2670 | 2671 | | |
2671 | 2672 | | |
2672 | 2673 | | |
| |||
2680 | 2681 | | |
2681 | 2682 | | |
2682 | 2683 | | |
| 2684 | + | |
| 2685 | + | |
| 2686 | + | |
| 2687 | + | |
| 2688 | + | |
| 2689 | + | |
| 2690 | + | |
| 2691 | + | |
| 2692 | + | |
| 2693 | + | |
| 2694 | + | |
| 2695 | + | |
| 2696 | + | |
| 2697 | + | |
| 2698 | + | |
| 2699 | + | |
2683 | 2700 | | |
2684 | 2701 | | |
2685 | 2702 | | |
| |||
2733 | 2750 | | |
2734 | 2751 | | |
2735 | 2752 | | |
2736 | | - | |
| 2753 | + | |
2737 | 2754 | | |
2738 | 2755 | | |
2739 | 2756 | | |
| |||
2747 | 2764 | | |
2748 | 2765 | | |
2749 | 2766 | | |
| 2767 | + | |
| 2768 | + | |
| 2769 | + | |
| 2770 | + | |
| 2771 | + | |
| 2772 | + | |
| 2773 | + | |
| 2774 | + | |
| 2775 | + | |
| 2776 | + | |
| 2777 | + | |
| 2778 | + | |
| 2779 | + | |
| 2780 | + | |
| 2781 | + | |
| 2782 | + | |
2750 | 2783 | | |
2751 | 2784 | | |
2752 | 2785 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1043 | 1043 | | |
1044 | 1044 | | |
1045 | 1045 | | |
1046 | | - | |
| 1046 | + | |
1047 | 1047 | | |
1048 | 1048 | | |
1049 | 1049 | | |
| |||
1052 | 1052 | | |
1053 | 1053 | | |
1054 | 1054 | | |
1055 | | - | |
1056 | | - | |
1057 | | - | |
1058 | | - | |
1059 | | - | |
1060 | | - | |
1061 | | - | |
1062 | | - | |
1063 | | - | |
1064 | | - | |
1065 | | - | |
1066 | | - | |
| 1055 | + | |
1067 | 1056 | | |
1068 | 1057 | | |
1069 | 1058 | | |
| |||
0 commit comments