Type it — flint:qbtarget then space or enter. The trigger is swallowed and
replaced by the code.
IntelliSense — start typing flint: and pick from the list (Tab / Enter).
Press something — Ctrl+Alt+F (or the ⚡ Flint button in the status bar)
opens a picker with every snippet. Everything is in the command palette too,
under FlintFiveM.
After inserting, Tab jumps through the placeholders (coords, event names, labels).
Resource name
The generated code is namespaced automatically. The extension walks up from the
open file looking for fxmanifest.lua or __resource.lua and uses that folder
name, so editing [Players]/1n7_Hud/client/client.lua gives you events called
1n7_Hud:client:example. Override it with flintfivem.resourceName.
Settings
Setting
Default
Meaning
flintfivem.autoExpand
true
Expand on space / enter. Off = IntelliSense and commands only.
flintfivem.prefix
flint:
Change the trigger prefix.
flintfivem.resourceName
""
Force a resource name instead of auto-detecting it.
Adding your own
Templates are plain text files in templates/, one per trigger.
@@RES@@ is the resource name, @@PASCAL@@ its PascalCase form, and
@@1:default@@ / @@1@@ / @@0@@ are the Tab stops. Register the new file in
lib/templates.js and add a command in package.json.