| <!DOCTYPE html> |
| <head> |
| <title>RCPTT Blog</title> |
| <meta charset="UTF-8"> |
| <link rel="stylesheet" href="https://www.eclipse.org/rcptt/shared/css/bootstrap.min.css"> |
| <link rel="stylesheet" href="https://www.eclipse.org/rcptt/shared/css/main.css"> |
| <link rel="stylesheet" href="https://www.eclipse.org/rcptt/shared/css/prism.css"> |
| <link rel="icon" href="https://www.eclipse.org/rcptt/shared/img/favicon.ico"> |
| <script src="https://www.eclipse.org/rcptt/shared/js/jquery.min.js"></script> |
| <script src="https://www.eclipse.org/rcptt/shared/js/bootstrap.min.js"></script> |
| <script src="https://www.eclipse.org/rcptt/shared/js/prism.js"></script> |
| <script src="https://www.eclipse.org/rcptt/shared/js/ecl.js"></script> |
| <script> |
| (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ |
| (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), |
| m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) |
| })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); |
| |
| ga('create', 'UA-39589807-5', 'eclipse.org'); |
| ga('send', 'pageview'); |
| </script> |
| </head> |
| <body> |
| <div id="before-footer"> |
| <header> |
| <nav class="navbar navbar-default navbar-static-top" role="navigation"> |
| <div class="container"> |
| |
| <div class="navbar-header"> |
| <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1"> |
| <span class="sr-only">Toggle navigation</span> |
| <span class="icon-bar"></span> |
| <span class="icon-bar"></span> |
| <span class="icon-bar"></span> |
| </button> |
| <a href="https://www.eclipse.org/rcptt/blog"><span class="navbar-brand">RCPTT Blog</span></a> |
| </div> |
| <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1"> |
| <ul class="nav navbar-nav"> |
| <li class="active" > |
| <a href="https://www.eclipse.org/rcptt/blog/">Latest Entries</a> |
| </li> |
| <li > |
| <a href="https://www.eclipse.org/rcptt/blog/categories">Categories</a> |
| </li> |
| <li > |
| <a href="https://www.eclipse.org/rcptt/blog/tags">Tags</a> |
| </li> |
| <li> |
| <a href="http://eclipse.org/rcptt">Back to RCPTT Main Site</a> |
| </li> |
| <li> |
| <a href="http://eclipse.org">Eclipse.org</a> |
| </li> |
| </ul> |
| </div> |
| </nav> |
| </header> |
| <section class="content"> |
| <div class="container"> |
| <article> |
| <header> |
| <h2> |
| <a href="https://www.eclipse.org/rcptt/blog/2014/09/15/1_5_2-released.html"> RCPTT 1.5.2 Released</a> |
| <small>Sep, 15, 2014 by Ivan Inozemtsev</small> </h2> |
| </header> |
| <div> |
| |
| <p></p> |
| |
| <p>On September, 12, we released a new bugfix version of RCP Testing Tool. The complete list of fixed issues is savailable on <a href="https://projects.eclipse.org/projects/technology.rcptt/releases/1.5.2/bugs">1.5.2 release page</a>, and the latest version can be downloaded from <a href="https://www.eclipse.org/rcptt/download">Downloads</a> page. In this topic I would like to outline a couple of my favourite improvements.</p> |
| |
| <h3>Doc Comments for ECL procedures (<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=441757">#441757</a>)</h3> |
| |
| <p>Now, multiple adjacent single line comments or a single multiline comment exactly above a procedure is considired to be its user-defined description. This description is interpreted as raw HTML and used in autogenerated documentation. So, consider a procedure definition like this:</p> |
| |
| <p></p> |
| <pre ><code class="language-ecl">​// <p>Convenience method to set given <b>text</b> |
| // into a text field, located after a <b>label</b> |
| // in given <b>parent</b></p> |
| // <p>Example:</p> |
| // <pre> |
| // get-window "New Class | set-text-after-label "Name:" "Foo" |
| // </pre> |
| proc "set-text-after-label" [val parent -input] [val label] |
| [val text "text"] { |
| $parent | get-editbox -after [get-label $label] | set-text $text |
| } |
| </code></pre> |
| |
| <p>the resulting doc, which is displayed in documentation hover and completion proposals, would look like this:</p> |
| |
| <p><img src="https://www.eclipse.org/rcptt/shared/img/blog/1.5.2/hover.png" /></p> |
| |
| |
| |
| <p><a href="https://www.eclipse.org/rcptt/blog/2014/09/15/1_5_2-released.html"> |
| Read more of this post » |
| </a></p> |
| </div> |
| </article> |
| |
| <nav> |
| <a href="https://www.eclipse.org/rcptt/blog">Newer Posts</a><br /> |
| <br /> |
| </nav> |
| </div> |
| |
| </section> |
| <script src="https://www.eclipse.org/rcptt/shared/js/main.js"></script> |
| </body> |