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