Page 1 of 1

snippet not expanded

Posted: Feb 8th, ’18, 17:43
by Archivist
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;

Re: snippet not expanded

Posted: Feb 11th, ’18, 21:34
by Marko
"/" 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
*****************************************************************************/