Snippet: variable (with initialization)

property value
IDE Visual Studio
Language C++
Title variable (with initialization)
Shortcut vx
Description variable (with initialization)
Snippet Types Expansion

Placeholders

Identifier Tooltip Default Value Editable Function Type Name
_identifier Identifier name x yes
_value 0 yes
type Variable type name auto yes

Code

auto x = 0;