Indentitation curly braces

3 posts, 0 answers
  1. Marko Gluhak
    Marko Gluhak avatar
    68 posts
    Member since:
    Apr 2006

    Posted 12 Feb 2012 Link to this post

    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. Ivan
    Admin
    Ivan avatar
    106 posts

    Posted 15 Feb 2012 Link to this post

    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 >>
  3. DevCraft banner
  4. Marko Gluhak
    Marko Gluhak avatar
    68 posts
    Member since:
    Apr 2006

    Posted 15 Feb 2012 Link to this post

    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.

Back to Top