🌉 IntelliSense and Auto-completion for FiveM Community Bridge
This VS Code extension provides comprehensive IntelliSense support for the FiveM Community Bridge library, featuring auto-completion, hover documentation, and signature help for all Bridge modules and functions.
✨ Features
- 🚀 Auto-completion - Smart completion for
Bridge.Module.Function()
patterns
- 📖 Hover Documentation - Detailed function information on hover
- 🔍 Signature Help - Parameter hints and function signatures
- 🎯 36 Modules Supported - Complete coverage of Community Bridge API
- 🌉 Bridge Icon - Easy identification of Bridge functions in completion list
🏗️ Supported Modules
Core Modules
- Framework - Core framework functions (62 functions)
- Inventory - Item management (28 functions)
- Banking - Economy system (3 functions)
- Notify - Notification system (7 functions)
- Target - Targeting system (13 functions)
Utility Libraries
- Math - Mathematical utilities (12 functions)
- Entities - Entity management (7 functions)
- Particles - Particle effects (6 functions)
- Points - Point management (5 functions)
- Raycast - Raycasting utilities (3 functions)
...and 26 more modules!
🚀 Usage
- Type
Bridge.
to see all available modules
- Type
Bridge.ModuleName.
to see module functions
- Use
Ctrl+Space
to trigger completion manually
- Hover over functions for documentation
🎯 Examples
-- Get all available modules
Bridge.
-- Access Framework functions
Bridge.Framework.GetPlayerData()
-- Use Inventory system
Bridge.Inventory.AddItem('weapon_pistol', 1)
-- Send notifications
Bridge.Notify.SendNotification('Hello World!', 'success')
🔧 Installation
- Copy this extension to your VS Code extensions folder
- Reload VS Code
- Open any
.lua
file and start using Bridge completions!
📦 Extension Structure
├── src/
│ ├── extension.ts # Main extension entry point
│ ├── providers/
│ │ ├── completionProvider.ts # Auto-completion logic
│ │ ├── hoverProvider.ts # Hover documentation
│ │ └── signatureHelpProvider.ts # Function signatures
│ └── services/
│ └── apiDocumentationManager.ts # API data management
├── apis/
│ └── modules/ # 36 JSON module definitions
├── snippets/
│ └── lua.json # Code snippets
└── converter/ # Documentation converter tools
🛠️ Development
To update module documentation:
- Edit JSON files in
apis/modules/
- Or run the converter:
cd converter && node convert.js
- Reload the extension
📄 License
MIT License - Feel free to use and modify!
🌉 Bridging the gap between FiveM development and modern IDE features!