All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.eclipse.jface.text.templates.TextTemplateMessages.properties Maven / Gradle / Ivy

There is a newer version: 1.9.22.1
Show newest version
###############################################################################
# Copyright (c) 2000, 2016 IBM Corporation and others.
#
# This program and the accompanying materials
# are made available under the terms of the Eclipse Public License 2.0
# which accompanies this distribution, and is available at
# https://www.eclipse.org/legal/epl-2.0/
#
# SPDX-License-Identifier: EPL-2.0
#
# Contributors:
#     IBM Corporation - initial API and implementation
###############################################################################

# template translator
TemplateTranslator.error.incomplete.variable=Template has incomplete variables. Type '$$' to enter the dollar character.
TemplateTranslator.error.invalid.identifier=Template has invalid variable identifiers.
TemplateTranslator.error.incompatible.type=Template variable ''{0}'' has incompatible types

# global variables
GlobalVariables.variable.description.cursor=The cursor position after editing template variables
GlobalVariables.variable.description.dollar=The dollar symbol
GlobalVariables.variable.description.date=${id\:date[(format[, locale])]}
Evaluates to the current date in the specified format and locale. 'format' and 'locale' are optional parameters. 'format' is a pattern compatible with java.text.SimpleDateFormat. 'locale' is an RFC 3066 locale ID.

Examples:
${date}
${currentDate:date('yyyy-MM-dd')}
${d:date('EEEE dd MM yyyy', 'fr_CH')} GlobalVariables.variable.description.year=Current year. Use the 'date' variable if you want to specify the format. GlobalVariables.variable.description.time=Current time. Use the 'date' variable if you want to specify the format. GlobalVariables.variable.description.user=User name GlobalVariables.variable.description.selectedWord= ${id\:word_selection[(default)]}
Evaluates to the selected text. 'default' is an optional parameter, which specifies the text if the selected text is empty.

Examples:
${word_selection}
${currentWord:word_selection(myStringVariable)}
${currentWord:word_selection('"Press me"')}
GlobalVariables.variable.description.selectedLines= ${id\:line_selection[(default)]}
Evaluates to the selected text for multiple lines. 'default' is an optional parameter, which specifies the text if the selected text is empty.

Examples:
${line_selection}
${currentLine:line_selection(myStringVariable)}
${currentLine:line_selection('"A default text"')}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy