File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Expand file tree Collapse file tree 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 {
2323 atom . notifications . addSuccess ( "ide-pyhon: atom-ide-base was installed and enabled..." )
2424 } )
2525 }
26+ // Remove deprecated option
27+ atom . config . unset ( "ide-python.pylsPath" )
28+ debuggerActivate ( )
2629 }
2730
31+ /* eslint-disable class-methods-use-this */
2832 getGrammarScopes ( ) {
2933 return [ "source.python" , "python" ]
3034 }
@@ -41,13 +45,6 @@ class PythonLanguageClient extends AutoLanguageClient {
4145 return "ide-python"
4246 }
4347
44- activate ( ) {
45- // Remove deprecated option
46- atom . config . unset ( "ide-python.pylsPath" )
47- super . activate ( )
48- debuggerActivate ( )
49- }
50-
5148 mapConfigurationObject ( configuration ) {
5249 return {
5350 pyls : {
@@ -57,6 +54,7 @@ class PythonLanguageClient extends AutoLanguageClient {
5754 } ,
5855 }
5956 }
57+ /* eslint-enable class-methods-use-this */
6058
6159 async startServerProcess ( projectPath ) {
6260 const venvPath = ( await detectPipEnv ( projectPath ) ) || ( await detectVirtualEnv ( projectPath ) )
You can’t perform that action at this time.
0 commit comments