Version: 2.9.4 (used on Windows 8.1 64bit)
Qt-Version: 5.4.1
Observed behaviour: When defining a command
\newcommand{\cmd}[2][default]{(#1)(#2)}
the autocompletion popup wrongly offers
\cmd{arg1}{arg2}
where it should offer
\cmd{arg2} \cmd[arg1]{arg2}
i.e. optional arguments are not recognized as such.
Deleting the profile directory (%APPDATA%\texstudio) did not solve the problem.
fixed in repository