Skip to main content

[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. 

Michal



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
 
Hi,

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

Hi, 


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.


Kaloyan




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


Thanks,

Michal 


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

wiki.eclipse.org
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
pdt-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/pdt-dev

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

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


Back to the top