This repostitory / addon allows you to have self-completion for the QBCore FiveM Framework in any Jetbrains product.
- Any valid jetbrains product
- EmmyLua extension for that jetbrains product
- Node.js
- Install and unpack this repository to its own folder.
- Open the console and navigate to the folder you put these files into.
- Run
npm i
and thennpm run build
in the console window. - Open your IntelliJ product and open any project using lua.
- Right click Emmylua under External Libraries and choose "Open Library Settings"
- Click the + under classpath and add the build folder as a path there.
- Add auto completion for events and not only functions.