Friday, November 8, 2019

Getting to the Source

As a Java developer using JDT, no doubt you are intimately familiar with Ctrl-Shift-T to launch the Open Type dialog.  You might not even realize this is a shortcut accessible via the Navigate menu.  So you probably will not have noticed that this menu also contains Open Discovered Type:


Eclipse has a huge variety of open source projects maintained in a bewildering collection of Git repositories.  Many are hosted at Eclipse:
https://git.eclipse.org/c/
Others are hosted at Github:
https://github.com/eclipse/

Finding the Git repository that contains a particular Java class is like finding a needle in a haystack.  This is where Open Discovered Type comes to the rescue.  Once a week, Oomph indexes every *.java file in every Git repository hosted by git.eclipse.org and github.com/eclipse.  The Open Discovered Type dialog loads this information to populate a tree view of all these packages and classes.


Please read the help information the first time you use it.  It was written to help you get the most out of this dialog.  Also be patient the first time you launch the dialog; there's a lot of information to download.

Suffice to say, you can use the dialog much like you do Open Type.  So here we search for JavaCore and discover all the classes with that name:


We can select any one of them and discover all the Git repositories containing that class and we can use the context menu for each link for each repository or for the specific file in that repository to open the link where we want it opened.  From that link, you can of course see the full history of the repository or specific file.

As a bonus, if this repository provides an Oomph setup, you can easily use that Oomph setup to import the sources for this project into your workspace. If there is no Oomph setup, you'll have to do that manually.

In any case, contributing to Eclipse open source projects has never been easier.

3 comments:

Caillo Lisa said...

This is another testimony on how Chief Dr Lucky cured my HIV disease. Do you need a cure for your HIV disease? Do you want to be cured from your cancer disease? Or you want to be free from any type of disease. Kindly visit his website https://chiefdrluckyherbaltherapy.wordpress.com/ . He just cured my HIV disease and I’m very grateful to him, he is the only herbalist that can cure you.  
WhatsApp number : +2348132777335 
Via Email : chiefdrlucky@gmail.com
Thank you all for reading,
God bless"

梁爵 said...

台北市中山區林森北路一棟大樓,昨天(24日)晚間9時許發生砍人事件。兩派酒店經紀公司因搶酒店小姐問題相約談判,過程中一言不和爆發衝突,混亂中,一名34歲的酒店工作廖姓男子遭砍,當場血流如注,警消獲報趕抵,趕緊將其送醫,所幸沒有生命危險,警方循監視器通知涉案的7人到案,依妨害秩序、傷害罪嫌偵辦。據了解,周姓主嫌和陳姓酒店經紀負責人,先前也曾因為協調酒店公關間的跳槽合約問題,鬧的不太開心,昨(24)日是二度因為這事,相約見面。周姓主嫌帶著6名同黨到林森北路的經紀公司,雙方才講沒幾句、就爆發衝突,一群人拿出棍棒狂毆,還亮出刀子朝陳姓酒店經紀負責人朋友身上揮砍,導致他手臂遭劃傷。,因酒店小姐合約問題相約談判,雙方人馬共9人一碰面,才談沒幾句就爆發口角,進而演變衝突,混亂中,廖男遭人持西瓜刀砍傷左手臂濺血,傷人一方見狀隨即一哄而散。警消獲報趕抵,發現酒店工作廖男左手臂受有刀傷,立即將其包紮後,送往醫院救治,所幸沒有生命危險。警方調查,廖男旗下的1名酒店小姐,與另家經紀公司的周姓男子(27歲)為好友,女方私下抱怨在廖男旗下待遇不好,酒店環境又差,希望轉換經紀公司,周男則在前陣子就找廖男等人談過此事,但沒有共識。昨天周男又率領其他酒店兼職黑道幫派6人前往廖男的公司,雙方沒談幾句就發生衝突,周男一派共有7人,還拿西瓜刀將廖男砍傷,隨即逃離現場,警方調閱監視器,鎖定周等7人,陸續在今天凌晨通知到案,並依法移送。
有關於【酒店合約/簽約】的問題!知名律師兼北市檢察官做一次總解答讓妳們解決心中的困惑。
1:已現在酒店上班酒店打工沒有所謂的簽合約/切結書,因為這樣是綁小姐的做法,很不道德…【酒店上班小姐總有一天會離開,強求她留在八大這是不人道的行為】
2:在職人員想更換經紀人或酒店不想做了…卻有合約在身怎麼辦~…!?律師事務所表示直接跟你說可以馬上離開了
a : 酒店應徵合約內容本身要件要有【商營利事業登記編號/還有政府認證核發蓋章】因為這些文件都是要繳稅的….一但登報稅了,您自己想想 妳在酒店兼差職期間這幾年{妳}家人~早就會知道你在八大行業了…..反而家人卻沒發現,每年也都沒有繳稅單更沒有勞健保,因為這份是假合約【法律用語:偽造文書】
b :合約內容常有一段話:幾年以內不能離職/幾年內不能更換經紀人。這番話已經觸犯【法律用語:強制罪】
c :從一開始的違法合約到內容的不人道,甚至離職還又要賠償..。知名檢察官跟妳說【妳被唬了】
d :重頭到尾觸法的假合約,真的到警察局/法院 {妳}是贏家。
e :檢察事務所表示快十五年了…我還沒見過有經紀公司拿著合約去警局敢賭這件事。

梁爵 said...

台北市大安區,今天(3日)清晨發生一起砍人命案!一名酒店經紀男子到東區酒店消費,疑似到隔壁包廂敬酒發生衝突,酒店經紀左肩遭人砍傷,酒店經紀被攙扶走出酒店後就倒地不起,最後送醫不治。警方擴大調閱監視器在案發4小時後,逮捕動手的黃姓嫌犯。人行道上衛生紙,衣服鞋子,全部散落在地上,上面還殘留血跡,清晨五點多,台北市東區街上空蕩蕩,卻有一名男子倒在地上身上有刀傷,嚇得附近民眾急忙報警。目擊民眾:「先做CPR,總共搶救了三次,都沒救起來,救護人員完全救不起來了,全部酒店經紀的人開始緊張了,10樓好像有發生事情,我不太清楚。」一旁的大樓內有好幾間酒店,一大早好幾輛警車守在門口,鑑識人員和員警進進出出,仔細清查酒店經紀可疑人物,最後帶走一名酒店經紀,要釐清事情發生經過,而倒在地上的男子,疑似就是在其中一間酒店消費。酒店酒店小姐人員忙進忙出,還在店內打掃,對於命案發生經過,不願多談,案發在台北市忠孝東路四段大樓內,警方調查,受傷的羅姓男子當時在酒店內,和朋友聚會,發現隔壁包廂似乎有熟人,想過去敬酒,沒想到因為雙方喝得太醉,和一名25歲的黃姓男子,發生衝突,左邊肩膀遭砍傷送醫不治。大安分局偵查隊長謝志鑫:「酒後細故與人在包廂內發生衝突,左肩遭刺傷,步行離去時身體不適,倒臥大樓門口,羅民經119送往國泰醫院救治,因傷重於早上7時4分,急救無效宣告死亡。」避免衝突擴大,酒店公關第一時間,拉開雙方把死者帶到一樓就離開,沒想到疑似錯過黃金救援時間,導致死者失血過多身亡,黃姓嫌犯有多項毒品前科,案發後四小時被逮,但殺人動機為何,警方懷疑恐怕不只是敬酒這麼簡單。