File associations

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

Re: File associations

Postby BladeMF » November 12th, 2013, 2:57 pm

Jakub Misek wrote:What path are you looking for?

Visual Studio updates path to the icons file on every startup.
ProgId for that is "VisualStudio.php.11.0"

This is being updated when you start VS in registry in HKEY_CLASSES_ROOT\VisualStudio.php.11.0


After I fixed the path (just there), I did a test - closed VS, messed up the path and started it - it didn't fix it.
Welcome to the zone where normal things don't happen very often.
BladeMF
 
Posts: 346
Joined: October 10th, 2012, 7:14 am

Re: File associations

Postby Jakub Misek » November 12th, 2013, 2:58 pm

In HKEY_CLASSES_ROOT\VisualStudio.php.11.0\DefaultIcon\@ ?
Are you running as Administrator ?
Jakub Misek │ DEVSENSE s.r.o. | @misekjakubjakub@devsense.com
User avatar
Jakub Misek
 
Posts: 2092
Joined: January 4th, 2012, 2:42 pm
Location: Prague

Re: File associations

Postby BladeMF » November 12th, 2013, 3:05 pm

Jakub Misek wrote:In HKEY_CLASSES_ROOT\VisualStudio.php.11.0\DefaultIcon\@ ?
Are you running as Administrator ?


The key is right, but I am using Windows 8.1, I am NEVER REALLY administrator. I don't start VS as administrator by default. Let me test and get back to you.
Welcome to the zone where normal things don't happen very often.
BladeMF
 
Posts: 346
Joined: October 10th, 2012, 7:14 am

Re: File associations

Postby BladeMF » November 12th, 2013, 3:06 pm

Yep, running it as administrator fixed the paths. Strange, I shouldn't be forced to do this, there must be some elevated process during install...
Welcome to the zone where normal things don't happen very often.
BladeMF
 
Posts: 346
Joined: October 10th, 2012, 7:14 am

Re: File associations

Postby Jakub Misek » November 12th, 2013, 3:08 pm

Ok, it should work under user's account as well. We'll take a look.

Thanks!
Jakub Misek │ DEVSENSE s.r.o. | @misekjakubjakub@devsense.com
User avatar
Jakub Misek
 
Posts: 2092
Joined: January 4th, 2012, 2:42 pm
Location: Prague

Re: File associations

Postby BladeMF » November 12th, 2013, 3:17 pm

Another thing. Running it as administrator did this:

Added this path:
C:\Users\vkosev\AppData\Local\Microsoft\VisualStudio\11.0\Extensions\15w5l0y0.den\CodeSnippets\Snippets\

3 more times, so the key (HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\11.0\Languages\CodeExpansions\PHP) value is now:
C:\Users\vkosev\AppData\Local\Microsoft\VisualStudio\11.0\Extensions\15w5l0y0.den\CodeSnippets\Snippets\;
%MyDocs%\Code Snippets\Phalanger\My Code Snippets\;
C:\Users\vkosev\AppData\Local\Microsoft\VisualStudio\11.0\Extensions\15w5l0y0.den\CodeSnippets\Snippets\;
C:\Users\vkosev\AppData\Local\Microsoft\VisualStudio\11.0\Extensions\15w5l0y0.den\CodeSnippets\Snippets\;
C:\Users\vkosev\AppData\Local\Microsoft\VisualStudio\11.0\Extensions\15w5l0y0.den\CodeSnippets\Snippets\;
Welcome to the zone where normal things don't happen very often.
BladeMF
 
Posts: 346
Joined: October 10th, 2012, 7:14 am

Re: File associations

Postby Jakub Misek » November 12th, 2013, 3:24 pm

Thanks, this is fixed and will be updated properly in the next update.
Jakub Misek │ DEVSENSE s.r.o. | @misekjakubjakub@devsense.com
User avatar
Jakub Misek
 
Posts: 2092
Joined: January 4th, 2012, 2:42 pm
Location: Prague

Re: File associations

Postby Jakub Misek » November 12th, 2013, 3:25 pm

I'll notify you when the update is ready.
Jakub Misek │ DEVSENSE s.r.o. | @misekjakubjakub@devsense.com
User avatar
Jakub Misek
 
Posts: 2092
Joined: January 4th, 2012, 2:42 pm
Location: Prague

Re: File associations

Postby BladeMF » November 12th, 2013, 3:37 pm

Jakub Misek wrote:I'll notify you when the update is ready.

Great!
Welcome to the zone where normal things don't happen very often.
BladeMF
 
Posts: 346
Joined: October 10th, 2012, 7:14 am

Re: File associations

Postby Jakub Misek » November 12th, 2013, 3:53 pm

This should fix
- CollapseToDef used more than once
- file icons
- duplicity snippets paths

http://www.devsense.com/products/php-to ... ad/preview
Jakub Misek │ DEVSENSE s.r.o. | @misekjakubjakub@devsense.com
User avatar
Jakub Misek
 
Posts: 2092
Joined: January 4th, 2012, 2:42 pm
Location: Prague

PreviousNext

Return to PHP Tools

Who is online

Users browsing this forum: No registered users and 65 guests

User Control Panel

Login

Who is online

In total there are 65 users online :: 0 registered, 0 hidden and 65 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 65 guests