tag:blogger.com,1999:blog-8550962.post2134793234999650979..comments2024-01-27T21:10:48.750-08:00Comments on PyDev adventures: Organizing importsFabio Zadroznyhttp://www.blogger.com/profile/04202246218394712738noreply@blogger.comBlogger3125tag:blogger.com,1999:blog-8550962.post-39071215743450620632009-09-30T23:46:41.522-07:002009-09-30T23:46:41.522-07:00Cool feature and I must admit I use it quite often...Cool feature and I must admit I use it quite often as well. Many thanks to Fabio and chaps for such a great tool!<br /><br />Unfortunately, my teamleader isn't happy about my using it because <b>pep-0008</b><br /><br /><a href="http://www.python.org/dev/peps/pep-0008/" rel="nofollow">http://www.python.org/dev/peps/pep-0008/</a><br /><br />says to organize imports other way round:<br /><i><br />Imports should be grouped in the following order:<br /><br /> 1. standard library imports<br /> 2. related third party imports<br /> 3. local application/library specific imports<br /></i><br />etc...<br /><br />Is it possible to make a change in pydev to sort imports this way?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8550962.post-51004670938252168452008-06-19T18:25:00.000-07:002008-06-19T18:25:00.000-07:00Actually, currently there are no plans of separati...Actually, currently there are no plans of separating imports into different sections... you can enter a feature request if you'd like to have it -- or send a patch, as that part is in the open-source version ;-)<BR/><BR/>Cheers,<BR/><BR/>FabioFabio Zadroznyhttps://www.blogger.com/profile/04202246218394712738noreply@blogger.comtag:blogger.com,1999:blog-8550962.post-41297572596383127312008-06-19T10:51:00.000-07:002008-06-19T10:51:00.000-07:00That's awesome. I love autoimport. And Organize Im...That's awesome. I love autoimport. And Organize Imports is almost to the point of completely abstracting away imports management!<BR/><BR/>Something that would be nice though, have you thought about splitting imports into different sections? eg. Separating standard library imports from the rest.mclinhttps://www.blogger.com/profile/13204696534493787548noreply@blogger.com