{"id":10521,"date":"2018-07-22T12:58:10","date_gmt":"2018-07-22T10:58:10","guid":{"rendered":"http:\/\/blog.wenzlaff.de\/?p=10521"},"modified":"2018-08-17T17:25:40","modified_gmt":"2018-08-17T15:25:40","slug":"usability-verbesserunge-code-mining-code-codelens-mit-eclipse-photon","status":"publish","type":"post","link":"http:\/\/blog.wenzlaff.de\/?p=10521","title":{"rendered":"Usability-Verbesserunge: Code Mining (Code CodeLens) mit Eclipse Photon"},"content":{"rendered":"<p>Wer Zusatzinformationen im Quelltext sehen will, kann das mit dem Code Minig (CodeLens) machen. Folgende Infos werden geboten:<\/p>\n<p><strong>Allgemein<\/strong><br \/>\nZeige references<br \/>\nZeige implementations<br \/>\nZeige method parameter Namen<br \/>\nZeige method parameter types<br \/>\nZeige end statement<br \/>\n<strong>JUnit<\/strong><br \/>\nZeige JUnit status<br \/>\nZeige JUnit run<br \/>\nZeige JUnit debug<br \/>\n<strong>Debugging<\/strong><br \/>\nZeige variable values inline im debugging<br \/>\n<strong>EGit<\/strong><br \/>\nZeige revision recent change<br \/>\nZeige avatar<br \/>\nZeige date ago<br \/>\nZeige authors<\/p>\n<p>Man kann sich also z.B. die Git-Information anzeigen lassen, wer wann eine Methode editiert hat. F\u00fcr JUnit-Tests wird angezeigt, ob sie erfolgreich ausgef\u00fchrt wurden. Zus\u00e4tzlich lassen die JUnit-Methoden sich direkt starten bzw. debuggen<\/p>\n<p>Das Code Mining mit Eclipse Photon muss noch \u00fcber die Update-Site (Update Site <a href=\"http:\/\/oss.opensagres.fr\/jdt-codemining\/snapshot\/\" target=\"_blank\" rel=\"noopener\">http:\/\/oss.opensagres.fr\/jdt-codemining\/snapshot\/<\/a>) installiert werden:<\/p>\n<p><a href=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/07\/Bildschirmfoto-2018-07-22-um-12.44.34.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-10522\" src=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/07\/Bildschirmfoto-2018-07-22-um-12.44.34.png\" alt=\"\" width=\"962\" height=\"253\" srcset=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/07\/Bildschirmfoto-2018-07-22-um-12.44.34.png 962w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/07\/Bildschirmfoto-2018-07-22-um-12.44.34-300x79.png 300w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/07\/Bildschirmfoto-2018-07-22-um-12.44.34-768x202.png 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/a><\/p>\n<p>Dann noch in den Einstellungen aktivieren:<\/p>\n<p><a href=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/07\/Bildschirmfoto-2018-07-22-um-12.47.06.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-10523\" src=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/07\/Bildschirmfoto-2018-07-22-um-12.47.06.png\" alt=\"\" width=\"849\" height=\"845\" srcset=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/07\/Bildschirmfoto-2018-07-22-um-12.47.06.png 849w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/07\/Bildschirmfoto-2018-07-22-um-12.47.06-150x150.png 150w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/07\/Bildschirmfoto-2018-07-22-um-12.47.06-300x300.png 300w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/07\/Bildschirmfoto-2018-07-22-um-12.47.06-768x764.png 768w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/07\/Bildschirmfoto-2018-07-22-um-12.47.06-100x100.png 100w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/a> Das sieht dann<br \/>\n<!--more--> z.B. so aus:<\/p>\n<p><a href=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/07\/Bildschirmfoto-2018-07-22-um-12.55.14.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/07\/Bildschirmfoto-2018-07-22-um-12.55.14.png\" alt=\"\" width=\"682\" height=\"339\" class=\"aligncenter size-full wp-image-10525\" srcset=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/07\/Bildschirmfoto-2018-07-22-um-12.55.14.png 682w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/07\/Bildschirmfoto-2018-07-22-um-12.55.14-300x149.png 300w\" sizes=\"auto, (max-width: 682px) 100vw, 682px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Wer Zusatzinformationen im Quelltext sehen will, kann das mit dem Code Minig (CodeLens) machen. Folgende Infos werden geboten: Allgemein Zeige references Zeige implementations Zeige method parameter Namen Zeige method parameter types Zeige end statement JUnit Zeige JUnit status Zeige JUnit run Zeige JUnit debug Debugging Zeige variable values inline im debugging EGit Zeige revision recent &hellip; <\/p>\n<p class=\"link-more\"><a href=\"http:\/\/blog.wenzlaff.de\/?p=10521\" class=\"more-link\"><span class=\"screen-reader-text\">\u201eUsability-Verbesserunge: Code Mining (Code CodeLens) mit Eclipse Photon\u201c <\/span>weiterlesen<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[220,4,2953,3324,79,2658,7],"tags":[3344,2177,2178,3325],"class_list":["post-10521","post","type-post","status-publish","format-standard","hentry","category-anleitung","category-eclipse","category-junit-5","category-photon","category-programmierung","category-test-thema","category-tools","tag-code-mining","tag-eclipse","tag-java","tag-photon"],"_links":{"self":[{"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=\/wp\/v2\/posts\/10521","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=10521"}],"version-history":[{"count":0,"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=\/wp\/v2\/posts\/10521\/revisions"}],"wp:attachment":[{"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=10521"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=10521"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=10521"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}