Source
User manual for Servoy Developer Source Menu item
Last updated
User manual for Servoy Developer Source Menu item
Last updated
This menu item is available only when a script editor is active. It provides various options related to code commenting, formatting, and navigation within the source code. It includes functions to toggle, add, and remove line and block comments, generate element comments, and correct indentation. Additionally, it offers options for formatting code and shifting lines left or right.
A summary of commands available via clicking on this menu item:
Command | Summary |
---|---|
The details for each command available via clicking on this menu item:
keybinding: Ctrl+Shift+C
Comments / uncommnets the selected line.
keybinding: Ctrl+Shift+/
Adds a block comment /**/
.
keybinding: Ctrl+Shift+\
Removes a block comment /**/
.
keybinding: Alt+Shift+J
When working with existing variables and functions, the SCript Editor has a function to automatically generate the JSDoc comments for the selected variable or function.
keybinding: Ctrl+7
Comments / uncommnets the selected line / block.
Comments the selected line(s).
Uncomments the selected line(s).
keybinding: Ctrl+I
Corrects indentation for the selected lines, for example the content of a method.
keybinding: Ctrl+Shift+F
Formats the entire script content (line breaks, indentations, etc.).
Formats the element (line breaks, indentations, etc.).
Shifts the selected line(s) to the right.
Shifts the selected line(s) to the left.