I'd like to create a live template to quickly add a new state variable using React hooks in PyCharm for example.
I think I got something close to what I want (including state type for TypeScript):
const [$1$, set$1$] = useState<$2$>($3$);
$END$
But doing that with count
for example, I still have to rename the function setcount
for it to be CamelCase because I get:
const [count, setcount] = useState<number>(0);