{"id":991,"date":"2014-04-10T12:29:41","date_gmt":"2014-04-10T19:29:41","guid":{"rendered":"http:\/\/10kdev.net\/?p=991"},"modified":"2014-04-10T12:31:19","modified_gmt":"2014-04-10T19:31:19","slug":"cancel-formatting-in-eclipse-java-comment","status":"publish","type":"post","link":"http:\/\/10kdev.net\/?p=991","title":{"rendered":"Cancel Formatting in Eclipse Java Comment"},"content":{"rendered":"<p>If you shift-ctrl-f or have a save function set to reformat your code in Eclipse, you stop it from formatting a java comment by using a &#8220;-&#8221; at the top:<\/p>\n<pre>\r\n\/*-\r\n * Ignore Formatted Code Block \r\n *\r\n *    myMethod()\r\n *\r\n *    Main Point\r\n *        sub point\r\n *\r\n *    @method\r\n *    @paramater\r\n *    @exception\r\n *\/\r\n<\/pre>\n<p>If you don&#8217;t do this you may end up with something undesirable like:<\/p>\n<pre>\r\n\/**\r\n * Ignore Formatted Code Block \r\n *\r\n *    myMethod()\r\n *\r\n *    Main Pointsub point\r\n *\r\n *    @method@paramater@exception\r\n *\/\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>If you shift-ctrl-f or have a save function set to reformat your code in Eclipse, you stop it from formatting a java comment by using a &#8220;-&#8221; at the top: \/*- * Ignore Formatted Code Block * * myMethod() * * Main Point * sub point * * @method * @paramater * @exception *\/ If [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"http:\/\/10kdev.net\/index.php?rest_route=\/wp\/v2\/posts\/991"}],"collection":[{"href":"http:\/\/10kdev.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/10kdev.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/10kdev.net\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/10kdev.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=991"}],"version-history":[{"count":5,"href":"http:\/\/10kdev.net\/index.php?rest_route=\/wp\/v2\/posts\/991\/revisions"}],"predecessor-version":[{"id":996,"href":"http:\/\/10kdev.net\/index.php?rest_route=\/wp\/v2\/posts\/991\/revisions\/996"}],"wp:attachment":[{"href":"http:\/\/10kdev.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=991"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/10kdev.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=991"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/10kdev.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=991"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}