/* * DBeaver - Universal Database Manager * Copyright (C) 2010-2017 Serge Rider (serge@jkiss.org) * * 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 org.jkiss.dbeaver.ui.editors.sql; public class SQLPreferenceConstants { public static final String INSERT_SINGLE_PROPOSALS_AUTO = "SQLEditor.ContentAssistant.insert.single.proposal"; public static final String ENABLE_AUTO_ACTIVATION = "SQLEditor.ContentAssistant.auto.activation.enable"; public static final String ENABLE_KEYSTROKE_ACTIVATION = "SQLEditor.ContentAssistant.auto.keystrokes.activation"; public static final String AUTO_ACTIVATION_DELAY = "SQLEditor.ContentAssistant.auto.activation.delay"; public static final String PROPOSAL_INSERT_CASE = "SQLEditor.ContentAssistant.insert.case"; public static final String HIDE_DUPLICATE_PROPOSALS = "SQLEditor.ContentAssistant.hide.duplicates"; public static final String PROPOSAL_SHORT_NAME = "SQLEditor.ContentAssistant.proposals.short.name"; public static final String INSERT_SPACE_AFTER_PROPOSALS = "SQLEditor.ContentAssistant.insert.space.after.proposal"; // Auto-save public static final String AUTO_SAVE_ON_CLOSE = "SQLEditor.autoSaveOnClose"; public static final String AUTO_SAVE_ON_EXECUTE = "SQLEditor.autoSaveOnExecute"; // Typing constants public static final String SQLEDITOR_CLOSE_SINGLE_QUOTES = "SQLEditor.closeSingleQuotes"; public static final String SQLEDITOR_CLOSE_DOUBLE_QUOTES = "SQLEditor.closeDoubleQuotes"; public static final String SQLEDITOR_CLOSE_BRACKETS = "SQLEditor.closeBrackets"; public static final String SQLEDITOR_CLOSE_COMMENTS = "SQLEditor.closeComments"; public static final String SQLEDITOR_CLOSE_BEGIN_END = "SQLEditor.closeBeginEndStatement"; // Matching brackets public final static String MATCHING_BRACKETS = "SQLEditor.matchingBrackets"; public final static String MATCHING_BRACKETS_COLOR = "SQLEditor.matchingBracketsColor"; public final static String RESET_CURSOR_ON_EXECUTE = "SQLEditor.resetCursorOnExecute"; public static final int PROPOSAL_CASE_DEFAULT = 0; public static final int PROPOSAL_CASE_UPPER = 1; public static final int PROPOSAL_CASE_LOWER = 2; public final static String SQL_FORMAT_KEYWORD_CASE_AUTO = "SQLEditor.format.keywordCaseAuto"; public final static String SQL_FORMAT_EXTRACT_FROM_SOURCE = "SQLEditor.format.extractFromSource"; public final static String BEEP_ON_QUERY_END = "SQLEditor.beepOnQueryEnd"; public final static String REFRESH_DEFAULTS_AFTER_EXECUTE = "SQLEditor.refreshDefaultsAfterExecute"; }