Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request] Disable EditorConfig settings in console output #62

Closed
Kristinita opened this issue Jan 22, 2017 · 1 comment
Closed

Comments

@Kristinita
Copy link

1. Summary

I don't want to see EditorConfig settings in my console output. I don't need it.

2. Expected behavior

No EditorConfig settings in my console output.

3. Actual behavior

Example of my console output.

Click here to see full output.
key evt: control+p
command: show_overlay {"overlay": "goto", "show_files": true}
chr evt: o (0x6f)
chr evt: i (0x69)
chr evt: p (0x70)
key evt: backspace
command: hungry_backspace
key evt: backspace
command: hungry_backspace
chr evt: p (0x70)
chr evt: e (0x65)
chr evt: n (0x6e)

EditorConfig
D:\Поиск Кристиниты\opensearch.xml
{'charset': 'utf-8',
 'end_of_line': 'lf',
 'indent_size': '4',
 'indent_style': 'tab',
 'insert_final_newline': 'true',
 'tab_width': '4',
 'trim_trailing_whitespace': 'true'}

SublimeLinter: xmllint activated: C:\strawberry\c\bin\xmllint.exe 
SublimeLinter: sublimesyntax activated: <builtin> 
FuzzyFilePath cached 791 files in D:/Поиск Кристиниты
key evt: shift+control+p
command: show_overlay {"overlay": "command_palette"}
Init webFont
_download_font_info
chr evt: e (0x65)
chr evt: x (0x78)
chr evt: a (0x61)
chr evt: l (0x6c)
chr evt: t (0x74)
command: exalt_format_document
command: drag_select {"event": {"button": 1, "x": 267.5, "y": 106.5}}
command: word_highlight_click {"event": {"button": 1, "x": 267.5, "y": 106.5}}
command: drag_select {"event": {"button": 1, "x": 81.5, "y": 62.5}}
command: word_highlight_click {"event": {"button": 1, "x": 81.5, "y": 62.5}}
command: drag_select {"event": {"button": 1, "x": 297.5, "y": 452.5}}
command: word_highlight_click {"event": {"button": 1, "x": 297.5, "y": 455.5}}
15:25:44 INFO  requests.packages.urllib3.connectionpool:805            _new_conn() Starting new HTTPS connection (1): codestats.net
key evt: control+z
command: undo
15:25:46 DEBUG requests.packages.urllib3.connectionpool:401        _make_request() "POST /api/my/pulses/ HTTP/1.1" 201 23
key evt: shift+control+z
command: redo
key evt: control+z
command: undo
15:25:56 INFO  requests.packages.urllib3.connectionpool:805            _new_conn() Starting new HTTPS connection (1): codestats.net
15:25:56 DEBUG requests.packages.urllib3.connectionpool:401        _make_request() "POST /api/my/pulses/ HTTP/1.1" 201 23
command: drag_select {"event": {"button": 1, "x": 613.5, "y": 479.5}}
command: word_highlight_click {"event": {"button": 1, "x": 613.5, "y": 479.5}}
key evt: control+p
command: show_overlay {"overlay": "goto", "show_files": true}
chr evt: S (0x53)
chr evt: a (0x61)
chr evt: s (0x73)
chr evt: h (0x68)
chr evt: t (0x74)
key evt: backspace
command: hungry_backspace
chr evt: a (0x61)
no such context .repository in Packages/stposh/Support/PowerShell.tmLanguage
no such context .repository in Packages/stposh/Support/PowerShell.tmLanguage
no such context .repository in Packages/stposh/Support/PowerShell.tmLanguage
no such context .repository in Packages/stposh/Support/PowerShell.tmLanguage
chr evt: S (0x53)
key evt: up
command: move {"by": "lines", "forward": false}
key evt: up
command: move {"by": "lines", "forward": false}
key evt: up
command: move {"by": "lines", "forward": false}

EditorConfig
D:\Sublime Text 3\Data\Packages\SashaSublime\SashaSublime.tmTheme
{'charset': 'utf-8',
 'end_of_line': 'lf',
 'indent_size': '4',
 'indent_style': 'tab',
 'insert_final_newline': 'true',
 'tab_width': '4',
 'trim_trailing_whitespace': 'true'}

FuzzyFilePath cached 277 files in D:/Sublime Text 3/Data/Packages/SashaSublime
key evt: shift+control+p
command: show_overlay {"overlay": "command_palette"}
command: drag_select {"event": {"button": 1, "x": 618.5, "y": 480.5}}
command: word_highlight_click {"event": {"button": 1, "x": 618.5, "y": 478.5}}
key evt: alt+b
command: bang_search_input {}
chr evt: p (0x70)
chr evt: c (0x63)

I don't want to see in my console:

EditorConfig
D:\Поиск Кристиниты\opensearch.xml
{'charset': 'utf-8',
 'end_of_line': 'lf',
 'indent_size': '4',
 'indent_style': 'tab',
 'insert_final_newline': 'true',
 'tab_width': '4',
 'trim_trailing_whitespace': 'true'}

4. Steps to reproduce

The problem is reproduced for me in a version of Sublime Text without plugins and user settings.

I install and set EditorConfig → I restart Sublime Text → periodically I get in my console messages with my EditorConfig settings.

5. Environment

Operating system and version:
Windows 10 Enterprise LTSB 64-bit EN
Sublime Text:
Build 3126

Thanks.

@coagmano
Copy link

Yes please, this is super annoying.
Looks like these are the offending lines

Guessing there should be a settings option for this, but the plugin doesn't currently have a setting file. Considering logging by default was added in #31, it makes sense to add a setting to disable the behaviour

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants