Releases: midnightsyntax/vscode-wrap-console-log
v1.7.2: fix config 'emptyLineAction' default value
1.7.2
This updated got uploaded to Visual Studio marketplace 3 years ago 😶 I just noticed it so I thought I put it here too 😂
Fixed
- Setting
.emptyLineActionusing wrong default value
v1.7.1
v1.7.0
Added
- Setting
logFunctionNamehas been added - Setting
logStringhas been added - Setting
prefixFunctionNamehas been added - Setting
prefixStringhas been added
Changed
- Setting
setCursorOnNewLinerenamed toconfiguration.moveToLine - Setting
cursorPositionNewLinerenamed toconfiguration.moveToPosition - Setting
onEmptyLineActionrenamed toconfiguration.emptyLineAction - Various settings descriptions
Removed
- Setting
wrapTexthas been removed in favor of the new custom log settings
More custom log support
Get finer control over the inserted log string. It is now possible to set a custom function name for the default log command as well as the prefix command.
Log and Prefix correspond to two different keybindings, the default wrap with no prefix and wrap.prefix.
Use Log Function Name and Log String to specify the log function for the default logging command with no prefix.
Use Prefix Function Name and Prefix String to specify a different function when logging with prefixes.
Default configuration values are:
- Default Log Function Name:
console.log - Default Log String:
$func($var) - Default Prefix Function Name:
console.log - Default Prefix String:
$func('$var:', $var)
Configuration settings reworked
With the new Settings UI in Visual Studio Code all configuration setting names and descriptions have been reworked!
The configuration settings are now much easier to understand and edited in the Settings window.
v1.6.2: fix wrapData.txt concat prefix (Fixes #5)
Fixed
- (Issue #5) Prefix not being used when using any of the following commands:
- Wrap prefix
- Wrap down prefix
- Wrap up prefix
v1.6.1: refactor remove command vars, comments
2018-02-13
Fixed
- Prefix value from inbox box not being used
- Input box command not activating the extension
v1.6.0: add custom wrap text
Added
- Custom wrap text!
- New config settings
.wrapText
Specify the text to wrap with with the new setting .wrapText.
The default value of this setting is console.log($txt); where $txt specifies where the variable/text should be inserted. If the value of .wrapText does not include $txt vscode will warn you. Make sure you specify $txt ONE time if you change this setting.
v1.5.3: fix readme shortcut typo
remove screenshot_inline.gif
v1.5.2
fix package version and readme typo
v1.5.0: fix 'onEmptyLineAction' Replace break indent
Added
- New command
wrap.string - New command
wrap.string.up - New command
wrap.string.down
Fixed
- Fail to log down bugs
It is now possible to log what you type as text. Check out the new feature in the updated README.md.
If you like this extensioin or have any suggestion or bug you found please hit me up on github and/or drop a rating/review on the marketplace. :)
Happy coding!
v1.4.0: add setting onEmptyLineAction
add setting setCursorOnNewLine git enabled in workspace settings smartstep enabled in launch.json update CHANGELOG