View Single Post
Old 04-03-2016, 10:10 AM   #384
cfillion
Human being with feelings
 
cfillion's Avatar
 
Join Date: May 2015
Location: Québec, Canada
Posts: 2,684
Default

@X-Raym

Both syntaxes are supported for all package types. (As a matter of fact "@tag value" and "Tag: value" could even be mixed in the same header, though that would be ugly.)

The "desc:" thing is part of REAPER's JS syntax, ReaPack doesn't use that, nor "JSFX Name". Just to be clear, these are all equivalent headers no matter whether the package is a script, an effect or an extension (and the parser doesn't care about eel/lua/whatever specific comment syntax, only the data and indentation matters):

Code:
/*
 * @version 1.0
 * @author John Doe
 * @changelog
 *   - Added super cool feature XYZ
 *   - Removed unused triggers
 */
Code:
/*
 * Version: 1.0
 * Author: John Doe
 * Changelog:
 *   - Added super cool feature XYZ
 *   - Removed unused triggers
 */
Code:
/*
 * Version: 1.0
 * Author: John Doe
 */

/*
 * Changelog:
 * v1.0 (2016-04-03)
	- Added super cool feature XYZ
	- Removed unused triggers
 */

Last edited by cfillion; 04-03-2016 at 11:29 AM.
cfillion is offline   Reply With Quote