Why was the "NavigatableWidget" type created?

Like what problem did that solve? The PreviewContribution uses this type

[original thread by shortwavedave]

Navigatable menas that a widget is backed up by some URI which can be mapped to a file.

So when a file is renamed we know that such widget should be properly renamed as well for a new file.

you select such widget we know taht a corresponding file shuold be revealed in the navigator or other active view

When someone deletes a file then a widget should be marked as deleted.

And so on.

[shortwavedave]

Oh I see, that’s very helpful. Thanks