l10n.properties revision 3738:6ef8a1453577
1254721Semaste#
2254721Semaste# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
3353358Sdim# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4353358Sdim#
5353358Sdim# This code is free software; you can redistribute it and/or modify it
6254721Semaste# under the terms of the GNU General Public License version 2 only, as
7254721Semaste# published by the Free Software Foundation.  Oracle designates this
8254721Semaste# particular file as subject to the "Classpath" exception as provided
9254721Semaste# by Oracle in the LICENSE file that accompanied this code.
10254721Semaste#
11254721Semaste# This code is distributed in the hope that it will be useful, but WITHOUT
12254721Semaste# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13314564Sdim# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
14341825Sdim# version 2 for more details (a copy is included in the LICENSE file that
15344779Sdim# accompanied this code).
16254721Semaste#
17254721Semaste# You should have received a copy of the GNU General Public License version
18254721Semaste# 2 along with this work; if not, write to the Free Software Foundation,
19254721Semaste# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20314564Sdim#
21314564Sdim# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22314564Sdim# or visit www.oracle.com if you need additional information or have any
23314564Sdim# questions.
24314564Sdim#
25254721Semaste
26314564Sdimjshell.msg.welcome =\
27254721SemasteWelcome to JShell -- Version {0}\n\
28314564SdimFor an introduction type: /help intro\n
29314564Sdimjshell.err.opt.arg = Argument to {0} missing.
30314564Sdimjshell.err.opt.invalid = Invalid options: {0}.
31314564Sdimjshell.err.opt.one = Only one {0} option may be used.
32254721Semastejshell.err.opt.startup.one = Only one --startup or --no-startup option may be used.
33314564Sdimjshell.err.opt.feedback.one = Only one feedback option (--feedback, -q, -s, or -v) may be used.
34254721Semastejshell.err.opt.unknown = Unknown option: {0}
35254721Semaste
36321369Sdimjshell.msg.terminated =\
37321369SdimState engine terminated.\n\
38321369SdimRestore definitions with: /reload -restore
39314564Sdim
40314564Sdimjshell.msg.use.one.of = Use one of: {0}
41314564Sdimjshell.msg.see.classes.etc = See /types, /methods, /vars, or /list
42314564Sdimjshell.err.arg = Invalid ''{0}'' argument: {1}
43314564Sdimjshell.msg.see = See {0} for help.
44314564Sdim
45314564Sdimjshell.err.file.not.accessible = File ''{1}'' for ''{0}'' is not accessible: {2}
46314564Sdimjshell.err.file.not.found = File ''{1}'' for ''{0}'' is not found.
47314564Sdimjshell.err.file.exception = File ''{1}'' for ''{0}'' threw exception: {2}
48314564Sdimjshell.err.file.filename = ''{0}'' requires a filename argument.
49314564Sdim
50314564Sdimjshell.err.startup.unexpected.exception = Unexpected exception reading start-up: {0}
51314564Sdimjshell.err.unexpected.exception = Unexpected exception: {0}
52314564Sdim
53314564Sdimjshell.err.no.such.command.or.snippet.id = No such command or snippet id: {0}
54314564Sdimjshell.err.command.ambiguous = Command: ''{0}'' is ambiguous: {1}
55314564Sdimjshell.msg.set.editor.set = Editor set to: {0}
56314564Sdimjshell.msg.set.editor.retain = Editor setting retained: {0}
57314564Sdimjshell.err.cant.launch.editor = Cannot launch editor -- unexpected exception: {0}
58314564Sdimjshell.msg.try.set.editor = Try /set editor to use external editor.
59314564Sdimjshell.msg.press.return.to.leave.edit.mode = Press return to leave edit mode.
60314564Sdimjshell.err.wait.applies.to.external.editor = -wait applies to external editors
61314564Sdim
62314564Sdimjshell.err.setting.to.retain.must.be.specified = The setting to retain must be specified -- {0}
63314564Sdimjshell.msg.set.show.mode.settings = \nTo show mode settings use ''/set prompt'', ''/set truncation'', ...\n\
64314564Sdimor use ''/set mode'' followed by the feedback mode name.
65254721Semastejshell.err.continuation.prompt.required = Continuation prompt required -- {0}
66254721Semaste
67314564Sdimjshell.msg.try.command.without.args = Try ''{0}'' without arguments.
68314564Sdimjshell.msg.no.active = There are no active definitions.
69254721Semaste
70254721Semastejshell.msg.resetting = Resetting...
71360784Sdimjshell.msg.resetting.state = Resetting state.
72360784Sdim
73314564Sdimjshell.err.reload.no.previous = No previous history to restore
74341825Sdimjshell.err.reload.restarting.previous.state = Restarting and restoring from previous state.
75341825Sdimjshell.err.reload.restarting.state = Restarting and restoring state.
76254721Semaste
77jshell.msg.vars.not.active = (not-active)
78
79jshell.err.out.of.range = Out of range
80
81jshell.msg.error = Error:
82jshell.msg.warning = Warning:
83
84jshell.err.sub.arg = The ''{0}'' command requires a sub-command. See: ''/help {0}''
85jshell.err.sub.ambiguous = Ambiguous sub-command argument to ''{0}'': {1}
86
87jshell.err.classpath.arg = The /classpath command requires a path argument.
88jshell.msg.classpath = Path ''{0}'' added to classpath
89
90jshell.err.help.arg = No commands or subjects start with the provided argument: {0}
91jshell.msg.help.begin =\
92Type a Java language expression, statement, or declaration.\n\
93Or type one of the following commands:\n
94jshell.msg.help.subject =\n\
95For more information type ''/help'' followed by the name of command or a subject.\n\
96For example ''/help /list'' or ''/help intro''.  Subjects:\n
97
98jshell.err.drop.arg =\
99In the /drop argument, please specify an import, variable, method, or class to drop.\n\
100Specify by id or name. Use /list to see ids. Use /reset to reset all state.
101jshell.err.drop.ambiguous = The argument references more than one import, variable, method, or class.
102jshell.err.failed = Failed.
103jshell.msg.native.method = Native Method
104jshell.msg.unknown.source = Unknown Source
105jshell.msg.goodbye = Goodbye
106
107jshell.msg.help.for.help = Type /help for help.
108
109jshell.err.mode.name = Expected a feedback mode name: {0}
110jshell.err.missing.mode = Missing the feedback mode -- {0}
111jshell.err.field.name = Expected a field name: {0} -- {1}
112jshell.err.mode.unknown = No feedback mode named: {0} -- {1}
113
114jshell.err.feedback.does.not.match.mode = Does not match any current feedback mode: {0} -- {1}
115jshell.err.feedback.ambiguous.mode = Matches more then one current feedback mode: {0} -- {1}
116jshell.err.feedback.must.be.quoted = Format ''{0}'' must be quoted -- {1}
117jshell.err.feedback.not.a.valid.selector = Not a valid selector ''{0}'' in ''{1}'' -- {2}
118jshell.err.feedback.multiple.sections = Selector kind in multiple sections of selector list ''{0}'' in ''{1}'' -- {2}
119jshell.err.feedback.different.selector.kinds = Different selector kinds in same sections of selector list ''{0}'' in ''{1}'' -- {2}
120
121jshell.msg.feedback.new.mode = Created new feedback mode: {0}
122jshell.msg.feedback.mode = Feedback mode: {0}
123jshell.msg.feedback.mode.following = Available feedback modes:
124jshell.msg.feedback.retained.mode.following = Retained feedback modes:
125jshell.err.mode.creation = To create a new mode either the -command or the -quiet option must be used -- {0}
126jshell.err.mode.exists = Mode to be created already exists: {0} -- {1}
127
128jshell.err.truncation.expected.length = Expected truncation length -- {0}
129jshell.err.truncation.length.not.integer = Truncation length must be an integer: {0} -- {1}
130
131jshell.err.not.valid.with.predefined.mode = Not valid with a predefined mode: {0} -- {1}
132jshell.err.retained.feedback.mode.must.be.retained.or.predefined = \
133''/set feedback -retain <mode>'' requires that <mode> is predefined or has been retained with ''/set mode -retain'' -- {0}
134
135jshell.err.unknown.option = Unknown option: {0} -- {1}
136jshell.err.default.option.or.program = Specify -default option, -delete option, or program -- {0}
137jshell.err.option.or.filename = Specify no more than one of -default, -none, or a startup file name -- {0}
138jshell.err.unexpected.at.end = Unexpected arguments at end of command: {0} -- {1}
139jshell.err.conflicting.options = Conflicting options -- {0}
140jshell.err.cannot.delete.current.mode = The current feedback mode ''{0}'' cannot be deleted, use ''/set feedback'' first -- {1}
141jshell.err.cannot.delete.retained.mode = The retained feedback mode ''{0}'' cannot be deleted, use ''/set feedback -retain'' first -- {1}
142jshell.err.may.not.specify.options.and.snippets = Options and snippets must not both be used: {0}
143jshell.err.no.such.snippets = No such snippet: {0}
144jshell.err.the.snippet.cannot.be.used.with.this.command = This command does not accept the snippet ''{0}'' : {1}
145jshell.err.retained.mode.failure = Failure in retained modes (modes cleared) -- {0} {1}
146
147jshell.console.see.more = <press tab to see more>
148jshell.console.see.javadoc = <press shift-tab again to see javadoc>
149jshell.console.see.help = <press shift-tab again to see detailed help>
150jshell.console.see.next.page = -- Press space for next page, Q to quit. --
151jshell.console.see.next.javadoc = -- Press space for next javadoc, Q to quit. --
152jshell.console.no.javadoc = <no javadoc found>
153jshell.console.do.nothing = Do nothing
154jshell.console.choice = Choice: \
155
156jshell.console.create.variable = Create variable
157jshell.console.resolvable = \nThe identifier is resolvable in this context.
158jshell.console.no.candidate = \nNo candidate fully qualified names found to import.
159jshell.console.incomplete = \nResults may be incomplete; try again later for complete results.
160
161
162help.usage = \
163Usage:   jshell <options> <load files>\n\
164where possible options include:\n\
165\    --class-path <path>   Specify where to find user class files\n\
166\    --module-path <path>  Specify where to find application modules\n\
167\    --add-modules <module>(,<module>)*\n\
168\                          Specify modules to resolve, or all modules on the\n\
169\                           module path if <module> is ALL-MODULE-PATHs\n\
170\    --startup <file>      One run replacement for the start-up definitions\n\
171\    --no-startup          Do not run the start-up definitions\n\
172\    --feedback <mode>     Specify the initial feedback mode. The mode may be\n\
173\                           predefined (silent, concise, normal, or verbose) or\n\
174\                           previously user-defined\n\
175\    -q                    Quiet feedback.  Same as: --feedback concise\n\
176\    -s                    Really quiet feedback.  Same as: --feedback silent\n\
177\    -v                    Verbose feedback.  Same as: --feedback verbose\n\
178\    -J<flag>              Pass <flag> directly to the runtime system.\n\
179\                            Use one -J for each runtime flag or flag argument\n\
180\    -R<flag>              Pass <flag> to the remote runtime system.\n\
181\                            Use one -R for each remote flag or flag argument\n\
182\    -C<flag>              Pass <flag> to the compiler.\n\
183\                            Use one -C for each compiler flag or flag argument\n\
184\    --help                Print this synopsis of standard options\n\
185\    --version             Version information\n\
186\    -X                    Print help on non-standard options\n
187help.usage.x = \
188\    --add-exports <module>/<package>   Export specified module-private package to snippets\n\
189\    \n\
190\These options are non-standard and subject to change without notice.\n
191
192help.list.summary = list the source you have typed
193help.list.args = [<name or id>|-all|-start]
194help.list =\
195Show the source of snippets, prefaced with the snippet id.\n\
196\n\
197/list\n\t\
198    List the currently active snippets of code that you typed or read with /open\n\n\
199/list -start\n\t\
200    List the automatically evaluated start-up snippets\n\n\
201/list -all\n\t\
202    List all snippets including failed, overwritten, dropped, and start-up\n\n\
203/list <name>\n\t\
204    List snippets with the specified name (preference for active snippets)\n\n\
205/list <id>\n\t\
206    List the snippet with the specified snippet id
207
208help.edit.summary = edit a source entry referenced by name or id
209help.edit.args = <name or id>
210help.edit =\
211Edit a snippet or snippets of source in an external editor.\n\
212The editor to use is set with /set editor.\n\
213If no editor has been set, a simple editor will be launched.\n\
214\n\
215/edit <name>\n\t\
216    Edit the snippet or snippets with the specified name (preference for active snippets)\n\n\
217/edit <id>\n\t\
218    Edit the snippet with the specified snippet id\n\n\
219/edit\n\t\
220    Edit the currently active snippets of code that you typed or read with /open
221
222help.drop.summary = delete a source entry referenced by name or id
223help.drop.args = <name or id>
224help.drop =\
225Drop a snippet -- making it inactive.\n\
226\n\
227/drop <name>\n\t\
228    Drop the snippet with the specified name\n\n\
229/drop <id>\n\t\
230    Drop the snippet with the specified snippet id
231
232help.save.summary = Save snippet source to a file.
233help.save.args = [-all|-history|-start] <file>
234help.save =\
235Save the specified snippets and/or commands to the specified file.\n\
236\n\
237/save <file>\n\t\
238    Save the source of current active snippets to the file.\n\n\
239/save -all <file>\n\t\
240    Save the source of all snippets to the file.\n\t\
241    Includes source including overwritten, failed, and start-up code.\n\n\
242/save -history <file>\n\t\
243    Save the sequential history of all commands and snippets entered since jshell was launched.\n\n\
244/save -start <file>\n\t\
245    Save the default start-up definitions to the file.
246
247help.open.summary = open a file as source input
248help.open.args = <file>
249help.open =\
250Open a file and read its contents as snippets and commands.\n\
251\n\
252/open <file>\n\t\
253    Read the specified file as jshell input.
254
255help.vars.summary = list the declared variables and their values
256help.vars.args = [<name or id>|-all|-start]
257help.vars =\
258List the type, name, and value of jshell variables.\n\
259\n\
260/vars\n\t\
261    List the type, name, and value of the current active jshell variables\n\n\
262/vars <name>\n\t\
263    List jshell variables with the specified name (preference for active variables)\n\n\
264/vars <id>\n\t\
265    List the jshell variable with the specified snippet id\n\n\
266/vars -start\n\t\
267    List the automatically added start-up jshell variables\n\n\
268/vars -all\n\t\
269    List all jshell variables including failed, overwritten, dropped, and start-up
270
271help.methods.summary = list the declared methods and their signatures
272help.methods.args = [<name or id>|-all|-start]
273help.methods =\
274List the name, parameter types, and return type of jshell methods.\n\
275\n\
276/methods\n\t\
277    List the name, parameter types, and return type of the current active jshell methods\n\n\
278/methods <name>\n\t\
279    List jshell methods with the specified name (preference for active methods)\n\n\
280/methods <id>\n\t\
281    List the jshell method with the specified snippet id\n\n\
282/methods -start\n\t\
283    List the automatically added start-up jshell methods\n\n\
284/methods -all\n\t\
285    List all snippets including failed, overwritten, dropped, and start-up
286
287help.types.summary = list the declared types
288help.types.args =[<name or id>|-all|-start]
289help.types =\
290List jshell classes, interfaces, and enums.\n\
291\n\
292/types\n\t\
293    List the current active jshell classes, interfaces, and enums.\n\n\
294/types <name>\n\t\
295    List jshell types with the specified name (preference for active types)\n\n\
296/types <id>\n\t\
297    List the jshell type with the specified snippet id\n\n\
298/types -start\n\t\
299    List the automatically added start-up jshell types\n\n\
300/types -all\n\t\
301    List all jshell types including failed, overwritten, dropped, and start-up
302
303help.imports.summary = list the imported items
304help.imports.args =
305help.imports =\
306List the current active jshell imports.
307
308help.exit.summary = exit jshell
309help.exit.args =
310help.exit =\
311Leave the jshell tool.  No work is saved.\n\
312Save any work before using this command
313
314help.reset.summary = reset jshell
315help.reset.args =
316help.reset =\
317Reset the jshell tool code and execution state:\n\t\
318   * All entered code is lost.\n\t\
319   * Start-up code is re-executed.\n\t\
320   * The execution state is restarted.\n\t\
321   * The classpath is cleared.\n\
322Tool settings are maintained, as set with: /set ...\n\
323Save any work before using this command
324
325help.reload.summary = reset and replay relevant history -- current or previous (-restore)
326help.reload.args = [-restore] [-quiet]
327help.reload =\
328Reset the jshell tool code and execution state then replay each valid snippet\n\
329and any /drop or /classpath commands in the order they were entered.\n\
330\n\
331/reload\n\t\
332     Reset and replay the valid history since jshell was entered, or\n\t\
333     a /reset, or /reload command was executed -- whichever is most\n\t\
334     recent.\n\n\
335/reload -restore\n\t\
336     Reset and replay the valid history between the previous and most\n\t\
337     recent time that jshell was entered, or a /reset, or /reload\n\t\
338     command was executed. This can thus be used to restore a previous\n\t\
339     jshell tool sesson.\n\n\
340/reload [-restore] -quiet\n\t\
341     With the '-quiet' argument the replay is not shown.  Errors will display.
342
343help.classpath.summary = add a path to the classpath
344help.classpath.args = <path>
345help.classpath =\
346Append a additional path to the classpath.
347
348help.history.summary = history of what you have typed
349help.history.args =
350help.history =\
351Display the history of snippet and command input since this jshell was launched.
352
353help.debug.summary = toggle debugging of the jshell
354help.debug.args = [0][r][g][f][c][d][e]
355help.debug =\
356Display debugging information for the jshell implementation.\n\
3570: Debugging off\n\
358r: Tool level debugging on\n\
359g: General debugging on\n\
360f: File manager debugging on\n\
361c: Completion analysis debugging on\n\
362d: Dependency debugging on\n\
363e: Event debugging on
364
365help.help.summary = get information about jshell
366help.help.args = [<command>|<subject>]
367help.help =\
368Display information about jshell.\n\
369/help\n\t\
370     List the jshell commands and help subjects.\n\n\
371/help <command>\n\t\
372     Display information about the specified comand. The slash must be included.\n\t\
373     Only the first few letters of the command are needed -- if more than one\n\t\
374     each will be displayed.  Example:  /help /li\n\n\
375/help <subject>\n\t\
376     Display information about the specified help subject. Example: /help intro
377
378help.set.summary = set jshell configuration information
379help.set.args = editor|start|feedback|mode|prompt|truncation|format ...
380help.set =\
381Set jshell configuration information, including:\n\
382the external editor to use, the start-up definitions to use, a new feedback mode,\n\
383the command prompt, the feedback mode to use, or the format of output.\n\
384\n\
385/set editor [-wait] <command> <optional-arg>...\n\t\
386     Specify the command to launch for the /edit command.\n\t\
387     The <command> is an operating system dependent string.\n\n\
388/set start <file>\n\t\
389     The contents of the specified <file> become the default start-up snippets and commands.\n\n\
390/set feedback <mode>\n\t\
391     Set the feedback mode describing displayed feedback for entered snippets and commands.\n\n\
392/set mode <mode> [<old-mode>] -command|-quiet|-delete\n\t\
393     Create or update a user-defined feedback mode, optionally copying from an existing mode.\n\n\
394/set prompt <mode> "<prompt>" "<continuation-prompt>"\n\t\
395     Set the displayed prompts for a given feedback mode.\n\n\
396/set truncation <mode> <length> <selector>...\n\t\
397     Set the maximum length of a displayed value.\n\n\
398/set format <mode> <field> "<format>" <selector>...\n\t\
399     Configure a feedback mode by setting the format of a field when the selector matches.\n\n\
400/set\n\t\
401     Show editor, start, and feedback settings as /set commands.\n\t\
402     To show the settings of any of the above, omit the set value.\n\n\
403To get more information about one of these forms, use /help with the form specified.\n\
404For example:   /help /set format
405
406help.quest.summary = get information about jshell
407help.quest.args = [<command>|<subject>]
408help.quest =\
409Display information about jshell (abbreviation for /help).\n\
410/?\n\t\
411     Display list of commands and help subjects.\n\
412/? <command>\n\t\
413     Display information about the specified comand. The slash must be included.\n\t\
414     Only the first few letters of the command are needed -- if more than one\n\t\
415     match, each will be displayed.  Example:  /? /li\n\
416/? <subject>\n\t\
417     Display information about the specified help subject. Example: /? intro
418
419help.bang.summary = re-run last snippet
420help.bang.args =
421help.bang =\
422Reevaluate the most recently entered snippet.
423
424help.id.summary = re-run snippet by id
425help.id.args =
426help.id =\
427Reevaluate the snippet specified by the id.
428
429help.previous.summary = re-run n-th previous snippet
430help.previous.args =
431help.previous =\
432Reevaluate the n-th most recently entered snippet.
433
434help.intro.summary = an introduction to the jshell tool
435help.intro =\
436The jshell tool allows you to execute Java code, getting immediate results.\n\
437You can enter a Java definition (variable, method, class, etc), like:  int x = 8\n\
438or a Java expression, like:  x + x\n\
439or a Java statement or import.\n\
440These little chunks of Java code are called 'snippets'.\n\
441\n\
442There are also jshell commands that allow you to understand and\n\
443control what you are doing, like:  /list\n\
444\n\
445For a list of commands: /help
446
447help.shortcuts.summary = a description of shortcuts
448help.shortcuts =\
449Supported shortcuts include:\n\
450\n\
451<tab>\n\t\t\
452        After entering the first few letters of a Java identifier,\n\t\t\
453        a jshell command, or, in some cases, a jshell command argument,\n\t\t\
454        press the <tab> key to complete the input.\n\t\t\
455        If there is more than one completion, show possible completions.\n\n\
456Shift-<tab>\n\t\t\
457        After the name and open parenthesis of a method or constructor invocation,\n\t\t\
458        hold the <shift> key and press the <tab> to see a synopsis of all\n\t\t\
459        matching methods/constructors.\n\n\
460<fix-shortcut> v\n\t\t\
461        After a complete expression, press "<fix-shortcut> v" to introduce a new variable\n\t\t\
462        whose type is based on the type of the expression.\n\t\t\
463        The "<fix-shortcut>" is either Alt-F1 or Alt-Enter, depending on the platform.\n\n\
464<fix-shortcut> i\n\t\t\
465        After an unresolvable identifier, press "<fix-shortcut> i" and jshell will propose\n\t\t\
466        possible fully qualified names based on the content of the specified classpath.\n\t\t\
467        The "<fix-shortcut>" is either Alt-F1 or Alt-Enter, depending on the platform.
468
469help.set._retain = \
470The '-retain' option saves a setting so that it is used in future sessions.\n\
471The -retain option can be used on the following forms of /set:\n\n\t\
472/set editor -retain\n\t\
473/set start -retain\n\t\
474/set feedback -retain\n\t\
475/set mode -retain\n\n\
476See these commands for more detail -- for example /help /set editor
477
478help.set.format = \
479Set the format for reporting a snippet event:\n\
480\n\t\
481/set format <mode> <field> "<format>" <selector>...\n\
482\n\
483Show the format settings:\n\
484\n\t\
485/set format [<mode> [<field>]]\n\
486\n\
487Where <mode> is the name of a previously defined feedback mode -- see '/help /set mode'.\n\
488Where <field> is the name of context-specific format to define.\n\
489Where <format> is a quoted string which will be the value of the field if one of\n\
490the selectors matches (or there are no selectors). When the format is used,\n\
491field names enclosed in braces are replaced with the value of the field at that\n\
492time. These fields may have been previously defined with this command or may be\n\
493one of these predefined fields specific to the context:\n\t\
494{name}       == The name, e.g.: the variable name, ...\n\t\
495{type}       == The type name. The type of a variable or expression, the\n\t\t\t\
496                 parameter types of a method\n\t\
497{value}      == The result value of an expression or variable initialization\n\t\
498{unresolved} == The list of unresolved references\n\t\
499{errors}     == The list of recoverable errors (during the processing of the\n\t\t\t\
500                "display" field only)\n\t\
501{err}        == An unformatted error line (during the processing of the\n\t\t\t\
502                "errorline" field only)\n\
503The following fields are accessed by the tool to determine the displayed feedback:\n\t\
504{display}    == The displayed message for a snippet event\n\t\
505{errorline}  == The format of one error line within the "errors" field\n\t\
506{pre}        == The feedback prefix (begins command feedback)\n\t\
507{post}       == The feedback postfix (ends command feedback)\n\t\
508{errorpre}   == The error prefix (begins error feedback)\n\t\
509{errorpost}  == The error postfix (ends error feedback)\n\
510These fields have default settings (which may be overwritten).\n\
511Where <selector> is the context in which the format is applied.\n\
512The structure of selector is a hyphen separated list of selector kind lists.\n\
513A selector kind list is a comma separated list of values of one selector kind.\n\
514A selector matches if each selector kind list matches; A selector kind list\n\
515matches if one of the values matches.\n\n\
516The case selector kind describes the kind of snippet.  The values are:\n\t\
517   import     -- import declaration\n\t\
518   class      -- class declaration\n\t\
519   interface  -- interface declaration\n\t\
520   enum       -- enum declaration\n\t\
521   annotation -- annotation interface declaration\n\t\
522   method     -- method declaration -- note: {type}==parameter-types\n\t\
523   vardecl    -- variable declaration without init\n\t\
524   varinit    -- variable declaration with init\n\t\
525   expression -- expression -- note: {name}==scratch-variable-name\n\t\
526   varvalue   -- variable value expression\n\t\
527   assignment -- assign variable\n\t\
528   statement  -- statement\n\
529The action selector kind describes what happened to the snippet.  The values are:\n\t\
530   added     -- snippet has been added\n\t\
531   modified  -- an existing snippet has been modified\n\t\
532   replaced  -- an existing snippet has been replaced with a new snippet\n\t\
533   overwrote -- an existing snippet has been overwritten\n\t\
534   dropped   -- snippet has been dropped\n\t\
535   used      -- snippet was used when it cannot be\n\
536The when-did-it-occur selector kind describes if this is a direct or indirect action.  The values are:\n\t\
537   primary -- the entered snippet\n\t\
538   update  -- an update to a dependent snippet\n\
539The resolution-state selector kind describes the state of resolution/definition of the snippet.  The values are:\n\t\
540   ok         -- resolved correctly\n\t\
541   defined    -- defined despite recoverably unresolved references\n\t\
542   notdefined -- not defined because of recoverably unresolved references\n\
543The unresolved-count selector kind describes the number of unresolved references.  The values are:\n\t\
544   unresolved0 -- no names are unresolved\n\t\
545   unresolved1 -- one name is unresolved\n\t\
546   unresolved2 -- two or more names are unresolved\n\
547The errors-count selector kind describes the number of errors.  The values are:\n\t\
548   error0 -- no errors\n\t\
549   error1 -- one error\n\t\
550   error2 -- two or more errors\n\n\
551Examples:\n\t\
552/set format myformat action 'Created' added-primary\n\t\
553/set format myformat action 'Update replaced' replaced-update\n\t\
554/set format myformat display '{pre}{action} class {name}{post}' class-ok\n\t\
555/set format myformat display '{pre}{action} variable {name}, reset to null{post}' replaced-vardecl,varinit-ok-update\n\n\
556Note that subsequent selectors for a field may overwrite some or all of previous used selectors -- last one wins\n\
557\n\
558The form without <format> shows the current format settings.\n\
559When the <mode> is specified only the format settings for that mode are shown.\n\
560When both the <mode> and <field> are specified only the format settings for that\n\
561mode and field are shown.  Example:\n\t\
562/set format myformat\n\
563shows the format settings for the mode myformat\n
564
565help.set.truncation = \
566Set the max length of a displayed value:\n\
567\n\t\
568/set truncation <mode> <length> <selector>...\n\
569\n\
570Show the current truncation settings:\n\
571\n\t\
572/set truncation [<mode>]\n\
573\n\
574Where <mode> is the name of a previously defined feedback mode -- see '/help /set mode'.\n\
575Where <length> is an unsigned integer representing a maximum length.\n\
576Where <selector> is only needed if you wish to fine-tune value truncation length\n\
577by context, <selector> is the context in which the truncation is applied.\n\
578The structure of selector is a hyphen separated list of selector kind lists.\n\
579A selector kind list is a comma separated list of values of one selector kind.\n\
580A selector matches if each selector kind list matches; A selector kind list\n\
581matches if one of the values matches.\n\n\
582Below are the relevant selector kinds for truncation.\n\n\
583The case selector kind describes the kind of snippet.  The values are:\n\t\
584   vardecl    -- variable declaration without init\n\t\
585   varinit    -- variable declaration with init\n\t\
586   expression -- expression -- note: {name}==scratch-variable-name\n\t\
587   varvalue   -- variable value expression\n\t\
588   assignment -- assign variable\n\t\
589The action selector kind describes what happened to the snippet.  The values are:\n\t\
590   added     -- snippet has been added\n\t\
591   modified  -- an existing snippet has been modified\n\t\
592   replaced  -- an existing snippet has been replaced with a new snippet\n\
593Examples:\n\t\
594/set trunc mymode 80\n\t\
595/set truncation mymode 45 expression\n\t\
596/set truncation mymode 0 vardecl-modified,replaced\n\n\
597Note that subsequent selectors for a field may overwrite some or all of previous used selectors -- last one wins\n\
598\n\
599The form without <length> shows the truncation settings.\n\
600When the <mode> is specified only the truncation settings for that mode are shown.\n\
601Example:\n\t\
602/set truncation myformat\n\
603shows the truncation settings for the mode myformat\n
604
605help.set.feedback = \
606Set the feedback mode describing displayed feedback for entered snippets and commands:\n\
607\n\t\
608/set feedback [-retain] <mode>\n\
609\n\
610Retain the current feedback mode for future sessions:\n\
611\n\t\
612/set feedback -retain\n\
613\n\
614Show the feedback mode and list available modes:\n\
615\n\t\
616/set feedback\n\
617\n\
618Where <mode> is the name of a previously defined feedback mode.\n\
619You may use just enough letters to make it unique.\n\
620User-defined modes can be added, see '/help /set mode'\n\
621\n\
622When the -retain option is used, the setting will be used in this and future\n\
623runs of the jshell tool.\n\
624\n\
625The form without <mode> or -retain displays the current feedback mode and available modes.\n
626
627help.set.mode = \
628Create a user-defined feedback mode, optionally copying from an existing mode:\n\
629\n\t\
630/set mode <mode> [<old-mode>] [-command|-quiet|-delete]\n\
631Retain a user-defined feedback mode for future sessions:\n\
632\n\t\
633/set mode -retain <mode>\n\
634\n\
635Delete a user-defined feedback mode:\n\
636\n\t\
637/set mode -delete [-retain] <mode>\n\
638\n\
639Show feedback mode settings:\n\
640\n\t\
641/set mode [<mode>]\n\
642\n\
643Where <new-mode> is the name of a mode you wish to create.\n\
644Where <old-mode> is the name of a previously defined feedback mode.\n\
645If <old-mode> is present, its settings are copied to the new mode.\n\
646'-command' vs '-quiet' determines if informative/verifying command feedback is displayed.\n\
647\n\
648Once the new mode is created, use '/set format', '/set prompt' and '/set truncation'\n\
649to configure it.  Use '/set feedback' to use the new mode.\n\
650\n\
651When the -retain option is used, the mode (including its component prompt, format,\n\
652and truncation settings) will be used in this and future runs of the jshell tool.\n\
653When both -retain and -delete are used, the mode is deleted from the current\n\
654and future sessions.\n\
655\n\
656The form without options shows the mode settings.\n\
657When the <mode> is specified only the mode settings for that mode are shown.\n\
658Note: the settings for the mode include the settings for prompt, format, and\n\
659truncation -- so these are displayed as well.\n\
660Example:\n\t\
661/set mode myformat\n\
662shows the mode, prompt, format, and truncation settings for the mode myformat\n
663
664help.set.prompt = \
665Set the prompts.  Both the normal prompt and the continuation-prompt must be set:\n\
666\n\t\
667/set prompt <mode> \"<prompt>\" \"<continuation-prompt>\"\n\
668\n\
669Show the normal prompt and the continuation-prompts:\n\
670\n\t\
671/set prompt [<mode>]\n\
672\n\
673Where <mode> is the name of a previously defined feedback mode.\n\
674Where <prompt> and <continuation-prompt> are quoted strings printed as input prompts;\n\
675Both may optionally contain '%s' which will be substituted with the next snippet id --\n\
676note that what is entered may not be assigned that id, for example it may be an error or command.\n\
677The continuation-prompt is used on the second and subsequent lines of a multi-line snippet.\n\
678\n\
679The form without <prompt> shows the currently set prompts.\n\
680When the <mode> is specified only the prompts for that mode are shown.\n\
681Example:\n\t\
682/set prompt myformat\n\
683shows the prompts set for the mode myformat\n
684
685help.set.editor =\
686Specify the command to launch for the /edit command:\n\
687\n\t\
688/set editor [-retain] [-wait] <command>\n\
689\n\t\
690/set editor [-retain] -default\n\
691\n\t\
692/set editor [-retain] -delete\n\
693\n\
694Retain the current editor setting for future sessions:\n\
695\n\t\
696/set editor -retain\n\
697\n\
698Show the command to launch for the /edit command:\n\
699\n\t\
700/set editor\n\
701\n\
702The <command> is an operating system dependent string.\n\
703The <command> may include space-separated arguments (such as flags)\n\n\
704If the -default option is specified, the built-in default editor will be used.\n\n\
705If the -delete option is specified, previous settings are ignored -- the editor\n\
706settings are initialized as when starting the jshell tool.  Specifically, if there\n\
707is a retained setting it is used (unless both -retain and -delete are specified --\n\
708which deletes the retained setting), if one of these environment variables is set\n\
709it will be used: JSHELLEDITOR, VISUAL, or EDITOR (in that order).  Otherwise the\n\
710built-in default editor will be used.\n\n\
711If <command> is specified, it will be used as the external editor. The <command>\n\
712consists of the program and zero or more program arguments.  When <command>\n\
713is used, the temporary file to edit will be appended as the last argument.\n\
714Normally, edit mode will last until the external editor exits. Some external editors\n\
715will exit immediately (for example, if the edit window exists) either external editor\n\
716flags should be used to prevent immediate exit, or the -wait option should be used to\n\
717prompt the user to indicate when edit mode should end.\n\n\
718Note: while in edit mode no command inputs are seen.  After leaving edit mode changes\n\
719to the edited snippets are not seen.\n\
720\n\
721When the -retain option is used, the setting will be used in this and future\n\
722runs of the jshell tool.\n\
723\n\
724The form without <command> or options shows the editor setting.\n
725
726help.set.start =\
727Set the start-up configuration -- a sequence of snippets and commands read at start-up:\n\
728\n\t\
729/set start [-retain] <file>\n\
730\n\t\
731/set start [-retain] -default\n\
732\n\t\
733/set start [-retain] -none\n\
734\n\
735Retain the start-up configuration for future sessions:\n\
736\n\t\
737/set start -retain\n\
738\n\
739Show the start-up setting:\n\
740\n\t\
741/set start\n\
742\n\
743The contents of the specified <file> become the start-up snippets and commands used\n\
744when the /reset or /reload commands are used in this session.\n\
745If instead the -default option is specified, the predefined start-up snippets\n\
746will be used.\n\
747If the -none option is used, the start-up will be empty -- no start-up snippets\n\
748or commands will be used.\n\
749This command is good for testing the start-up settings.  To retain them for future\n\
750runs of the jshell tool use the command:\n\t\
751/set start -retain\n\
752\n\
753When the -retain option is used, the setting will be used in this and future\n\
754runs of the jshell tool.\n\
755\n\
756The form without <file> or options shows the start-up setting.\n\
757Note: if the start-up was last set from a file, this is shown with the\n\
758contents of the file followed by a 'set start' command.
759
760startup.feedback = \
761/set mode verbose -command    \n\
762\n\
763/set prompt verbose '\\njshell> '   '   ...> '    \n\
764\n\
765/set format verbose pre '|  '    \n\
766/set format verbose post '%n'    \n\
767/set format verbose errorpre '|  '    \n\
768/set format verbose errorpost '%n'    \n\
769\n\
770/set format verbose errorline '{post}{pre}    {err}'    \n\
771\n\
772/set format verbose action 'created' added-primary    \n\
773/set format verbose action 'modified' modified-primary    \n\
774/set format verbose action 'replaced' replaced-primary    \n\
775/set format verbose action 'overwrote' overwrote-primary    \n\
776/set format verbose action 'dropped' dropped-primary    \n\
777/set format verbose action '  update created' added-update    \n\
778/set format verbose action '  update modified' modified-update    \n\
779/set format verbose action '  update replaced' replaced-update    \n\
780/set format verbose action '  update overwrote' overwrote-update    \n\
781/set format verbose action '  update dropped' dropped-update    \n\
782\n\
783/set format verbose until ', however, it cannot be instanciated or its methods invoked until'   defined-class-primary    \n\
784/set format verbose until ', however, its methods cannot be invoked until'                      defined-interface-primary    \n\
785/set format verbose until ', however, it cannot be used until'                                  defined-enum,annotation-primary    \n\
786/set format verbose until ', however, it cannot be invoked until'                               defined-method-primary    \n\
787/set format verbose until ', however, it cannot be referenced until'                            notdefined-primary    \n\
788/set format verbose until ' which cannot be instanciated or its methods invoked until'          defined-class-update    \n\
789/set format verbose until ' whose methods cannot be invoked until'                              defined-interface-update    \n\
790/set format verbose until ' which cannot be invoked until'                                      defined-method-update    \n\
791/set format verbose until ' which cannot be referenced until'                                   notdefined-update    \n\
792\n\
793/set format verbose unrerr '{unresolved} is declared'                                           unresolved1-error0    \n\
794/set format verbose unrerr '{unresolved} are declared'                                          unresolved2-error0    \n\
795/set format verbose unrerr ' this error is corrected: {errors}'                                 unresolved0-error1    \n\
796/set format verbose unrerr '{unresolved} is declared and this error is corrected: {errors}'     unresolved1-error1    \n\
797/set format verbose unrerr '{unresolved} are declared and this error is corrected: {errors}'    unresolved2-error1    \n\
798/set format verbose unrerr ' these errors are corrected: {errors}'                              unresolved0-error2    \n\
799/set format verbose unrerr '{unresolved} is declared and these errors are corrected: {errors}'  unresolved1-error2    \n\
800/set format verbose unrerr '{unresolved} are declared and these errors are corrected: {errors}' unresolved2-error2    \n\
801\n\
802/set format verbose resolve '{until}{unrerr}'                                                   defined,notdefined-added,modified,replaced,used    \n\
803\n\
804/set format verbose typeKind 'class'                  class    \n\
805/set format verbose typeKind 'interface'              interface    \n\
806/set format verbose typeKind 'enum'                   enum    \n\
807/set format verbose typeKind 'annotation interface'   annotation    \n\
808\n\
809/set format verbose result '{name} ==> {value}{post}'                                        added,modified,replaced-ok-primary    \n\
810\n\
811/set format verbose display '{result}{pre}created scratch variable {name} : {type}{post}'    expression-added,modified,replaced-primary    \n\
812/set format verbose display '{result}{pre}value of {name} : {type}{post}'                    varvalue-added,modified,replaced-primary    \n\
813/set format verbose display '{result}{pre}assigned to {name} : {type}{post}'                 assignment-primary    \n\
814/set format verbose display '{result}{pre}{action} variable {name} : {type}{resolve}{post}'  varinit,vardecl    \n\
815/set format verbose display '{pre}{action} variable {name}{resolve}{post}'                   vardecl,varinit-notdefined    \n\
816/set format verbose display '{pre}{action} variable {name}{post}'                            dropped-vardecl,varinit,expression    \n\
817/set format verbose display '{pre}{action} variable {name}, reset to null{post}'             replaced-vardecl,varinit-ok-update    \n\
818\n\
819/set format verbose display '{pre}{action} {typeKind} {name}{resolve}{post}'                 class,interface,enum,annotation    \n\
820/set format verbose display '{pre}{action} method {name}({type}){resolve}{post}'             method    \n\
821\n\
822/set format verbose display '{pre}attempted to use {typeKind} {name}{resolve}{post}'         used-class,interface,enum,annotation    \n\
823/set format verbose display '{pre}attempted to call method {name}({type}){resolve}{post}'    used-method    \n\
824\n\
825/set truncation verbose 80\n\
826/set truncation verbose 1000                                                                  varvalue,expression\n\
827\n\
828/set mode normal -command verbose    \n\
829/set format normal display ''                                                               added,modified,replaced,overwrote,dropped-update    \n\
830/set format normal display '{pre}{action} variable {name}, reset to null{post}'             replaced-vardecl,varinit-ok-update    \n\
831/set format normal display '{result}'                                                       added,modified,replaced-expression,varvalue,assignment,varinit,vardecl-ok-primary    \n\
832/set mode concise -quiet normal    \n\
833\n\
834/set prompt concise 'jshell> '   '   ...> '    \n\
835\n\
836/set format concise display ''                                                              class,interface,enum,annotation,method,assignment,varinit,vardecl-ok    \n\
837\n\
838/set feedback normal    \n\
839\n\
840/set mode silent -quiet    \n\
841/set prompt silent '-> ' '>> '    \n\
842/set truncation silent 80\n\
843/set truncation silent 1000                                                                  varvalue,expression\n\
844/set format silent pre '|  '    \n\
845/set format silent post '%n'    \n\
846/set format silent errorpre '|  '    \n\
847/set format silent errorpost '%n'    \n\
848/set format silent display ''    \n
849