Formatting Issue w/ 'finally'?

PHP Tools [?] extends Visual Studio with set of advanced features to work more efficiently with PHP code.

Formatting Issue w/ 'finally'?

Postby AndyM84 » April 24th, 2018, 4:42 am

Was implementing some basic code for debugging and noticed there was an oddity with how the formatting showed up when I inserted my finally statement. I submit exhibit A to the jury:

Image

I didn't ever add any tabs while typing that out, simply hit the backspace key to try and clear out the incorrect formatting. Super low priority, of course, but thought I'd share.
User avatar
AndyM84
 
Posts: 69
Joined: August 6th, 2012, 3:24 pm
Location: Boston, MA, USA

Re: Formatting Issue w/ 'finally'?

Postby Miloslav Beno » May 3rd, 2018, 9:16 am

Hi Andy,

Thank you for noticing this and letting us know.

I see where the issue is, end block is indented same as finally keyword which is wrong in this case. We'll take a look a this.

Thanks again!
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbenomiloslav@devsense.com
User avatar
Miloslav Beno
 
Posts: 1252
Joined: January 7th, 2012, 8:36 pm

Re: Formatting Issue w/ 'finally'?

Postby AndyM84 » May 3rd, 2018, 9:22 am

I am here to help....find things that really aren't that important. ;)
User avatar
AndyM84
 
Posts: 69
Joined: August 6th, 2012, 3:24 pm
Location: Boston, MA, USA

Re: Formatting Issue w/ 'finally'?

Postby Miloslav Beno » May 3rd, 2018, 9:36 am

hehe :D

I think if you've noticed it, there are thousands of people that noticed it as well but didn't write us ;-)
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbenomiloslav@devsense.com
User avatar
Miloslav Beno
 
Posts: 1252
Joined: January 7th, 2012, 8:36 pm

Re: Formatting Issue w/ 'finally'?

Postby AndyM84 » May 7th, 2018, 5:53 pm

Haha, I'm pretty sure that confirms my suspicion it's not important! ;)
User avatar
AndyM84
 
Posts: 69
Joined: August 6th, 2012, 3:24 pm
Location: Boston, MA, USA


Return to PHP Tools

Who is online

Users browsing this forum: No registered users and 36 guests

cron

User Control Panel

Login

Who is online

In total there are 36 users online :: 0 registered, 0 hidden and 36 guests (based on users active over the past 5 minutes)
Most users ever online was 256 on March 28th, 2024, 9:42 am

Users browsing this forum: No registered users and 36 guests