Composer

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

Composer

Postby ross » August 29th, 2013, 2:18 am

Hi All,

I'm using Composer (http://getcomposer.org/) to manage dependencies. I frequently check out different branches and run composer.phar install every time to update the dependencies.

I'm evaluating PHP Tools (looking to purchase it as it's great!) but the one issue I have encountered is how to update the solution once composer brings in new dependencies.

Does anyone have a solution for this?

I'd prefer not to have to recreate the Visual Studio solution every time if possible.

Thanks!

-Ross
ross
 
Posts: 1
Joined: August 29th, 2013, 2:16 am

Re: Composer

Postby Jakub Misek » August 29th, 2013, 9:26 am

Hi,

It seams Composer changes files outside the Visual Studio (mostly in folder "vendor" ?)

We are planning to add an option, so your project would reflect the physical directory (would update itself if files are added or deleted outside VS).

However for now, the easier way would be to take advantage of "Show All Files" feature. Click "Show All Files" icon on top of Solution Explorer, so you'll see all the files in project directory. All the files and directories that are not a part of your project would appear as semi-transparent.

You can click "Refresh" icon to update the Solution Explorer. Also you may include/exclude single items to update your project.

I hope it helps.

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


Return to PHP Tools

Who is online

Users browsing this forum: No registered users and 46 guests

cron

User Control Panel

Login

Who is online

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

Users browsing this forum: No registered users and 46 guests