Hammerspoon: Update completion documentation Hammerspoon: Generate Spoon Documentation Toggle connection that allows incoming data to be executed as vscode commands Hammerspoon: Reload Hammerspoon configuration Typing in one of the following Command Name: Command Name (see Key Bindings for Visual Studio Code for more information).Īll commands are available by opening the Command Palette Command+Shift+P and Available Commandsīy default, the extension does not provide any shortcut. You can see some debugging information inside the Output window: Hammerspoon Network. Via the command: Hammerspoon: Toggle server connection or via the button in lower the You can write arguments inside curly brackets and delimit them by a comma: ')įor the extension to accept incoming data, you need to start the server Hs.timer.doAfter(1, function() socket:disconnect() end) calling socket:disconnect() immediately will fail to register the message You can execute vscode commands from Hammerspoon by sending data via the socket module. This method will fail under some circumstances (multi nested method calls,Ĭomplex scripts, "classes" etc.) but it gets the job done for the most basic ones. Parses Hammerspoon documentation in search of the object information. The way it works is by creating a symbol table of the script. This extension is a cheap and dirty attempt to create an IntelliSense environment for Hammerspoon.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |