📄 iformatter.java
字号:
/*
* Created on Feb 17, 2006
*/
package org.python.pydev.parser.prettyprinter;
import org.eclipse.jface.text.IDocument;
import org.python.pydev.core.IPyEdit;
import org.python.pydev.core.docutils.PySelection;
/**
* This interface is provided for clients that want to implement code-formatting
*/
public interface IFormatter {
/**
* Formats the whole doc
*/
void formatAll(IDocument doc, IPyEdit edit);
/**
* Formats the selection.
*/
void formatSelection(IDocument doc, int startLine, int endLineIndex, IPyEdit edit, PySelection ps);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -