It is obvious that people like their tools, in this case comments, to be highly customized to their liking. Over time, I see that the issues have been littered with requests for Emoji, custom delimiter, line numbers split from filenames. I really appreciate this extension, but believe the settings have gotten a little out of control in pursuit of this customization and still haven't gotten all the way there.
I would respectfully request a new feature that should eliminate many of the settings and at the same time provide full user customization.
In settings, add a combobox input representing a template for the console log. Users could enter or choose something like:
It would best that this input be a dropdown with a few different nice prefab options.
Provide a legend showing the options and include support for [icon] = 🚀 and [lf] representing a linefeed, [typeof] - representing variable typeof Issue #116
It would be nice to get a little creative to allow for some conditional text within the []. An example would be [class] in above example. If the log isn't within a class you want nothing, but if so you may want the end result to be some thing like CLASS: myCoolClass (note space) using [CLASS: {class} ].
if class then replace it with actual classname, strip the []'s and {}'s and return pre + class + post, else return ""
The would support the simple case of [class] or more complex conditional text like [CLASS: {class} ].
This gives the full custom result everybody wants, and this simple formatting customizations are left the the users. This change could remove ALL of the current settings options with the exception of Wrapped Comments, Log Type, and Semicolon.
Similarly a settings combobox input for Wrapped Comments like:
It is obvious that people like their tools, in this case comments, to be highly customized to their liking. Over time, I see that the issues have been littered with requests for Emoji, custom delimiter, line numbers split from filenames. I really appreciate this extension, but believe the settings have gotten a little out of control in pursuit of this customization and still haven't gotten all the way there.
I would respectfully request a new feature that should eliminate many of the settings and at the same time provide full user customization.
In settings, add a combobox input representing a template for the console log. Users could enter or choose something like:
console.log(
🚀 [file] - [class]:[function] - [line]: "[vartext]", [var])
)It would best that this input be a dropdown with a few different nice prefab options. Provide a legend showing the options and include support for [icon] = 🚀 and [lf] representing a linefeed, [typeof] - representing variable typeof Issue #116
It would be nice to get a little creative to allow for some conditional text within the []. An example would be [class] in above example. If the log isn't within a class you want nothing, but if so you may want the end result to be some thing like
CLASS: myCoolClass
(note space) using [CLASS: {class} ].for each [???] like class regex:
/\[class\]|\[(?<class>(?<pre>.*?)?{class}(?<post>.*?)?)\]/
if class then replace it with actual classname, strip the []'s and {}'s and return pre + class + post, else return ""
The would support the simple case of [class] or more complex conditional text like [CLASS: {class} ].
This gives the full custom result everybody wants, and this simple formatting customizations are left the the users. This change could remove ALL of the current settings options with the exception of Wrapped Comments, Log Type, and Semicolon.
Similarly a settings combobox input for Wrapped Comments like:
console.log(
🚀 : --------------------
)Thank you for consideration