1

Is there any method to check if the currently used workspace is opened for the first time?

I made a startup plugin (IStartup) that opens the internal browser as an editor when my application starts but I only want to do this if the current workspace is used for the very first time.

I went through the methods of IResource, IWorkspace, etc.. but couldn't find anything.

1 Answer 1

0

Store a preference in the workspace, or a hidden file under the workspace's on-disk location. Then check for it.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.