Skip to content

Commit

Permalink
feat: change debug configurations to loggingLevelForConsole,
Browse files Browse the repository at this point in the history
loggingLevelForAlert
  • Loading branch information
jpoon committed Jan 5, 2019
1 parent 78d5f06 commit 432d49a
Show file tree
Hide file tree
Showing 20 changed files with 144 additions and 134 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,8 @@ These settings are specific to VSCodeVim.
| -------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------- | ------------------------ |
| vim.changeWordIncludesWhitespace | Include trailing whitespace when changing word. This configures the <kbd>cw</kbd> action to act consistently as its siblings (<kbd>yw</kbd> and <kbd>dw</kbd>) instead of acting as <kbd>ce</kbd>. | Boolean | false |
| vim.cursorStylePerMode._{Mode}_ | Configure a specific cursor style for _{Mode}_. Omitted modes will use [default cursor type](https://github.com/VSCodeVim/Vim/blob/4a6fde6dbd4d1fac1f204c0dc27c32883651ef1a/src/mode/mode.ts#L34) Supported cursors: line, block, underline, line-thin, block-outline, and underline-thin. | String | None |
| vim.debug.showErrorMessages | Boolean indicating whether VSCodeVim extension errors will be displayed as VS Code information windows. | Boolean | true |
| vim.debug.loggingLevel | Maximum level of messages to log to console. Logs are visible in the [developer tools](https://code.visualstudio.com/docs/extensions/developing-extensions#_developer-tools-console). Supported values: 'error', 'warn', 'info', 'verbose', 'debug'). | String | error |
| vim.debug.loggingLevelForConsole | Maximum level of messages to log to console. Logs are visible in the [developer tools](https://code.visualstudio.com/docs/extensions/developing-extensions#_developer-tools-console). Supported values: 'error', 'warn', 'info', 'verbose', 'debug'). | Boolean | true |
| vim.debug.loggingLevelForAlert | Maximum level of messages to present as VS Code information window. Supported values: 'error', 'warn', 'info', 'verbose', 'debug'). | String | error |
| vim.disableExtension | Disable VSCodeVim extension. This setting can also be toggled using `toggleVim` command in the Command Palette | Boolean | false |
| vim.handleKeys | Delegate configured keys to be handled by VSCode instead of by the VSCodeVim extension. Any key in `keybindings` section of the [package.json](https://github.com/VSCodeVim/Vim/blob/master/package.json) that has a `vim.use<C-...>` in the when argument can be delegated back to VS Code by setting `"<C-...>": false`. Example: to use `ctrl+f` for find (native VS Code behaviour): `"vim.handleKeys": { "<C-f>": false }`. | String | `"<C-d>": true` |
| vim.overrideCopy | Override VS Code's copy command with our own, which works correctly with VSCodeVim. If cmd-c/ctrl-c is giving you issues, set this to false and complain [here](https://github.com/Microsoft/vscode/issues/217). | Boolean | false |
Expand Down Expand Up @@ -616,7 +616,9 @@ Vim has a lot of nifty tricks and we try to preserve some of them:

This project is maintained by a group of awesome [people](https://github.com/VSCodeVim/Vim/graphs/contributors) and contributions are extremely welcome :heart:. For a quick tutorial on how you can help, see our [contributing guide](/.github/CONTRIBUTING.md).

### Special shoutouts to cool contributors
<a href="https://www.buymeacoffee.com/jasonpoon" target="_blank"><img src="https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png" alt="Buy Us A Coffee" style="height: auto !important;width: auto !important;" ></a>

### Special shoutouts to:

- Thanks to @xconverge for making over 100 commits to the repo. If you're wondering why your least favorite bug packed up and left, it was probably him.
- Thanks to @Metamist for implementing EasyMotion!
Expand Down
85 changes: 33 additions & 52 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 11 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -341,14 +341,19 @@
"title": "Vim Configuration",
"type": "object",
"properties": {
"vim.debug.showErrorMessages": {
"vim.debug.silent": {
"type": "boolean",
"description": "Boolean indicates whether VIM errors will be displayed as a VS Code informational window",
"default": true
"description": "If true, all logs are suppressed.",
"default": false
},
"vim.debug.loggingLevelForAlert": {
"type": "string",
"description": "Maximum level of messages to present as VS Code information window.",
"default": "error"
},
"vim.debug.loggingLevel": {
"vim.debug.loggingLevelForConsole": {
"type": "string",
"description": "Maximum level of messages to log to console. Logs are visible in the developer tools.",
"description": "Maximum level of messages to log to console. Logs are visible in developer tools.",
"default": "error"
},
"vim.normalModeKeyBindings": {
Expand Down Expand Up @@ -685,7 +690,7 @@
"promised-neovim-client": "2.0.2",
"untildify": "3.0.3",
"winston": "3.1.0",
"winston-console-for-electron": "0.0.3"
"winston-console-for-electron": "0.0.5"
},
"devDependencies": {
"@types/diff": "3.5.2",
Expand Down
Loading

0 comments on commit 432d49a

Please sign in to comment.