snippet not expanded

Suggestions, feature requests and bug reports.
Post Reply
Archivist
Posts: 36
Joined: Sep 21st, ’17, 18:06

Post by Archivist » Feb 8th, ’18, 17:43

The following snippet
/**
*
*
* @author
*/

class %INPUT_ClassName%
method %INPUT_ClassName%();
end-class;

/*****************************************************************************
* GLOBAL/COMPONENT VARIABLES (must go here)
*****************************************************************************/

/*****************************************************************************
* FUNCTION DECLARATIONS (must go here)
*****************************************************************************/

/*****************************************************************************
* CONSTRUCTOR
*****************************************************************************/

method %INPUT_ClassName%
end-method;

/*****************************************************************************
* METHODS
*****************************************************************************/

/*****************************************************************************
* PROPERTIES
*****************************************************************************/
only prints the following (partial part of snippet

/**
*
*
* @author
*/

class test
method test();
end-class;
User avatar
Marko
Posts: 1718
Joined: Mar 2nd, ’13, 21:02

Post by Marko » Feb 11th, ’18, 21:34

"/" at the beginning of a new line is a default Separator for multiple substitutes. You can change it in Preferences/Text Expander or enclose it into braces, like this:

Code: Select all

{/}**
*
*
* @author
*/

class %INPUT_ClassName%
method %INPUT_ClassName%();
end-class;

{/}*****************************************************************************
* GLOBAL/COMPONENT VARIABLES (must go here)
*****************************************************************************/

{/}*****************************************************************************
* FUNCTION DECLARATIONS (must go here)
*****************************************************************************/

{/}*****************************************************************************
* CONSTRUCTOR
*****************************************************************************/

method %INPUT_ClassName%
end-method;

{/}*****************************************************************************
* METHODS
*****************************************************************************/

{/}*****************************************************************************
* PROPERTIES
*****************************************************************************/ 
Post Reply