Twitter github

Opening editors on files outside your workspace

The PDE team (as in mostly Brian Bauman) was recently messing around with our precious log viewer. Part of this quest involved dealing with opening files outside your workspace (within Eclipse). If one remembers, there’s an excellent FAQ entry (a bit of a hack) on this topic, however, it is a bit dated. Things have improved with the advent of EFS. To do something similar now, simply do this…

// super cool way to open files outside your workspace
IDE.openEditorOnFileStore(page, fileStore);