Server Actions - adding comments more easily (with less clicking)

In the early days of Wappler, there was no facility to add comments within server actions; now it’s hard to imagine creating server actions without them. However, it’s not easy to add comments. With the forthcoming major improvements in the way of working with server connect files, it would be great if there were a better way to add comments - and ideally, to add space between blocks of steps. I have no idea how difficult or feasible this would be.

At a glance, the image below could be taken from a typical text editor, but of course it’s a Wappler server action file. Most of the ‘code’ is made up of comments. In a text editor, it is easy to add comments; in Wappler it’s pretty awkward. There is no facility to add multi-line comments, so it’s a matter of adding multiple single lines - which makes the feature difficult to use and maintain (editing a comment made of several single lines is difficult). Also, there are no shortcut keys available, so lots of clicking is required. I use the duplicate option once I’ve create the first comment, but even then, about 4 clicks are needed before you start typing the comment, for each line.

So… the request: ideally an option to add multi-line comments (including blank lines). If this is not possible, a shortcut key to duplicate the current step or a shortcut key specifically to add a comment line.

Community Page
Last updated: