Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-core-dev] Re: IFile that corresponds to a logical view.

That would certainly be one way out of the current split that divides editor support in half, makes annotations unavailable to RCP, etc. Pull resources out of the workspace (and out of the IDE).

An alternative is to pull the file system into the workspace. I did a very simple stab at that for my product, automatically creating a project that holds (if possible) the folders containing open "external" files, (Ed, I know you'll remember this approach), adding Browse buttons to the wizards and Save dialog, etc. It makes search and markers work and allows virtually every file to be opened as an IFile, but it's a bit of a hack.

Bob

Ed Burnette wrote:
I've long thought that IResource should be able to represent things other than "files and directories in the local file system that happen to be in projects in the workspace". Even local file system files outside the workspace can't currently participate as first class citizens in the IDE (with markers and search and the other benefits that come with being an IResource).
For related bugzilla entries see:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=37935#c7
https://bugs.eclipse.org/bugs/show_bug.cgi?id=54900
https://bugs.eclipse.org/bugs/show_bug.cgi?id=37723
https://bugs.eclipse.org/bugs/show_bug.cgi?id=58179
https://bugs.eclipse.org/bugs/show_bug.cgi?id=29389
_______________________________________________
platform-core-dev mailing list
platform-core-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/platform-core-dev






Back to the top