[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[pdt-dev] Odp.: Smart Import

Ok, I think "**/index.php" + "**/composer.json" will be enough for initial implementation. Other cases like Symfony projects we can add later. 

Because smart project import is part of new Neon API this feature should be separate bundle and separate entry in update site. Of course we can add it to EPP package also &#X1f60a

I will update bug report and prepare implementation. 


Od: pdt-dev-bounces@xxxxxxxxxxx <pdt-dev-bounces@xxxxxxxxxxx> w imieniu użytkownika Dawid Pakuła <zulus@xxxxxxxxx>
Wysłane: 22 kwietnia 2016 18:03
Do: PDT Developers
Temat: Re: [pdt-dev] Smart Import

how about **/index.php? , will be much faster than *.php and probably will find correct project.

But for example symfony projects haven’t index.php (even in vendor). They use web/app.php file.

Dawid Pakuła

From: Kaloyan Raev <kaloyan.r@xxxxxxxx>
Reply: PDT Developers <pdt-dev@xxxxxxxxxxx>
Date: 22 April 2016 at 17:37:07
To: PDT Developers <pdt-dev@xxxxxxxxxxx>
Subject:  Re: [pdt-dev] Smart Import


Great! This was in my TODO list for research, but I've never found the time

I think having 'public/index.php' is also quite popular for PHP projects. 'index.php' in the project root might be also a good criterion.


From: pdt-dev-bounces@xxxxxxxxxxx <pdt-dev-bounces@xxxxxxxxxxx> on behalf of Michal Niewrzal <michal.n@xxxxxxxx>
Sent: Friday, April 22, 2016 6:29 PM
To: PDT Developers
Subject: [pdt-dev] Smart Import

Hi All,

I'm thinking about implementing smart import support[1] for PHP projects. The main challenge is to define best strategy for project detection. First and easiest to detect is 'composer.json'. Framework gives option to scan whole project but I wonder if just searching for *.php files will not be to general. Let me know what do you think about it



[1] https://wiki.eclipse.org/E4/UI/Smart_Import

Smarter import framework Purpose. Currently, when importing a project, users are facing the difficult choices of What project they're importing and How to import it.

pdt-dev mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit

Attachment: 4cca6b99-ed49-4c40-b56f-6b90b61573e6
Description: 4cca6b99-ed49-4c40-b56f-6b90b61573e6

Attachment: ab09c195-1770-4376-9b83-2951bcd84885
Description: ab09c195-1770-4376-9b83-2951bcd84885