adding rust configs

This commit is contained in:
dtomlinson@panaetius.co.uk
2019-11-21 01:16:04 +00:00
parent ca17c0b1d6
commit f072d619a6
5 changed files with 80 additions and 15 deletions

View File

@@ -0,0 +1,3 @@
{
"style": "numpy",
}

View File

@@ -8,5 +8,14 @@
"command": "anaconda_doc", "keys": ["alt+d"], "context": [ "command": "anaconda_doc", "keys": ["alt+d"], "context": [
{"key": "selector", "operator": "equal", "operand": "source.python"} {"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"},
] ]

View File

@@ -16,10 +16,11 @@
"enable_signatures_tooltip": true, "enable_signatures_tooltip": true,
"ensure_newline_at_eof_on_save": true, "ensure_newline_at_eof_on_save": true,
"font_face": "Source Code Pro", "font_face": "Source Code Pro",
"font_size": 10, "font_size": 11,
"highlight_line": true, "highlight_line": true,
"ignored_packages": "ignored_packages":
[ [
"Python",
"Vintage" "Vintage"
], ],
"indent_to_bracket": false, "indent_to_bracket": false,
@@ -29,13 +30,15 @@
{ {
"extra_paths": "extra_paths":
[ [
"/usr/local/bin/python373-s" "/usr/local/python/python-3.8/bin/python3.8"
], ],
"python_interpreter": "$VIRTUAL_ENV/bin/python" "python_interpreter": "$VIRTUAL_ENV/bin/python"
}, },
"theme": "halcyon.sublime-theme", "theme": "halcyon.sublime-theme",
"translate_tabs_to_spaces": true, "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, "ui_separator": true,
"word_wrap": true, "word_wrap": true,
"wrap_width": 80 "wrap_width": 80

View File

@@ -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
}
}

View File

@@ -15,6 +15,9 @@
- markdown live preview - markdown live preview
- markdown preview - markdown preview
- markdown toc - markdown toc
- markdown table formatter
- github markdown snippets
## Python-development ## Python-development
- anaconda - anaconda
@@ -27,6 +30,14 @@
- sublimelinter-pyflakes - sublimelinter-pyflakes
- sublimerepel - sublimerepel
- virtualenv - virtualenv
- autodocstring
- magicpython (disable python package)
- pythonbreakpoints
## Rust development
- rust-extended
- toml
- lsp
## Productivity ## Productivity
- plain tasks - plain tasks