Code Monkey home page Code Monkey logo

commandpalette's Introduction

> Command Palette

GitHub Repo Stars Badge Donate PayPal Badge Download CurseForge Badge Download GitHub Badge

Command Palette gives you everything at your fingertips with a single search. Use CTRL+SHIFT+P to bring up the Command Palette and search for what you are looking for. Use UP + DOWN arrow keys to adjust your selection, and click ENTER to execute, or simply click on the option with your mouse.

Screenshot of Command Palette AddOn

โ“ What Can It Do?

Command Palette can do almost everything, for example:

  • Cast Spells
  • Use Items
  • Use Toys
  • Summon Mounts
  • Summon Pets
  • Use Emotes
  • Set Titles
  • And more!

๐Ÿซฅ Missing Something?

If you are finding something missing from Command Palette:

Players ๐Ÿง

Make a New Issue with your requested action.


Localizers ๐ŸŒ

See Localization on CurseForge.


Addon Developers ๐Ÿง‘โ€๐Ÿ’ป

Consider making Bindings for your addons features. Command Palette adds all game and addon bindings to the interface. This helps your users regardless of them using Command Palette.

Binding icons are automatically set to your addons IconTexture if your addon name matches the header or category text. Per-binding icons can be set with a global variable:

-- Any first argument to TextureBase:SetTexture
BINDING_ICON_RAIDTARGET1 = 137001

If there is an action that does not fit as a binding, you can register a new module to add your actions. Example: Titles.lua


Blizzard โ„๏ธ

  • Create more Bindings for game functions.
    • Also fix the disappearance of keybind headers.
  • Create a binding type for SecureActionButtonTemplate.
    • Player created bindings should obviously not run secure code, but Blizzard bindings should.
  • Allow spellIndex and bookType for spell action for SecureActionButtonTemplate.
    • Mainly for pet actions that arent spells. So they arent required to be on your pets action bar.
    • Would use CastSpell instead of CastSpellByID and CastSpellByName
  • Create nearbyX unit types.
    • Nameplates dont work with NPC's.
    • Nameplates dont work with > 40 units.
  • Bring back [target=Name] or [@Name] macro conditionals, and make functions that take UnitID/UnitToken also take a name.
    • You can already work around this using a macro. But macro's will change the users target and target history.

commandpalette's People

Contributors

mikuhl-dev avatar

Stargazers

Soheil Rashidi avatar  avatar Sarah Alawami avatar  avatar Karina J. Kwiatek avatar Kyle avatar  avatar  avatar

Watchers

 avatar

commandpalette's Issues

CPU Usage very high.

I have a lot of addons so it's possible it's not like this normally but this addon causes me a lot of lag.
image

Stuck on "Load Bindings" at launch.

Message: bad argument #1 to '?' (Usage: local stripped = StripHyperlinks(text [, maintainColor, maintainBrackets, stripNewlines, maintainAtlases]))
Time: Tue Nov 14 21:00:55 2023
Count: 1
Stack: bad argument #1 to '?' (Usage: local stripped = StripHyperlinks(text [, maintainColor, maintainBrackets, stripNewlines, maintainAtlases]))
[string "@Interface/AddOns/CommandPalette/utils/Async.lua"]:32: in function <Interface/AddOns/CommandPalette/utils/Async.lua:19>

Locals: ticker =
start = 306.589151
(for generator) = defined =[C]:-1
(for state) =

{
=
{
}
}
(for control) =
thread =
status = "suspended"
success = false
message = "bad argument #1 to '?' (Usage: local stripped = StripHyperlinks(text [, maintainColor, maintainBrackets, stripNewlines, maintainAtlases]))"
_threads =
{
=
{
}
}
_ticker =

Reputations and Toys load for a very long time

WoW version: 11.0.0.56008
CommandPalette version: 1.2.5

When opening the panel, modules load but a few have issues.

  • the Reputations module loads forever, at least I've waited several minutes and it never completed
  • the Toys module sometimes completes after a few dozen seconds, other times it seems to get stuck as well

Also the settings page for modules is empty, so I tried disabling them by commenting out their files in Modules.xml and the rest of them seem to work fine.

Thanks for the addon

Lua Error on Launch

When bringing up the command palette, I get the following error:

Message: Usage: local stripped = StripHyperlinks(text [, maintainColor, maintainBrackets, stripNewlines, maintainAtlases])
Time: Fri Aug 18 00:30:12 2023
Count: 1
Stack: Usage: local stripped = StripHyperlinks(text [, maintainColor, maintainBrackets, stripNewlines, maintainAtlases])
[string "=[C]"]: ?
[string "=[C]"]: in function `StripHyperlinks'
[string "@Interface/AddOns/CommandPalette/plugins/Bindings.lua"]:76: in function <Interface/AddOns/CommandPalette/plugins/Bindings.lua:60>
[string "=[C]"]: ?
[string "@Interface/SharedXML/CallbackRegistry.lua"]:178: in function <Interface/SharedXML/CallbackRegistry.lua:177>
[string "=[C]"]: ?
[string "@Interface/SharedXML/CallbackRegistry.lua"]:181: in function `TriggerEvent'
[string "@Interface/AddOns/CommandPalette/CommandPalette.lua"]:68: in function `UpdateActions'
[string "@Interface/AddOns/CommandPalette/CommandPalette.lua"]:60: in function `SetSearch'
[string "@Interface/AddOns/CommandPalette/CommandPalette.lua"]:31: in function <Interface/AddOns/CommandPalette/CommandPalette.lua:30>
[string "=[C]"]: in function `Show'
[string "@Interface/AddOns/CommandPalette/CommandPalette.lua"]:42: in function `TryShow'
[string "OPENCOMMANDPALETTE"]:1: in function <[string "OPENCOMMANDPALETTE"]:1>

Locals: (*temporary) = <function> defined =[C]:-1

The palette still launches and apepars to function, but it does throw the error every time.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.