@@ -98,7 +98,7 @@ export default class AutoLanguageClient {
9898 }
9999
100100 // Start your server process
101- protected startServerProcess ( projectPath : string ) : LanguageServerProcess | Promise < LanguageServerProcess > {
101+ protected startServerProcess ( _projectPath : string ) : LanguageServerProcess | Promise < LanguageServerProcess > {
102102 throw Error ( 'Must override startServerProcess to start language server process when extending AutoLanguageClient' ) ;
103103 }
104104
@@ -207,10 +207,10 @@ export default class AutoLanguageClient {
207207 }
208208
209209 // Early wire-up of listeners before initialize method is sent
210- protected preInitialization ( connection : LanguageClientConnection ) : void { }
210+ protected preInitialization ( _connection : LanguageClientConnection ) : void { }
211211
212212 // Late wire-up of listeners after initialize method has been sent
213- protected postInitialization ( server : ActiveServer ) : void { }
213+ protected postInitialization ( _server : ActiveServer ) : void { }
214214
215215 // Determine whether to use ipc, stdio or socket to connect to the server
216216 protected getConnectionType ( ) : ConnectionType {
@@ -396,9 +396,9 @@ export default class AutoLanguageClient {
396396 }
397397
398398 return rpc . createMessageConnection ( reader , writer , {
399- log : ( ...args : any [ ] ) => { } ,
400- warn : ( ...args : any [ ] ) => { } ,
401- info : ( ...args : any [ ] ) => { } ,
399+ log : ( ..._args : any [ ] ) => { } ,
400+ warn : ( ..._args : any [ ] ) => { } ,
401+ info : ( ..._args : any [ ] ) => { } ,
402402 error : ( ...args : any [ ] ) => {
403403 this . logger . error ( args ) ;
404404 } ,
@@ -498,13 +498,13 @@ export default class AutoLanguageClient {
498498 }
499499
500500 protected onDidConvertAutocomplete (
501- completionItem : ls . CompletionItem ,
502- suggestion : ac . AnySuggestion ,
503- request : ac . SuggestionsRequestedEvent ,
501+ _completionItem : ls . CompletionItem ,
502+ _suggestion : ac . AnySuggestion ,
503+ _request : ac . SuggestionsRequestedEvent ,
504504 ) : void {
505505 }
506506
507- protected onDidInsertSuggestion ( arg : ac . SuggestionInsertedEvent ) : void { }
507+ protected onDidInsertSuggestion ( _arg : ac . SuggestionInsertedEvent ) : void { }
508508
509509 // Definitions via LS documentHighlight and gotoDefinition------------
510510 public provideDefinitions ( ) : atomIde . DefinitionProvider {
@@ -774,15 +774,15 @@ export default class AutoLanguageClient {
774774 * @param filePath path of a file that has changed in the project path
775775 * @return false => message will not be sent to the language server
776776 */
777- protected filterChangeWatchedFiles ( filePath : string ) : boolean {
777+ protected filterChangeWatchedFiles ( _filePath : string ) : boolean {
778778 return true ;
779779 }
780780
781781 /**
782782 * Called on language server stderr output.
783783 * @param stderr a chunk of stderr from a language server instance
784784 */
785- protected handleServerStderr ( stderr : string , projectPath : string ) {
785+ protected handleServerStderr ( stderr : string , _projectPath : string ) {
786786 stderr . split ( '\n' ) . filter ( ( l ) => l ) . forEach ( ( line ) => this . logger . warn ( `stderr ${ line } ` ) ) ;
787787 }
788788
0 commit comments