- Setting
.emptyLineAction
using wrong default value
-
Setting
.logFunctionName
and.prefixFunctionName
usingconsole.text
instead ofconsole.log
-
Command
wrap.string
not logging as string
- Setting
.logFunctionName
has been added - Setting
.logString
has been added - Setting
.prefixFunctionName
has been added - Setting
.prefixString
has been added
- Setting
.setCursorOnNewLine
renamed toconfiguration.moveToLine
- Setting
.cursorPositionNewLine
renamed toconfiguration.moveToPosition
- Setting
.onEmptyLineAction
renamed toconfiguration.emptyLineAction
- Various settings descriptions
- Setting
.wrapText
has been removed in favor of the new custom log settings
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)
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.
-
Commands
wrap.prefix
,wrap.up.prefix
,wrap.down.prefix
not using prefix
- Prefix value from inbox box not being used
- Input box command not activating the extension
- 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.
- New command
wrap.string
- New command
wrap.string.up
- New command
wrap.string.down
- 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!
- [Down] and [Up] will now create a new line by default. If the target line is empty you can now decide if you rather have 'console.log' replace the empty line. Set this behaviour with the new
.onEmptyLineAction
setting.
- New config setting
.onEmptyLineAction
- New config setting
.setCursorOnNewLine
By setting .setCursorOnNewLine
to true
the cursor will move to the new line when one is created by wrapping 'console.log' [Down] or [Up].
Wrap down
will now, if next line exists:- Keep same indent as current line if next line indent is shorter.
- Use the same indent as next line if next line indent is longer.
Wrap down
will now, if next line exists but is empty, insert without creating a new line
- Indent break on wrap down
Wrap down
fail to execute if no line exist below- Unhandled promise rejections
- Description for config setting
.alwaysInputBoxOnPrefix
- CHANGELOG file
- New command
:InlinePrefixInput
- New command
:UpPrefixInput
- New command
:DownPrefixInput
- New config setting
.alwaysUsePrefix
- New config setting
.alwaysInputBoxOnPrefix
- New keybinding
ctrl+shift+alt+w ctrl+shift+alt+w
- New keybinding
ctrl+shift+alt+up ctrl+shift+alt+up
- New keybinding
ctrl+shift+alt+down ctrl+shift+alt+down
- Keybindings now have 'when' statements
- Renamed command
:UpArg
to:UpPrefix
- Renamed command
:DownArg
to:DownPrefix
- Renamed command
:InlineArg
to:InlinePrefix
- Some config settings titles/descriptions now make more sense
- Test files
- New config setting for "Prefix from input box"
- New feature "Prefix from input box"
- Extension icon image
- New GIF screenshot
- Package now specify extension keywords for the marketplace
- README to make more sense
- Initial release