Skip to content

Commit ce39acc

Browse files
committed
Configure jedi all_scopes
1 parent b3cd433 commit ce39acc

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

package.json

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,7 @@
2020
"atom-languageclient": "^0.6.4",
2121
"shell-env": "^0.3.0"
2222
},
23-
"enhancedScopes": [
24-
"source.python"
25-
],
23+
"enhancedScopes": ["source.python"],
2624
"configSchema": {
2725
"pylsPath": {
2826
"title": "Python Language Server Path",
@@ -102,8 +100,16 @@
102100
"enabled": {
103101
"title": "Enabled",
104102
"type": "boolean",
103+
"order": 1,
105104
"default": true,
106105
"description": "Enable or disable Jedi Symbols."
106+
},
107+
"all_scopes": {
108+
"title": "All Scopes",
109+
"type": "boolean",
110+
"default": false,
111+
"description":
112+
"If enabled lists the names of all scopes instead of only the module namespace. Requires pyls 0.7.0+"
107113
}
108114
}
109115
},
@@ -121,7 +127,8 @@
121127
"title": "Threshold",
122128
"type": "number",
123129
"default": 15,
124-
"description": "The minimum threshold that triggers warnings about cyclomatic complexity."
130+
"description":
131+
"The minimum threshold that triggers warnings about cyclomatic complexity."
125132
}
126133
}
127134
},

0 commit comments

Comments
 (0)