Skip to content
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

v2 #12

Merged
merged 2 commits into from
Jun 8, 2024
Merged

v2 #12

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2023 NAIIVE
Copyright © 2024 NAIIVE and contributors

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

✅ **for Godot Engine 3.x** | ➡️ [**for Godot Engine 4.x**](https://github.com/naiiveprojects/nv.gd.file_system/tree/4.x)

Allow Editor FileSystem to dock at the bottom panel, similar to the layout found in Unreal Engine / Unity.
Allow Editor FileSystem to dock at the bottom panel, similar to the layout found in Unreal Engine / Unity, with Menu & Shortcuts to Switch & show/hide the File System.

## Screenshots

Expand Down Expand Up @@ -44,13 +44,13 @@ if you do not have Git installed.

- switch between the standard location and the bottom dock by navigating to `Projects > Tools > File System > Switch File System Dock`
- ![menu_item](/assetlib/menu_item.png)
- Alternatively, you can use the default shortcut `Alt + S` to toggle the dock location.
- Alternatively, you can use the default shortcut `Alt + S` to toggle the dock location and `Control + Space` to show / hide the file system when docked on the bottom.
- to customize the shortcut, you can modify the script in `addons/nv.file_system/nv.file_system.gd`
- ![menu_item](/assetlib/script_shortcut.png)

## License

Copyright © 2023 NAIIVE and contributors
Copyright © 2024 NAIIVE and contributors

Unless otherwise specified, files in this repository are licensed under the
MIT license. See [LICENSE](LICENSE) for more information.
3 changes: 3 additions & 0 deletions addons/nv.file_system/config.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[File System]

docked=true
4 changes: 2 additions & 2 deletions addons/nv.file_system/nv.file_system.gd
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ extends EditorPlugin

const TITLE := "File System"
const TITLE_TOOL_MENU_SWITCH := "Switch File System Dock"
const TITLE_TOOL_MENU_SHOW := "Show/Hidde File System (docked)"
const TITLE_TOOL_MENU_SHOW := "Show/Hide File System Dock (Bottom Dock)"
const DATA_PATH := "res://addons/nv.file_system/config.cfg"

## Set `FileSytem` rect min size to make it look consisten with other panel.
Expand Down Expand Up @@ -155,7 +155,7 @@ func load_config() -> void:
return

for item in config.keys():
cfg.get_value(TITLE, item, config.get(item))
config[item] = cfg.get_value(TITLE, item, config.get(item))

if config.docked != docked:
switch_file_system_dock()
Expand Down
2 changes: 1 addition & 1 deletion addons/nv.file_system/plugin.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
name="nv.file_system"
description="Enable Editor File System to dock at the bottom panel, similar to the layout found in Unreal Engine / Unity."
author="NAIIVE"
version="1.1.0"
version="2.0"
script="nv.file_system.gd"
Binary file modified assetlib/editor_full.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assetlib/menu_item.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assetlib/naiive_trans_accent.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assetlib/script_shortcut.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.