t9md / atom-vim-mode-plus

vim-mode improved
https://atom.io/packages/vim-mode-plus
MIT License
1.4k stars 111 forks source link

Debug info command #1037

Closed t9md closed 6 years ago

t9md commented 6 years ago

Add two command to make communication in issue handling smoother.

These command write collected debug info to clipboard. Then user can paste it directly in their issue comment. Clip is done with foldable(by <details> tag) form so that huge text doesn't mess issue board.

Below is just pasted output of these two command without any modifications.

debug info ```json { "atom": "1.25.0-beta2", "platform": "darwin", "release": "17.4.0", "vmpVersion": "1.28.1", "vmpConfig": { "charactersToAddSpaceOnSurround": [ ")", "}", "]", ">" ], "debugOutput": "console", "debugOutputFilePath": "~/github/atom-vim-mode-plus/debug.log", "defaultScrollRowsOnMiniScroll": 4, "devReloadPackages": [ "vim-mode-plus-move-selected-text", "vim-mode-plus-jasmine-increase-focus", "vim-mode-plus-replace-with-execution", "vim-mode-plus-ex-mode", "narrow", "narrow-git-ls", "quick-highlight", "demo-mode" ], "findAcrossLines": true, "findCharsMax": 100, "findConfirmByTimeout": 200, "hideCommandsFromCommandPalette": false, "hideStatusBarOnMaximizePane": false, "hideTabBarOnMaximizePane": false, "highlightSearch": false, "highlightSearchExcludeScopes": [ "narrow" ], "keymapBackslashToInnerCommentOrParagraphWhenToggleLineCommentsIsPending": true, "keymapCCToChangeInnerSmartWord": true, "keymapIAndAToInsertAtTargetWhenHasOccurrence": true, "keymapSToSelect": true, "keymapSemicolonAndCommaToFindPreConfirmedOnFindInput": true, "keymapSemicolonToInnerAnyPairInOperatorPendingMode": true, "keymapYToYankToLastCharacterOfLine": true, "replaceByDiffOnSurround": true, "reuseFindForRepeatFind": true, "sequentialPaste": true, "setCursorToStartOfChangeOnUndoRedo": false, "smoothScrollOnFullScrollMotion": true, "smoothScrollOnHalfScrollMotion": true, "smoothScrollOnMiniScroll": true, "smoothScrollOnRedrawCursorLine": true, "strictAssertion": true, "useSmartcaseForFind": true, "useSmartcaseForSearch": true, "useSmartcaseForSearchCurrentWord": true, "blackholeRegisteredOperators": [], "startInInsertModeScopes": [], "flashOnOperateBlacklist": [] } } ```
debug info with package info ```json { "atom": "1.25.0-beta2", "platform": "darwin", "release": "17.4.0", "vmpVersion": "1.28.1", "vmpConfig": { "charactersToAddSpaceOnSurround": [ ")", "}", "]", ">" ], "debugOutput": "console", "debugOutputFilePath": "~/github/atom-vim-mode-plus/debug.log", "defaultScrollRowsOnMiniScroll": 4, "devReloadPackages": [ "vim-mode-plus-move-selected-text", "vim-mode-plus-jasmine-increase-focus", "vim-mode-plus-replace-with-execution", "vim-mode-plus-ex-mode", "narrow", "narrow-git-ls", "quick-highlight", "demo-mode" ], "findAcrossLines": true, "findCharsMax": 100, "findConfirmByTimeout": 200, "hideCommandsFromCommandPalette": false, "hideStatusBarOnMaximizePane": false, "hideTabBarOnMaximizePane": false, "highlightSearch": false, "highlightSearchExcludeScopes": [ "narrow" ], "keymapBackslashToInnerCommentOrParagraphWhenToggleLineCommentsIsPending": true, "keymapCCToChangeInnerSmartWord": true, "keymapIAndAToInsertAtTargetWhenHasOccurrence": true, "keymapSToSelect": true, "keymapSemicolonAndCommaToFindPreConfirmedOnFindInput": true, "keymapSemicolonToInnerAnyPairInOperatorPendingMode": true, "keymapYToYankToLastCharacterOfLine": true, "replaceByDiffOnSurround": true, "reuseFindForRepeatFind": true, "sequentialPaste": true, "setCursorToStartOfChangeOnUndoRedo": false, "smoothScrollOnFullScrollMotion": true, "smoothScrollOnHalfScrollMotion": true, "smoothScrollOnMiniScroll": true, "smoothScrollOnRedrawCursorLine": true, "strictAssertion": true, "useSmartcaseForFind": true, "useSmartcaseForSearch": true, "useSmartcaseForSearchCurrentWord": true, "blackholeRegisteredOperators": [], "startInInsertModeScopes": [], "flashOnOperateBlacklist": [] }, "activeCommunityPackages": [ "duotone-blue-dark-syntax: 1.4.0", "atomic-chrome: 0.3.0", "autocomplete-emojis: 2.5.0", "choose-pane: 0.8.0", "clip-history: 0.5.0", "cursor-history: 0.13.0", "inline-git-diff: 2.3.0", "inline-markdown-images: 1.3.0", "markdown-toc-auto: 0.8.0", "mprettier: 0.6.0", "remember-file-positions: 0.2.3", "vim-mode-plus-keymaps-for-surround: 0.2.1", "language-haskell: 1.17.3", "vim-mode-plus: 1.28.1", "quick-highlight: 0.12.0" ] } ```