Home Download Buy Blog Forum Support

[BUG] Reindent function for C++ fails

[BUG] Reindent function for C++ fails

Postby Xaapyks on Mon May 21, 2012 11:21 am

Hi,

I've found a little glitch about the C++ reindent functionality.
If a closing '}' is followed on the same line by a comment, all the indentation will fail.
Xaapyks
 
Posts: 34
Joined: Tue Apr 17, 2012 8:33 am

Re: [BUG] Reindent function for C++ fails

Postby Xaapyks on Fri Mar 22, 2013 4:13 pm

Anything new on this issue ?
In fact any comment anywhere breaks the auto indent feature, still happens in ST3 beta 3022.

Code: Select all
{
if(thing->update())
{
doStuff();//Comment here
}
}

Reindenting this as C++ is impossible, it is broken.
Xaapyks
 
Posts: 34
Joined: Tue Apr 17, 2012 8:33 am

Re: [BUG] Reindent function for C++ fails

Postby Xaapyks on Tue Apr 02, 2013 10:50 am

Can someone please try to reproduce this (do not forget to ctrl+shift+P and set syntax as C++) and confirm I'm not the only one affected ?

Thanks.
Xaapyks
 
Posts: 34
Joined: Tue Apr 17, 2012 8:33 am

Re: [BUG] Reindent function for C++ fails

Postby conml27 on Tue Apr 02, 2013 11:49 am

Hey man, how do I compile and build my program. I'm doing C syntax, how do I run it as an exe? like DevCpp
conml27
 
Posts: 9
Joined: Sun Mar 31, 2013 2:49 pm

Re: [BUG] Reindent function for C++ fails

Postby twosev on Tue Apr 02, 2013 11:57 am

Xaapyks wrote:Can someone please try to reproduce this (do not forget to ctrl+shift+P and set syntax as C++) and confirm I'm not the only one affected ?

Thanks.


You are definitely not the one affected.
twosev
 
Posts: 7
Joined: Sat Dec 22, 2012 12:19 pm

Re: [BUG] Reindent function for C++ fails

Postby Xaapyks on Wed Apr 03, 2013 8:46 am

Oh I happen to work mainly on C++, so I hadn't notice it was failing on JS too.

Hope this gets fixed, it's rather annoying.

Thanks for your answer.
Xaapyks
 
Posts: 34
Joined: Tue Apr 17, 2012 8:33 am

Re: [BUG] Reindent function for C++ fails

Postby Xaapyks on Wed Jul 03, 2013 12:57 pm

This bug is still happening with ST3 3046.
Xaapyks
 
Posts: 34
Joined: Tue Apr 17, 2012 8:33 am

Re: [BUG] Reindent function for C++ fails

Postby Xaapyks on Thu Oct 03, 2013 10:27 am

Issue still present in 3053
Xaapyks
 
Posts: 34
Joined: Tue Apr 17, 2012 8:33 am


Return to Technical Support

Who is online

Users browsing this forum: Google [Bot] and 29 guests