Hi Franz, I was talking about the FileSystem, so the implementation of the following interfaces: IResource, IProject, IFile, IFolder, IContainer.
The current implementation in IntelliJ of these interfaces is really questionable and really complicated. The main problem in IntelliJ (as likely in Netbeans too) is the missing functionality of the API to create invalid file / folder handles. If I remember correctly this problem was never reported back. It seems that the authors tried to implement such a functionality. Looking at the core code, we do not really need the IProject#getFile and IProject#getFolder methods (which are just returning handles). The only problem is to rewrite the ProjectMapper to use IPath objects instead of IResource objects. So this leads up to 2 solutions: 1. Try to implement something in the FileSystem that the IDE API do NOT support by default 2. Get rid of the required methods (needs changes in the Core) to avoid (possible) complicated solution mentioned in point 1. BR, Stefan On 06.04.2017 17:48, Zieris, Franz wrote: > Hi everyone, > > I came across this post by Stefan [1], which calls for more attention: > >> I still highly recommend to copy some existing code >> (like accessing a file etc) and then hit the delete >> button for every file. >> It should be easier to rewrite the whole stuff after >> we know what we have to implement than trying to fix >> this broken stuff. > I'd like to clarify this: > - Do you (not only Stefan, but everyone else with an opinion on that > matter) actually think so, or is this more like a figure of speech? > - Is "the whole stuff" the _whole_ IntelliJ stuff, or just a few > packages? > > I mean, what we are doing is not supposed to be occupational therapy > for underutilized code monkeys. > We are actually trying to get stuff done! > And if we come to the conclusion that re-writing would clearly be a > more reasonable approach, then we should actually consider it. > > Cheers, > Franz > > [1] http://saros-build.imp.fu-berlin.de/gerrit/#/c/3251 @ Mar 30 6:15 PM ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ DPP-Devel mailing list DPP-Devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dpp-devel