codeActionContributions.js 1005 B

1234567891011121314
  1. /*---------------------------------------------------------------------------------------------
  2. * Copyright (c) Microsoft Corporation. All rights reserved.
  3. * Licensed under the MIT License. See License.txt in the project root for license information.
  4. *--------------------------------------------------------------------------------------------*/
  5. import { registerEditorAction, registerEditorCommand, registerEditorContribution } from '../../browser/editorExtensions.js';
  6. import { AutoFixAction, CodeActionCommand, FixAllAction, OrganizeImportsAction, QuickFixAction, QuickFixController, RefactorAction, SourceAction } from './codeActionCommands.js';
  7. registerEditorContribution(QuickFixController.ID, QuickFixController);
  8. registerEditorAction(QuickFixAction);
  9. registerEditorAction(RefactorAction);
  10. registerEditorAction(SourceAction);
  11. registerEditorAction(OrganizeImportsAction);
  12. registerEditorAction(AutoFixAction);
  13. registerEditorAction(FixAllAction);
  14. registerEditorCommand(new CodeActionCommand());