Skip to content

A plugin to better navigate Godot using your keyboard.

License

Notifications You must be signed in to change notification settings

DaelonSuzuka/CommandPaletteRedux

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This fork is being actively maintained as of January 2022

Roadmap

  • update documentation
  • update help screen
  • fix massive performance issues
    • currently I've disabled scene instancing because it took >5 seconds in my project
    • move project indexing to another thread
    • decouple re-indexing from the editor's file system changed notifications
    • delay re-index requests for a second or so
    • put a rate limit on re-index requests
    • prevent re-indexing from happening right when the editor opens

Features:

See the built-in help page (type "?") on how to use the features.

Use your keyboard to:

  • Open any file. Filter by type or name.
  • Focus Godot's dock with keyboard shortcuts and navigate the SceneTreeDock with your keyboard.
  • Edit general Project/Editor settings. Add new Project settings (kinda barebones atm).
  • Traverse the file tree with autocompletion on paths (list all files and folders in a given path; see preview.gif).
  • Use the context menu for the FileSystemDock, SceneTreeDock and script list. -- experimental. Basically... I just simulate a right click at a specific position.
  • Go to line.
  • Go to method.
  • Quickly switch to the last file opened.
  • some useful 'commands' (for now: open new scene, create new script) - feel free to suggest some moew
  • access of https://github.com/fenix-hub/godot-engine.text-editor and https://github.com/need12648430/godot3-todo via command palette. I have no affiliation with any of those plugins. I only use them personally.

Minor stuff:

  • A copy button is available to the right of the search LineEdit. This way you can quickly copy the file and settings paths.
  • Opening a script also opens the scene, which the script is attached to. This gives you autocompletion on the Node(Paths) and their methods.
  • Ending the search_string with " " (double space) will autocomplete file and settings path.

Installation

Either download it from the official Godot AssetLib (within Godot itself) or download the addons folder from here and move it to the root (res://) of your project. Enable the plugin in the project settings.

Usage

  • Install via instructions above
  • On Windows / Linux press "Ctrl+E" to open it, on Mac press "Cmd+P"

Preview

Preview2 Preview

Changelog

1.6.0

  • removed ability to focus inspector properties and SceneTree options. Instead added shortcuts to focus Godot's built-in docks with the keyboard.
  • removed context menu button and added it as a keyboard shortcut (by default Ctrl+C when the plugin is visible)
  • updated readme/help pages and preview images accordingly
  • bugfix: wrong sorting of ItemList, context menu no working when there was a scrollbar and other minor stuff

1.5.1

  • changed default shortcut to Control+E (for easier one-handed activation)
  • expanded and streamlined the settings page

About

A plugin to better navigate Godot using your keyboard.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • GDScript 100.0%