This is a migrated thread and some comments may be shown as answers.

Indentitation curly braces

2 Answers 45 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Marko Gluhak
Top achievements
Rank 1
Marko Gluhak asked on 12 Feb 2012, 07:47 PM
Hi,

Here is existing code:
if (ok)
{<-- CURSOR HERE
    foreach (var idTemp in idMembers)
    {
        var newZapisnikMember = new DAL_BLL.cZapisnikMember();
        newZapisnikMember.IdClan = idTemp;
        newZapisnikMember.IdZapisnik = zapisnik.IdZapisnik;
        newZapisnikMember.IsPresent =
    }
.....
}

is it normal behaviour that when I press ENTER I get cursor here:

if (ok)
{
<-- CURSOR HERE
    <-- INSTEAD OF HERE
    foreach (var idTemp in idMembers)
    {
        var newZapisnikMember = new DAL_BLL.cZapisnikMember();
        newZapisnikMember.IdClan = idTemp;
        newZapisnikMember.IdZapisnik = zapisnik.IdZapisnik;
        newZapisnikMember.IsPresent =
    }
 
    ....            }
 

2 Answers, 1 is accepted

Sort by
0
Ivan
Telerik team
answered on 15 Feb 2012, 03:45 PM
Hello,

Thank you for your feedback. I am not able to reproduce your issue. I would like to ask you whether you have JustCode Typing Assistance enabled? Could you send me a sample video so that I try to reproduce your issue following your steps?
Do you also use some other extensions except JustCode?
Thank you for your help!

Regards,
Ivan
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
Marko Gluhak
Top achievements
Rank 1
answered on 15 Feb 2012, 04:27 PM
Hi,

sorry for this topic but this was some other error.

After 2 days of searching I discover that somehow (probably reshaper I uninstall 3 days ago) set indenting to block instead of smart. Now when I set it to "smart" everything is working fine.

Tags
General Discussions
Asked by
Marko Gluhak
Top achievements
Rank 1
Answers by
Ivan
Telerik team
Marko Gluhak
Top achievements
Rank 1
Share this question
or