Skip to content

Commit 2e534d1

Browse files
[Chore] Remove all debug statements.
This commit removes all debug statements. I am not any closer to understanding, why the settings fail to load on install, but I'll just log an issue for now.
1 parent 0daae24 commit 2e534d1

3 files changed

Lines changed: 0 additions & 6 deletions

File tree

src/commands/commands_browser_core_commands.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,6 @@ def on_highlight(self, idx, commands_data):
131131
return
132132

133133
auto_open = commands_browser_settings("auto_open_doc_panel_on_navigate")
134-
print(auto_open)
135134

136135
if (type(auto_open) != bool):
137136
log(f"""'{auto_open}' is an invalid value for the setting

src/settings.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ def load_commands_browser_settings():
1010
Returns:
1111
None
1212
"""
13-
print("[CommandsBrowser]: Settings intialized")
1413
commands_browser_settings.obj = sublime.load_settings("CommandsBrowser.sublime-settings")
1514
commands_browser_settings.default = {
1615
"auto_open_doc_panel_on_navigate": False,
@@ -19,7 +18,6 @@ def load_commands_browser_settings():
1918
"filter_core_commands_on_type": ["text", "window", "application", "find"],
2019
"copy_command_signature_modifier_key": "ctrl"
2120
}
22-
print(commands_browser_settings.default)
2321

2422

2523
def commands_browser_settings(key):
@@ -31,9 +29,7 @@ def commands_browser_settings(key):
3129
Returns:
3230
value (Any): The value of said key.
3331
"""
34-
print(commands_browser_settings.default)
3532
default = commands_browser_settings.default.get(key, None)
36-
print(f"[CommandsBrowser]: {key} - {commands_browser_settings.obj.get(key, default)}")
3733
return commands_browser_settings.obj.get(key, default)
3834

3935

src/utils/miscellaneous_utils.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ def filter_command_types(setting_name):
5454
on which, we will filter the commands
5555
"""
5656
cmd_type_filter_list = commands_browser_settings(f"{setting_name}")
57-
print(cmd_type_filter_list)
5857

5958
if (type(cmd_type_filter_list) != list) or (len(cmd_type_filter_list) == 0):
6059
log(f"""'{cmd_type_filter_list}' is an invalid value for the setting

0 commit comments

Comments
 (0)