How to insert a block comment for a new function lazarus / 9-Editor ---------------------------------------------------------------------- vfclists · 2010-03-15 00:28 I want to create block comments to describe functions. Is there a CodeTools macro for that? The kind of information blocks source code documentation tools require ---------------------------------------------------------------------- guest62577 · 2018-06-02 17:04 creating comment for functions is simple, place a comment right before it's header under TYPE; Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i UNIT1 INTERFACEUSES TYPE {...}//this comment are displayed when hovering cursor at the function name;function examplefunction:boolean; [^] however Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i UNIT2 INTERFACEUSES {...no type}//this comment are displayed when hovering cursor at the function name from UNIT1 but not on UNIT2;function examplefunction_commentissue:boolean; IMPLEMENTATION//comment from UNIT2 must be placed under implementation - thus an issue around this comment method;function examplefunction_commentissue:boolean; ---------------------------------------------------------------------- Martin_fr · 2018-06-02 19:39 Not sure what there is (nor what exactly you need), but you can also look at "Code Templates", which include some macros. Alternatively you can use pascal-script macros.