-
Notifications
You must be signed in to change notification settings - Fork 23
Add filter bar #13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
PiCode9560
wants to merge
1
commit into
Zylann:master
Choose a base branch
from
PiCode9560:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Add filter bar #13
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| uid://vpgnmtcfvsfr |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,41 +1,51 @@ | ||
| [gd_scene load_steps=2 format=3 uid="uid://d0sxhc6l66egc"] | ||
| [gd_scene format=3 uid="uid://d0sxhc6l66egc"] | ||
|
|
||
| [ext_resource type="Script" path="res://addons/zylann.editor_debugger/dock.gd" id="1"] | ||
| [ext_resource type="Script" uid="uid://vpgnmtcfvsfr" path="res://addons/zylann.editor_debugger/dock.gd" id="1"] | ||
|
|
||
| [node name="EditorDebugger" type="Control"] | ||
| [sub_resource type="DPITexture" id="DPITexture_7dk6n"] | ||
| _source = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\"><path fill=\"#ff5d5d\" d=\"M2 1v8.586l1.293-1.293a1 1 0 0 1 1.414 0L7 10.587l2.293-2.293a1 1 0 0 1 1.414 0L13 10.586l1-1V6H9V1H2zm8 0v4h4zm-6 9.414-2 2V15h12v-2.586l-.293.293a1 1 0 0 1-1.414 0L10 10.414l-2.293 2.293a1 1 0 0 1-1.414 0L4 10.414z\"/></svg> | ||
| " | ||
|
|
||
| [node name="EditorDebugger" type="Control" unique_id=1069202021] | ||
| layout_mode = 3 | ||
| anchors_preset = 0 | ||
| offset_right = 238.0 | ||
| offset_bottom = 347.0 | ||
| script = ExtResource("1") | ||
|
|
||
| [node name="PopupMenu" type="PopupMenu" parent="."] | ||
| [node name="PopupMenu" type="PopupMenu" parent="." unique_id=1891947773] | ||
|
Owner
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Looks like you saved the scene while its script was running. These items should not have to be in the scene file. Maybe |
||
| hide_on_item_selection = false | ||
| hide_on_checkable_item_selection = false | ||
|
|
||
| [node name="VBoxContainer" type="VBoxContainer" parent="."] | ||
| [node name="VBoxContainer" type="VBoxContainer" parent="." unique_id=1197953799] | ||
| layout_mode = 0 | ||
| anchor_right = 1.0 | ||
| anchor_bottom = 1.0 | ||
|
|
||
| [node name="ShowInInspectorCheckbox" type="CheckBox" parent="VBoxContainer"] | ||
| [node name="ShowInInspectorCheckbox" type="CheckBox" parent="VBoxContainer" unique_id=813446399] | ||
| layout_mode = 2 | ||
| text = "Show in inspector" | ||
|
|
||
| [node name="Tree" type="Tree" parent="VBoxContainer"] | ||
| [node name="FilterLineEdit" type="LineEdit" parent="VBoxContainer" unique_id=940973578] | ||
| layout_mode = 2 | ||
| placeholder_text = "Filter" | ||
| right_icon = SubResource("DPITexture_7dk6n") | ||
|
|
||
| [node name="Tree" type="Tree" parent="VBoxContainer" unique_id=1727266992] | ||
| layout_mode = 2 | ||
| size_flags_vertical = 3 | ||
| allow_rmb_select = true | ||
|
|
||
| [node name="Label" type="Label" parent="VBoxContainer"] | ||
| [node name="Label" type="Label" parent="VBoxContainer" unique_id=12719679] | ||
| layout_mode = 2 | ||
| text = "Hello World" | ||
|
|
||
| [node name="SaveBranchFileDialog" type="FileDialog" parent="."] | ||
| [node name="SaveBranchFileDialog" type="FileDialog" parent="." unique_id=309312068] | ||
| filters = PackedStringArray("*.tscn ; TSCN", "*.scn ; SCN", "*.res ; RES") | ||
|
|
||
| [connection signal="id_pressed" from="PopupMenu" to="." method="_on_popup_menu_id_pressed"] | ||
| [connection signal="toggled" from="VBoxContainer/ShowInInspectorCheckbox" to="." method="_on_ShowInInspectorCheckbox_toggled"] | ||
| [connection signal="text_changed" from="VBoxContainer/FilterLineEdit" to="." method="_on_filter_line_edit_text_changed"] | ||
| [connection signal="item_mouse_selected" from="VBoxContainer/Tree" to="." method="_on_Tree_item_mouse_selected"] | ||
| [connection signal="item_selected" from="VBoxContainer/Tree" to="." method="_on_Tree_item_selected"] | ||
| [connection signal="nothing_selected" from="VBoxContainer/Tree" to="." method="_on_Tree_nothing_selected"] | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| uid://ccstm6woua423 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| uid://ba8s3144fn7mg |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Formatting: 2 newlines between functions (as well as other places)