File tree 1 file changed +5
-7
lines changed
1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -23,8 +23,12 @@ class PythonLanguageClient extends AutoLanguageClient {
23
23
atom . notifications . addSuccess ( "ide-pyhon: atom-ide-base was installed and enabled..." )
24
24
} )
25
25
}
26
+ // Remove deprecated option
27
+ atom . config . unset ( "ide-python.pylsPath" )
28
+ debuggerActivate ( )
26
29
}
27
30
31
+ /* eslint-disable class-methods-use-this */
28
32
getGrammarScopes ( ) {
29
33
return [ "source.python" , "python" ]
30
34
}
@@ -41,13 +45,6 @@ class PythonLanguageClient extends AutoLanguageClient {
41
45
return "ide-python"
42
46
}
43
47
44
- activate ( ) {
45
- // Remove deprecated option
46
- atom . config . unset ( "ide-python.pylsPath" )
47
- super . activate ( )
48
- debuggerActivate ( )
49
- }
50
-
51
48
mapConfigurationObject ( configuration ) {
52
49
return {
53
50
pyls : {
@@ -57,6 +54,7 @@ class PythonLanguageClient extends AutoLanguageClient {
57
54
} ,
58
55
}
59
56
}
57
+ /* eslint-enable class-methods-use-this */
60
58
61
59
async startServerProcess ( projectPath ) {
62
60
const venvPath = ( await detectPipEnv ( projectPath ) ) || ( await detectVirtualEnv ( projectPath ) )
You can’t perform that action at this time.
0 commit comments