/******************************************************************************* * Copyright (c) 2005, 2007 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * *******************************************************************************/ package org.eclipse.dltk.ui; public class CodeFormatterConstants { /** * <pre> * FORMATTER / Option to specify the tabulation size * - possible values: { TAB, SPACE, MIXED } * - default: TAB * </pre> * * More values may be added in the future. */ public static final String FORMATTER_TAB_CHAR = "formatter.tabulation.char"; //$NON-NLS-1$ /** * <pre> * FORMATTER / Option to specify the equivalent number of spaces that represents one tabulation * - possible values: "<n>", where n is zero or a positive integer * - default: "4" * </pre> */ public static final String FORMATTER_TAB_SIZE = "formatter.tabulation.size"; //$NON-NLS-1$ /** * <pre> * FORMATTER / Option to specify the equivalent number of spaces that represents one indentation * - possible values: "<n>", where n is zero or a positive integer * - default: "4" * </pre> * <p> * This option is used only if the tab char is set to MIXED. * </p> * * @see #FORMATTER_TAB_CHAR */ public static final String FORMATTER_INDENTATION_SIZE = "formatter.indentation.size"; //$NON-NLS-1$ /** * <pre> * FORMATTER / Possible value for the option FORMATTER_TAB_CHAR * </pre> * * @see #FORMATTER_TAB_CHAR */ public static final String MIXED = "mixed"; //$NON-NLS-1$ /** * <pre> * FORMATTER / Possible value for the option FORMATTER_TAB_CHAR * </pre> * * @see #FORMATTER_TAB_CHAR */ public static final String TAB = "tab"; //$NON-NLS-1$ /** * <pre> * FORMATTER / Possible value for the option FORMATTER_TAB_CHAR * </pre> * * @see #FORMATTER_TAB_CHAR */ public static final String SPACE = "space"; //$NON-NLS-1$ }