Speed up development with Unity DOTS by having quick access to some of the most common operations and code structures necessary when working with component systems.
This is usually not an issue but it can be tedious, repetitive and sometimes hard to remember the exact API or calls.
This extension will solve the issue for you with a simple :[command] + TAB/ENTER and you're up and running.
PR are open to make this even better!
Shortcuts / Commands
Command
Help Text
:makesys
Creates Full File ComponentSystem
:querySimple
Creates a Simple Query
:queryComplex
Creates a more Complex Query with All and None filters
:group
Add Group Query
:compRead
Add Component ReadOnly
:compWrite
Add Component ReadWrite
:require
Require For Update condition for OnCreate
:newType
Creates Type Definition
:newEntityType
Creates Entity Type Definition
:getType
Get Archetype Chunk Component Type
:getEntityType
Get Archetype Chunk Entity Type
:chunkIteration
Creates Chunk Iteration structure
:chGetNative
Chunk Get Native Array
:chGetObject
Chunk Get Component Object
:chGetShared
Chunk Get Shared Component
:forEach
ForEach Iteration with With Condition
:forEachEntity
ForEach Iteration with With Condition and Entity Component