diff --git a/.config/sublime-text-3/Packages/User/AutoDocstring.sublime-settings b/.config/sublime-text-3/Packages/User/AutoDocstring.sublime-settings new file mode 100644 index 0000000..bd6c2cb --- /dev/null +++ b/.config/sublime-text-3/Packages/User/AutoDocstring.sublime-settings @@ -0,0 +1,3 @@ +{ + "style": "numpy", +} diff --git a/.config/sublime-text-3/Packages/User/Default (OSX).sublime-keymap b/.config/sublime-text-3/Packages/User/Default (OSX).sublime-keymap index 7b763f2..6d45a86 100644 --- a/.config/sublime-text-3/Packages/User/Default (OSX).sublime-keymap +++ b/.config/sublime-text-3/Packages/User/Default (OSX).sublime-keymap @@ -1,12 +1,21 @@ - [ - { - "command": "anaconda_goto", "keys": ["alt+g"], "context": [ - {"key": "selector", "operator": "equal", "operand": "source.python"} - ] - }, - { - "command": "anaconda_doc", "keys": ["alt+d"], "context": [ - {"key": "selector", "operator": "equal", "operand": "source.python"} - ] - } -] + [ + { + "command": "anaconda_goto", "keys": ["alt+g"], "context": [ + {"key": "selector", "operator": "equal", "operand": "source.python"} + ] + }, + { + "command": "anaconda_doc", "keys": ["alt+d"], "context": [ + {"key": "selector", "operator": "equal", "operand": "source.python"} + ] + }, + { "keys": ["alt+p"], "command": "lsp_hover" }, + { "keys": ["alt+d"], "command": "lsp_show_diagnostics_panel" }, + { "keys": ["alt+g"], "command": "lsp_symbol_definition"}, + { "keys": ["alt+d"], "command": "lsp_hover" }, + { "keys": ["alt+r"], "command": "lsp_symbol_rename" }, + { "keys": ["alt+q"], "command": "next_result" }, + { "keys": ["alt+w"], "command": "prev_result" }, + { "keys": ["ctrl+alt+b"], "command": "lsp_format_document"}, + { "keys": ["ctrl+alt+'"], "command": "lsp_document_symbols"}, + ] diff --git a/.config/sublime-text-3/Packages/User/Preferences.sublime-settings b/.config/sublime-text-3/Packages/User/Preferences.sublime-settings index dabf267..390cfa3 100755 --- a/.config/sublime-text-3/Packages/User/Preferences.sublime-settings +++ b/.config/sublime-text-3/Packages/User/Preferences.sublime-settings @@ -16,10 +16,11 @@ "enable_signatures_tooltip": true, "ensure_newline_at_eof_on_save": true, "font_face": "Source Code Pro", - "font_size": 10, + "font_size": 11, "highlight_line": true, "ignored_packages": [ + "Python", "Vintage" ], "indent_to_bracket": false, @@ -29,13 +30,15 @@ { "extra_paths": [ - "/usr/local/bin/python373-s" + "/usr/local/python/python-3.8/bin/python3.8" ], "python_interpreter": "$VIRTUAL_ENV/bin/python" }, "theme": "halcyon.sublime-theme", "translate_tabs_to_spaces": true, - "trim_trailing_white_space_on_save": true, + // "trim_trailing_white_space_on_save": true, + "trailing_spaces_modified_lines_only": true, + "trailing_spaces_trim_on_save": true, "ui_separator": true, "word_wrap": true, "wrap_width": 80 diff --git a/Projects/base-rust.sublime-project b/Projects/base-rust.sublime-project new file mode 100644 index 0000000..52a8d39 --- /dev/null +++ b/Projects/base-rust.sublime-project @@ -0,0 +1,39 @@ +{ + "folders": + [ + { + "path": "/Users/dtomlinson/projects-rust" + }, + { + "path": "/Users/dtomlinson/git-repos" + } + ], + "settings": + { + "LSP": + { + "log_debug": true, + "log_payloads": false, + "log_server": true, + "log_stderr": true, + "only_show_lsp_completions": false, + "rls": + { + "enabled": true + } + }, + "cargo_build": + { + "default_path": "/Users/dtomlinson/git-repos/projects-rust/rust-book/chapter-1/guessing_game", + "defaults": + { + "env": + { + }, + "target_triple": null, + "toolchain": "nightly-x86_64-apple-darwin" + } + }, + "rust_syntax_checking": true + } +} diff --git a/packages.md b/packages.md index d22d91b..99d417f 100644 --- a/packages.md +++ b/packages.md @@ -15,6 +15,9 @@ - markdown live preview - markdown preview - markdown toc +- markdown table formatter +- github markdown snippets + ## Python-development - anaconda @@ -27,6 +30,14 @@ - sublimelinter-pyflakes - sublimerepel - virtualenv +- autodocstring +- magicpython (disable python package) +- pythonbreakpoints + +## Rust development +- rust-extended +- toml +- lsp ## Productivity - plain tasks