braces allways on starting next line

braces allways on starting next line

 

hallo
i have following issue:

if($a==1)
(tab)(cursor)

now if i type { then tab delete automaticly and cursor sets to the start of the line
if($a==1)
{

how can i prevent this?
i want to have this style
if($a==1)
(tab){
(tab)}

pls dont talk about formater. it occurs before, while typing.

——

It’s in the settings, under Editor -> Editing -> Indentation. Try F7 -> type “set-indent-mode cstyle” -> press enter and check, is the issue gone then?

评论

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注