Exception window: unreadable message, check box bug?

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

Exception window: unreadable message, check box bug?

Postby wenzor » March 26th, 2014, 9:34 am

Hi.

1. Wrong code page?
2. Does check box work?
Снимок1.PNG

PHP Tools v.1.11.5062.2012, built-in server
VS 2012 Ultimate

By the way where can I read changelog?
You do not have the required permissions to view the files attached to this post.
User avatar
wenzor
 
Posts: 9
Joined: March 25th, 2014, 2:44 pm
Location: Saint-Petersburg, Russia

Re: Exception window: unreadable message, check box bug?

Postby Miloslav Beno » April 3rd, 2014, 3:55 pm

Hello!

Thanks for the post.

1.) I'll have to take a look what we receive from Xdebug, if string is screwed in Xdebug itself it will be hard to fix that for us. If it's on our end we'll fix it for some of the future updates.

2. The checkbox doesn't work at the moment, but I'm looking at it right now. I'll inform about the progress.

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

Re: Exception window: unreadable message, check box bug?

Postby Miloslav Beno » April 4th, 2014, 3:53 pm

1.)

About encoding of exceptions, we'll fix it in future version. Out of curiosity, do you use your system default encoding or do you use UTF8?

2.)

We'll have to investigate this more as we can't find any extension points for this right now.

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

Re: Exception window: unreadable message, check box bug?

Postby wenzor » April 11th, 2014, 4:44 pm

Miloslav Beno wrote:. Out of curiosity, do you use your system default encoding or do you use UTF8?

Where can i find out it?
User avatar
wenzor
 
Posts: 9
Joined: March 25th, 2014, 2:44 pm
Location: Saint-Petersburg, Russia

Re: Exception window: unreadable message, check box bug?

Postby Miloslav Beno » April 13th, 2014, 9:35 am

When you have a file opened you can go to File | Advanced Save Options and you'll see current encoding of the file.

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

Re: Exception window: unreadable message, check box bug?

Postby wenzor » April 16th, 2014, 6:13 pm

Cyrillic - Windows-1251. Is there way to change default code page? (If I can ask about Visual Studio in this forum).
User avatar
wenzor
 
Posts: 9
Joined: March 25th, 2014, 2:44 pm
Location: Saint-Petersburg, Russia

Re: Exception window: unreadable message, check box bug?

Postby Miloslav Beno » April 17th, 2014, 8:40 pm

In Visual Studio itself there is just an option to save a file to unicode when it cannot save in current encoding. Tools | Options | Environment | Documents | Save documents as Unicode when data cannot be saved in codepage http://msdn.microsoft.com/en-us/library/4z4b7zzx.aspx Which won't help a lot in this case.

But in PHP Tools we do have an option to force UTF8 when file gets saved. Tools | Options | Test Editor | PHP | Advanced | Override PHP files encoding .

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

Re: Exception window: unreadable message, check box bug?

Postby wenzor » April 18th, 2014, 5:37 pm

It's strange, but I didn't see this option.
PHP_advanced.PNG
You do not have the required permissions to view the files attached to this post.
User avatar
wenzor
 
Posts: 9
Joined: March 25th, 2014, 2:44 pm
Location: Saint-Petersburg, Russia

Re: Exception window: unreadable message, check box bug?

Postby Miloslav Beno » April 21st, 2014, 8:09 pm

I see. The option I was talking about is on your screenshot the last one. The name is screwed up, but try to switch it to Force option. So when you save a file it will be UTF8.
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbenomiloslav@devsense.com
User avatar
Miloslav Beno
 
Posts: 1252
Joined: January 7th, 2012, 8:36 pm

Re: Exception window: unreadable message, check box bug?

Postby Miloslav Beno » April 21st, 2014, 8:10 pm

Btw. The strange option name appears on some VS installations. It was fixed for the next minor update.
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbenomiloslav@devsense.com
User avatar
Miloslav Beno
 
Posts: 1252
Joined: January 7th, 2012, 8:36 pm


Return to PHP Tools

Who is online

Users browsing this forum: No registered users and 11 guests

cron

User Control Panel

Login

Who is online

In total there are 11 users online :: 0 registered, 0 hidden and 11 guests (based on users active over the past 5 minutes)
Most users ever online was 511 on April 27th, 2024, 10:11 pm

Users browsing this forum: No registered users and 11 guests