Skip to content

Releases: midnightsyntax/vscode-wrap-console-log

v1.7.2: fix config 'emptyLineAction' default value

12 Sep 21:06
Compare
Choose a tag to compare

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 .emptyLineAction using wrong default value

v1.7.1

15 Jan 04:45
Compare
Choose a tag to compare

Fixed

  • Issue #12

    Setting .logFunctionName and .prefixFunctionName using console.text instead of console.log

  • Command wrap.string not logging as string

v1.7.0

13 Jan 02:48
Compare
Choose a tag to compare

Added

  • Setting logFunctionName has been added
  • Setting logString has been added
  • Setting prefixFunctionName has been added
  • Setting prefixString has been added

Changed

  • Setting setCursorOnNewLine renamed to configuration.moveToLine
  • Setting cursorPositionNewLine renamed to configuration.moveToPosition
  • Setting onEmptyLineAction renamed to configuration.emptyLineAction
  • Various settings descriptions

Removed

  • Setting wrapText has 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)

22 May 00:51
Compare
Choose a tag to compare

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

13 Feb 17:58
Compare
Choose a tag to compare
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

15 Jan 19:42
Compare
Choose a tag to compare

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

13 Jan 03:49
Compare
Choose a tag to compare
remove screenshot_inline.gif

v1.5.2

12 Jan 19:02
Compare
Choose a tag to compare
fix package version and readme typo

v1.5.0: fix 'onEmptyLineAction' Replace break indent

12 Jan 18:41
Compare
Choose a tag to compare

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

07 Nov 18:01
Compare
Choose a tag to compare
add setting setCursorOnNewLine
git enabled in workspace settings
smartstep enabled in launch.json
update CHANGELOG