You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Auto complete classes like `MonoBehaviour` and `Editor`.
75
+
76
+
### Auto Complete: Methods
77
+
78
+
Auto complete methods like `Start` and `OnCollisionEnter`.
79
+
80
+
### Auto Complete: Calls
73
81
74
-
Start typing the names to create the corresponding snippets.
82
+
Auto complete utility calls like `Debug.Log` and `Debug.DrawLine`.
75
83
76
-
- Game classes:
84
+
### Auto Complete: Attributes
77
85
78
-
-`MonoBehaviour`
79
-
-`StateMachineBehaviour`
80
-
-`NetworkBehaviour`
81
-
-`ScriptableObject`
86
+
Auto complete attributes like `[SerializeField]` and `[RequireComponent]` (just these two for now).
87
+
88
+
### Auto Complete: Experimental Attributes
89
+
90
+
Auto complete all other attributes like `[HideInInspector]` and `[ContextMenu]`. There are a lot o attributes and this can pollute your Intellisense popup.
91
+
92
+
## All the snippets
82
93
83
-
- Editor Classes:
94
+
Start typing the names to create the corresponding snippet. Some of them have a special snippet to not mess up with the default Intellisense behavior.
84
95
85
-
-`Editor`
86
-
-`Editor` with `Reorderable List`
87
-
-`EditorWindow`
88
-
-`PropertyDrawer`
89
-
-`ScriptableWizard`
96
+
Snippets are devided in categories, all of them can be enabled/disabled in the options.
97
+
98
+
- Classes:
99
+
100
+
- Game Classes:
101
+
-`MonoBehaviour`
102
+
-`StateMachineBehaviour`
103
+
-`NetworkBehaviour`
104
+
-`ScriptableObject`
105
+
- Editor Classes:
106
+
-`Editor`
107
+
-`EditorWithReorderableList`
108
+
-`EditorWindow`
109
+
-`PropertyDrawer`
110
+
-`ScriptableWizard`
111
+
- Standard Classes:
112
+
-`class`
113
+
-`interface`
90
114
91
115
- MonoBehaviour Methods:
92
116
@@ -117,9 +141,13 @@ Start typing the names to create the corresponding snippets.
117
141
-`OnEnable()`
118
142
-`OnFailedToConnect()`
119
143
-`OnFailedToConnectToMasterServer()`
144
+
-`OnFocus()`
120
145
-`OnGUI()`
146
+
-`OnHierarchyChange()`
147
+
-`OnInspectorUpdate()`
121
148
-`OnJointBreak()`
122
149
-`OnJointBreak2D()`
150
+
-`OnLostFocus()`
123
151
-`OnMasterServerEvent()`
124
152
-`OnMouseDown()`
125
153
-`OnMouseDrag()`
@@ -130,16 +158,25 @@ Start typing the names to create the corresponding snippets.
130
158
-`OnMouseUpAsButton()`
131
159
-`OnNetworkInstantiate()`
132
160
-`OnParticleCollision()`
161
+
-`OnParticleSystemStopped()`
133
162
-`OnParticleTrigger()`
134
163
-`OnPlayerConnected()`
135
164
-`OnPlayerDisconnected()`
136
165
-`OnPostRender()`
137
166
-`OnPreCull()`
138
167
-`OnPreRender()`
168
+
-`OnProjectChange()`
139
169
-`OnRenderImage()`
140
170
-`OnRenderObject()`
171
+
-`OnSceneGUI()`
172
+
-`OnSelectionChange()`
141
173
-`OnSerializeNetworkView()`
142
174
-`OnServerInitialized()`
175
+
-`OnStateEnter()`
176
+
-`OnStateExit()`
177
+
-`OnStateIK()`
178
+
-`OnStateMove()`
179
+
-`OnStateUpdate()`
143
180
-`OnTransformChildrenChanged()`
144
181
-`OnTransformParentChanged()`
145
182
-`OnTriggerEnter()`
@@ -150,24 +187,87 @@ Start typing the names to create the corresponding snippets.
If you have any suggestion, please don't give the extension a bad review. Instead, [open an issue in the Github project](https://github.com/kleber-swf/vscode-unity-code-snippets/issues) page and I'll try to add it when/if possible.
"markdownDescription": "[Experimental] Auto complete all other attributes like `[HideInInspector]` and `[ContextMenu]`. There are a lot o attributes and this can pollute your Intellisense popup.",
0 commit comments