diff --git a/src/vs/editor/contrib/rename/rename.ts b/src/vs/editor/contrib/rename/rename.ts index 5869998eb8b1ae476792b54f8564be5e079abf46..3633afc811aa042bcccb500836e28238acbbe17b 100644 --- a/src/vs/editor/contrib/rename/rename.ts +++ b/src/vs/editor/contrib/rename/rename.ts @@ -30,7 +30,7 @@ import { CancellationToken } from 'vs/base/common/cancellation'; class RenameSkeleton { - private _providers: RenameProvider[]; + private readonly _providers: RenameProvider[]; constructor( private readonly model: ITextModel, @@ -102,11 +102,11 @@ class RenameController implements IEditorContribution { return editor.getContribution(RenameController.ID); } - private _renameInputField: RenameInputField; - private _renameInputVisible: IContextKey; + private readonly _renameInputField: RenameInputField; + private readonly _renameInputVisible: IContextKey; constructor( - private editor: ICodeEditor, + private readonly editor: ICodeEditor, @INotificationService private readonly _notificationService: INotificationService, @IBulkEditService private readonly _bulkEditService: IBulkEditService, @IProgressService private readonly _progressService: IProgressService,