[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [m2e-dev] Fetching source and/or javadoc by default
|
The obvious downside of eager sources/javadoc download is extra and often unnecessary download time and bandwidth usage. We had it on by default originally, iirc, but implemented download-on-demand and turned it off based on user feedback.
I may be ineterested to contribute advanced sourcelookup to Eclipse, but this needs to to integrated in jdt.debug and I do not know if jdt.debug committers are interested. I am also not certain if Eclipse Foundation can promise not to block my commit "privileges" to the code... so I don't really know if it's worth it to me.
On Tue, Aug 30, 2016, at 10:58 AM, Mickael Istria wrote:
On 08/30/2016 02:42 PM, Anton Tanasenko
wrote:
Hi Mickael,
AFAIK, the option only switches source/javadoc download to
eager mode (download during resolution).
If disables, source download still happens lazily when you
go into the class.
So user doesn't have a rich completion/hover until they opened the
.class file in an editor? I don't think most user know that, and I
have the impression that all users would like to have good
completion immediately rather than having to open some classes to
trigger good completion.
Downloading source/javadoc more eagerly and offering good code
assistance ASAP is what user expect. It doesn't have to be
immediate, but we could imagine a background job in charge of
getting source/javadoc running just after project configuration.
Also, that doesn't answer my initial question: is there some
noticeable extra-cost having those preferences turned on?
IMO, completion is something user expect an IDE to do right,
immediately, without additional concerns of which file was open. Not
showing good completion can be considered as a bug, and is probably
worth spending a couple additional minutes on project import.
There are cases though when m2e doesn't know where to take
sources from, say when you debug a web application which
contains jars under WEB-INF/lib.
Ok. Any chance this could be part of m2e so users could take
advantage of it without additional knowledge/effort?
Cheers,
_______________________________________________
m2e-dev mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit