Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 Open File in Solution with PHP project
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

gdermog
New Member

Czech Republic
6 Posts

Posted - Jan 10 2018 :  02:30:04 AM  Show Profile  Reply with Quote
Good morning!

Recently I have started to use Visual Studio 2015 with PHP Tools plugin as PHP IDE and I have noticed that Visual Assist feature "Open file in solution" is not working, although it is available through menu or keyboard shortcut. This feature have nothing to do with specific programming language, I suppose, and it would be very handy in large PHP projects.

Presently, "Open file in soulution" dialog (and VA View as well) behaves as if the solution is empty (no file is displayed or found at all).

Is there any way to make this feature work out of C/C++ projects? Thanks for any suggestion.

Best regards
Vladimir Pospisil
[email protected]

Edited by - gdermog on Jan 10 2018 02:38:20 AM

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Jan 10 2018 :  4:25:20 PM  Show Profile  Reply with Quote
Can you please try following the below instructions to see if it helps?
https://docs.wholetomato.com/default.asp?W353
Go to Top of Page

gdermog
New Member

Czech Republic
6 Posts

Posted - Jan 11 2018 :  01:42:56 AM  Show Profile  Reply with Quote
File extensions .php, .js and others are already present in the registry, I am afraid:

https://imgur.com/ntNrJf8
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18755 Posts

Posted - Jan 11 2018 :  3:57:37 PM  Show Profile  Reply with Quote
How are you opening your "solution"? Are you opening a directory, directory tree, or an actual .SLN file, with related project files?

If you are opening project files, what is their file extension? For reference, C++ project files have the extension .VCXPROJ for VS2015.

I am wondering if you are opening a PHP project instead, which VA won't know anything about. As such, VA won't parse the project files, so it won't know about the file list for the project / solution.

zen is the art of being at one with the two'ness
Go to Top of Page

gdermog
New Member

Czech Republic
6 Posts

Posted - Jan 12 2018 :  03:26:05 AM  Show Profile  Reply with Quote
Great, that was the issue! PHP project was created with .phpproj extension. I just changed it to .vcxproj (and in solution file as well) and problem is solved. Thank you very much!

Best regards
Vladimir Pospisil
[email protected]
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18755 Posts

Posted - Jan 12 2018 :  4:39:56 PM  Show Profile  Reply with Quote
Thank you for the update, I am glad this was this easy Hopefully changing the extension has not broken the PHP support / features you were using?

zen is the art of being at one with the two'ness
Go to Top of Page

gdermog
New Member

Czech Republic
6 Posts

Posted - Jan 13 2018 :  03:54:14 AM  Show Profile  Reply with Quote
I thing not - at least I havent noticet anything yet. Thank you for your help!
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18755 Posts

Posted - Jan 13 2018 :  08:33:37 AM  Show Profile  Reply with Quote
Good to know, if you run into any further problems, or have any questions, do just ask.

zen is the art of being at one with the two'ness
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000