-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patheditor.sublime-project
74 lines (70 loc) · 1.77 KB
/
editor.sublime-project
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
{
"folders": [
{
"path": ".",
"name": "root",
"folder_exclude_patterns": [".svn", ".git", ".hg", "CVS", "venv", "vendor", "__pycache__"],
"follow_symlinks": true,
},
{
"path": "~/.config/sublime-text/Packages/phpcbf-Formatter",
"name": "local-packages",
"folder_exclude_patterns": [],
"follow_symlinks": true,
},
],
"settings": {
/* "default_encoding": "UTF-8", */
/* "default_line_ending": "unix", */
"detect_indentation": true,
/* "ensure_newline_at_eof_on_save": true, */
"show_definitions": false,
"show_line_endings": true,
/* "tab_size": 2, */
/* "translate_tabs_to_spaces": false, */
/* "trim_trailing_white_space_on_save": "all", */
"use_tab_stops": true,
"word_wrap": true,
/* phpcbf-Formatter */
"phpcbf-Formatter": {
"format_on_save": true,
"config_path": "${project_path}/phpcs.xml",
"php_path": {
"linux": "/usr/bin/php",
},
"local_phpcbf_path": {
"linux": "${project_path}/${vendor_folder}/bin/phpcbf",
},
},
/* LSP */
"lsp_format_on_save": true,
"lsp_code_actions_on_save": {
"source.organizeImports": true,
"source.fixAll": true,
/* "source.fixAll.json": true, */
// "source.organizeImports.ruff": true,
// "source.fixAll.ruff": true,
},
"LSP": {
/* LSP-basedpyright */
"LSP-basedpyright": {
"enabled": true,
"settings": {
"python.pythonPath": "${project_path}/venv/bin/python",
"python.venvPath": "${project_path}/venv",
"pyright.dev_environment": "sublime_text",
},
},
/* LSP-ruff */
"LSP-ruff": {
"enabled": true,
"initializationOptions": {
"settings": {
"lint.args": ["--config", "${project_path}/pyproject.toml"],
"format.args": ["--config", "${project_path}/pyproject.toml"],
},
},
},
},
},
}