Bug 547547 - Use default workspace for new Eclipse instances instead of prompting the user for the WS
Summary: Use default workspace for new Eclipse instances instead of prompting the user...
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.12   Edit
Hardware: PC All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-22 05:20 EDT by Lars Vogel CLA
Modified: 2019-05-24 09:44 EDT (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Vogel CLA 2019-05-22 05:20:07 EDT
Tools like Visual Studio code simply start without prompting the user to select a workspace. I personally like that and use code for simply editor functions due to that reason.

I suggest that we also change our WS selection logic to the following:

1.) If no WS have been selected in the past, use a default one and start Eclipse
2.) If only one WS have been selected in the past, use this one and start Eclipse directly
3.) If several have been used in the past, present the user the option to select them
4.) If the preference "Always use this WS" is set, use this WS.

WDYT?
Comment 1 Alexander Fedorov CLA 2019-05-22 05:37:53 EDT
It will improve user experiance a lot. "Why do I need to go through workspace selection and project creation to just open a file?" - is the very commmon concern regarding Eclipse.
Comment 2 Mickael Istria CLA 2019-05-22 06:10:07 EDT
+1 for that.
However, I'm wondering whether this wouldn't make more sense in EPP. Is a change required in Platform to enable through a .product?
Comment 3 Lars Vogel CLA 2019-05-22 06:18:12 EDT
(In reply to Mickael Istria from comment #2)
> +1 for that.
> However, I'm wondering whether this wouldn't make more sense in EPP. Is a
> change required in Platform to enable through a .product?

Yes, the above logic is AFAIK not yet implemented.
Comment 4 Mickael Istria CLA 2019-05-22 06:56:00 EDT
I think just adding `-data @user.home/eclipse-workspace` to the program args in .product file would do the work.
Comment 5 Lars Vogel CLA 2019-05-22 08:23:51 EDT
(In reply to Mickael Istria from comment #4)
> I think just adding `-data @user.home/eclipse-workspace` to the program args
> in .product file would do the work.

No, this will never show the ws dialog.
Comment 6 Andrey Loskutov CLA 2019-05-23 03:53:30 EDT
In theory should be OK, but if I remember right, we had this request/discussion already in bugzilla. 

Whoever will implement this: make sure this feature is configurable and can be disabled.
Comment 7 Dani Megert CLA 2019-05-24 09:44:52 EDT
(In reply to Lars Vogel from comment #0)
> Tools like Visual Studio code simply start without prompting the user to
> select a workspace. I personally like that and use code for simply editor
> functions due to that reason.
> 
> I suggest that we also change our WS selection logic to the following:
> 
0.) use the one specified by -data

> 1.) If no WS have been selected in the past, use a default one and start
> Eclipse
The problem will be to define what "default" means. Ask 3 Windows users and you get 3 different answers where they would expect the (default) workspace to be put.