⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pyquickfix.java

📁 Python Development Environment (Python IDE plugin for Eclipse). Features editor, code completion, re
💻 JAVA
字号:
package org.python.pydev.editor.correctionassist;

import org.eclipse.core.resources.IMarker;
import org.eclipse.ui.IMarkerResolution;
import org.eclipse.ui.IMarkerResolutionGenerator;

/**
 * This class can later be used to make quick fixes. 
 * 
 * 
 * @author Fabio Zadrozny
 */
public class PyQuickFix implements IMarkerResolutionGenerator {

    public static String CONTENT_GENERATOR_MARKER = "org.python.pydev.editor.markers.pycontentgeneratormarker"; 

    public IMarkerResolution[] getResolutions(IMarker mk) {
        return new IMarkerResolution[] {};
//        try {
//           Object problem = mk.getAttribute("WhatsUp");
//           return new IMarkerResolution[] {
//              new MarkerResolution("Fix #1 for "+problem),
//              new MarkerResolution("Fix #2 for "+problem),
//           };
//        }
//        catch (CoreException e) {
//           return new IMarkerResolution[0];
//        }
     }

}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -