/*
 * Copyright 2000-2013 JetBrains s.r.o.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.intellij.platform;

import com.intellij.ide.ActionsTopHitProvider;

/**
 * @author Konstantin Bulenkov
 */
public class DefaultPlatformTopHitProvider extends ActionsTopHitProvider {
  private static final String[][] ACTION_MATRIX = {
     {"op", "open ", "OpenFile"},
     {"reo", "reopen ", "$LRU"},
     {"new", "new ", "NewGroup"},
     {"new c", "new class ", "NewClass"},
     {"new i", "new interface ", "NewClass"},
     {"new e", "new enum ", "NewClass"},
   };

  @Override
  protected String[][] getActionsMatrix() {
    return ACTION_MATRIX;
  }
}

@@ -1070,16 +1070,564 @@
 lass%22%7D,%0A
+     %7B%22line%22, %22line numbers %22, %22EditorToggleShowLineNumbers%22%7D,%0A     %7B%22show li%22, %22show line numbers %22, %22EditorToggleShowLineNumbers%22%7D,%0A     %7B%22ann%22, %22annotate %22, %22Annotate%22%7D,%0A     %7B%22wrap%22, %22wraps %22, %22EditorToggleUseSoftWraps%22%7D,%0A     %7B%22soft w%22, %22soft wraps %22, %22EditorToggleUseSoftWraps%22%7D,%0A     %7B%22use sof%22, %22use soft wraps %22, %22EditorToggleUseSoftWraps%22%7D,%0A     %7B%22use wr%22, %22use wraps %22, %22EditorToggleUseSoftWraps%22%7D,%0A     %7B%22ref%22, %22refactor %22, %22Refactorings.QuickListPopupAction%22%7D,%0A     %7B%22mov%22, %22move %22, %22Move%22%7D,%0A     %7B%22ren%22, %22rename  %22, %22RenameElement%22%7D,%0A
    %7D;%0A%0A 

add new actions (cherry picked from commit 84f584a)