Daemonic Lua API
A Visual Studio Code extension that provides Lua library definitions for Daemonic, enabling IntelliSense, autocompletion, and type checking for Daemonic-specific APIs.
Features
- Daemonic API Definitions: Automatically adds Daemonic Lua definitions to the
Lua.workspace.library
setting.
- Seamless Integration: Works with the Lua extension by sumneko to provide IntelliSense and type checking for Daemonic APIs.
- Easy Setup: Just install the extension, and it will configure everything for you.
Installation
- Open Visual Studio Code.
- Go to the Extensions view by clicking on the Extensions icon in the Activity Bar on the side of the window or pressing
Ctrl+Shift+X
.
- Search for "Daemonic Lua API".
- Click Install to install the extension.
Usage
Once installed, the extension will automatically add the Daemonic Lua definitions to your workspace. You can start using Daemonic APIs with full IntelliSense support.
Example
Here’s an example of how to use Daemonic APIs with autocompletion and type checking:
---@type DMC
local dmc = ...
-- Use Daemonic APIs with IntelliSense support
dmc.ObjectExists("target") -- Autocompletion and type checking will work here
Requirements
Contributing
Contributions are welcome! If you have any ideas, suggestions, or issues, please open an issue or submit a pull request.
- Fork the repository.
- Create a new branch (
git checkout -b feature/YourFeatureName
).
- Commit your changes (
git commit -m 'Add some feature'
).
- Push to the branch (
git push origin feature/YourFeatureName
).
- Open a pull request.
License
This project is licensed under the MIT License. See the LICENSE file for details.
Acknowledgements
Enjoy using Daemonic Lua API! If you have any questions or feedback, feel free to open an issue.