l10n.properties revision 3403:d59aae1fe07b
1779Sjoehw# 2779Sjoehw# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved. 3779Sjoehw# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4779Sjoehw# 5779Sjoehw# This code is free software; you can redistribute it and/or modify it 6779Sjoehw# under the terms of the GNU General Public License version 2 only, as 7779Sjoehw# published by the Free Software Foundation. Oracle designates this 8779Sjoehw# particular file as subject to the "Classpath" exception as provided 9779Sjoehw# by Oracle in the LICENSE file that accompanied this code. 10779Sjoehw# 11779Sjoehw# This code is distributed in the hope that it will be useful, but WITHOUT 12779Sjoehw# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 13779Sjoehw# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14779Sjoehw# version 2 for more details (a copy is included in the LICENSE file that 15779Sjoehw# accompanied this code). 16779Sjoehw# 17779Sjoehw# You should have received a copy of the GNU General Public License version 18779Sjoehw# 2 along with this work; if not, write to the Free Software Foundation, 19779Sjoehw# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20779Sjoehw# 21779Sjoehw# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22779Sjoehw# or visit www.oracle.com if you need additional information or have any 23779Sjoehw# questions. 24779Sjoehw# 25779Sjoehw 26779Sjoehwjshell.msg.welcome =\ 27779SjoehwWelcome to JShell -- Version {0}\n\ 28779SjoehwFor an introduction type: /help intro\n 29779Sjoehwjshell.err.opt.classpath.conflict = Conflicting -classpath option. 30779Sjoehwjshell.err.opt.classpath.arg = Argument to -classpath missing. 31779Sjoehwjshell.err.opt.feedback.arg = Argument to -feedback missing. Mode required. 32779Sjoehwjshell.err.opt.startup.conflict = Conflicting -startup or -nostartup option. 33779Sjoehwjshell.err.opt.unknown = Unknown option: {0} 34779Sjoehw 35779Sjoehwjshell.msg.terminated =\ 36779SjoehwState engine terminated.\n\ 37779SjoehwRestore definitions with: /reload restore 38779Sjoehw 39779Sjoehwjshell.msg.use.one.of = Use one of: {0} 40779Sjoehwjshell.err.def.or.id.not.found = No applicable definition or id found named: {0} 41779Sjoehwjshell.msg.see.classes.etc = See /types, /methods, /vars, or /list 42779Sjoehwjshell.err.arg = Invalid ''{0}'' argument: {1} 43779Sjoehwjshell.msg.see = See {0} for help. 44779Sjoehw 45779Sjoehwjshell.err.file.not.accessible = File ''{1}'' for ''{0}'' is not accessible: {2} 46779Sjoehwjshell.err.file.not.found = File ''{1}'' for ''{0}'' is not found. 47779Sjoehwjshell.err.file.exception = File ''{1}'' for ''{0}'' threw exception: {2} 48779Sjoehwjshell.err.file.filename = ''{0}'' requires a filename argument. 49779Sjoehw 50779Sjoehwjshell.err.startup.unexpected.exception = Unexpected exception reading start-up: {0} 51779Sjoehwjshell.err.unexpected.exception = Unexpected exception: {0} 52779Sjoehw 53779Sjoehwjshell.err.no.such.command.or.snippet.id = No such command or snippet id: {0} 54779Sjoehwjshell.err.command.ambiguous = Command: ''{0}'' is ambiguous: {1} 55779Sjoehwjshell.err.set.editor.arg = The ''/set editor'' command requires a path argument 56779Sjoehwjshell.msg.set.editor.set = Editor set to: {0} 57779Sjoehwjshell.err.cant.launch.editor = Cannot launch editor -- unexpected exception: {0} 58779Sjoehwjshell.msg.try.set.editor = Try /set editor to use external editor. 59 60jshell.msg.try.command.without.args = Try ''{0}'' without arguments. 61jshell.msg.no.active = There are no active definitions. 62 63jshell.msg.resetting = Resetting... 64jshell.msg.resetting.state = Resetting state. 65 66jshell.err.reload.no.previous = No previous history to restore 67jshell.err.reload.restarting.previous.state = Restarting and restoring from previous state. 68jshell.err.reload.restarting.state = Restarting and restoring state. 69 70jshell.msg.vars.not.active = (not-active) 71 72jshell.err.out.of.range = Out of range 73 74jshell.msg.error = Error: 75jshell.msg.warning = Warning: 76 77jshell.err.set.arg = The ''/set'' command requires a sub-command and arguments. See: ''/help /set'' 78jshell.err.set.ambiguous = Ambiguous sub-command argument to ''/set'': {0} 79 80jshell.err.classpath.arg = The /classpath command requires a path argument. 81jshell.msg.classpath = Path ''{0}'' added to classpath 82 83jshell.err.help.arg = No commands or subjects start with the provided argument: {0} 84jshell.msg.help.begin =\ 85Type a Java language expression, statement, or declaration.\n\ 86Or type one of the following commands:\n 87jshell.msg.help.subject =\n\ 88For more information type ''/help'' followed by the name of command or a subject.\n\ 89For example ''/help /list'' or ''/help intro''. Subjects:\n 90 91jshell.err.drop.arg =\ 92In the /drop argument, please specify an import, variable, method, or class to drop.\n\ 93Specify by id or name. Use /list to see ids. Use /reset to reset all state. 94jshell.err.drop.not.active = The argument did not specify an active import, variable, method, or class to drop. 95jshell.err.drop.ambiguous = The argument references more than one import, variable, method, or class. 96jshell.err.failed = Failed. 97jshell.msg.native.method = Native Method 98jshell.msg.unknown.source = Unknown Source 99jshell.msg.goodbye = Goodbye 100 101jshell.msg.help.for.help = Type /help for help. 102 103jshell.err.feedback.expected.new.feedback.mode = Expected new feedback mode -- {0} 104jshell.err.feedback.expected.mode.name = Expected a new feedback mode name. ''{0}'' is a known feedback mode -- {1} 105jshell.err.feedback.command.quiet = Specify either ''command'' or ''quiet'' -- {0} 106jshell.err.feedback.expected.field = Expected field name missing -- {0} 107jshell.err.feedback.expected.mode = Expected a feedback mode -- {0} 108jshell.err.feedback.does.not.match.mode = Does not match any current feedback mode: {0} -- {1} 109jshell.err.feedback.ambiguous.mode = Matches more then one current feedback mode: {0} -- {1} 110jshell.err.feedback.expected.format = Expected format missing -- {0} 111jshell.err.feedback.must.be.quoted = Format ''{0}'' must be quoted -- {1} 112jshell.err.feedback.not.a.valid.selector = Not a valid selector ''{0}'' in ''{1}'' -- {2} 113jshell.err.feedback.multiple.sections = Selector kind in multiple sections of selector list ''{0}'' in ''{1}'' -- {2} 114jshell.err.feedback.different.selector.kinds = Different selector kinds in same sections of selector list ''{0}'' in ''{1}'' -- {2} 115 116jshell.msg.feedback.new.mode = Created new feedback mode: {0} 117jshell.msg.feedback.mode = Feedback mode: {0} 118jshell.msg.feedback.mode.following = The feedback mode should be one of the following: 119 120jshell.err.truncation.expected.length = Expected truncation length -- {0} 121jshell.err.truncation.length.not.integer = Truncation length must be an integer: {0} -- {1} 122 123jshell.console.see.more = <press tab to see more> 124jshell.console.do.nothing = Do nothing 125jshell.console.choice = Choice: \ 126 127jshell.console.create.variable = Create variable 128jshell.console.resolvable = \nThe identifier is resolvable in this context. 129jshell.console.no.candidate = \nNo candidate fully qualified names found to import. 130jshell.console.incomplete = \nResults may be incomplete; try again later for complete results. 131 132 133help.usage = \ 134Usage: jshell <options> <load files>\n\ 135where possible options include:\n\ 136\ -classpath <path> Specify where to find user class files\n\ 137\ -cp <path> Specify where to find user class files\n\ 138\ -startup <file> One run replacement for the start-up definitions\n\ 139\ -nostartup Do not run the start-up definitions\n\ 140\ -feedback <mode> Specify the initial feedback mode. The mode may be\n\ 141\ predefined (silent, concise, normal, or verbose) or\n\ 142\ previously user-defined\n\ 143\ -q Quiet feedback. Same as: -feedback concise\n\ 144\ -qq Really quiet feedback. Same as: -feedback silent\n\ 145\ -v Verbose feedback. Same as: -feedback verbose\n\ 146\ -J<flag> Pass <flag> directly to the runtime system.\n\ 147\ Use one -J for each runtime flag or flag argument\n\ 148\ -R<flag> Pass <flag> to the remote runtime system.\n\ 149\ Use one -R for each remote flag or flag argument\n\ 150\ -help Print this synopsis of standard options\n\ 151\ -version Version information\n 152 153help.list.summary = list the source you have typed 154help.list.args = [<name or id>|all|start] 155help.list =\ 156Show the source of snippets, prefaced with the snippet id.\n\ 157\n\ 158/list\n\t\ 159 List the currently active snippets of code that you typed or read with /open\n\n\ 160/list start\n\t\ 161 List the automatically evaluated start-up snippets\n\n\ 162/list all\n\t\ 163 List all snippets including failed, overwritten, dropped, and start-up\n\n\ 164/list <name>\n\t\ 165 List snippets with the specified name (preference for active snippets)\n\n\ 166/list <id>\n\t\ 167 List the snippet with the specified snippet id 168 169help.edit.summary = edit a source entry referenced by name or id 170help.edit.args = <name or id> 171help.edit =\ 172Edit a snippet or snippets of source in an external editor.\n\ 173The editor to use is set with /set editor.\n\ 174If no editor has been set, a simple editor will be launched.\n\ 175\n\ 176/edit <name>\n\t\ 177 Edit the snippet or snippets with the specified name (preference for active snippets)\n\n\ 178/edit <id>\n\t\ 179 Edit the snippet with the specified snippet id\n\n\ 180/edit\n\t\ 181 Edit the currently active snippets of code that you typed or read with /open 182 183help.drop.summary = delete a source entry referenced by name or id 184help.drop.args = <name or id> 185help.drop =\ 186Drop a snippet -- making it inactive.\n\ 187\n\ 188/drop <name>\n\t\ 189 Drop the snippet with the specified name\n\n\ 190/drop <id>\n\t\ 191 Drop the snippet with the specified snippet id 192 193help.save.summary = Save snippet source to a file. 194help.save.args = [all|history|start] <file> 195help.save =\ 196Save the specified snippets and/or commands to the specified file.\n\ 197\n\ 198/save <file>\n\t\ 199 Save the source of current active snippets to the file.\n\n\ 200/save all <file>\n\t\ 201 Save the source of all snippets to the file.\n\t\ 202 Includes source including overwritten, failed, and start-up code.\n\n\ 203/save history <file>\n\t\ 204 Save the sequential history of all commands and snippets entered since jshell was launched.\n\n\ 205/save start <file>\n\t\ 206 Save the default start-up definitions to the file. 207 208help.open.summary = open a file as source input 209help.open.args = <file> 210help.open =\ 211Open a file and read its contents as snippets and commands.\n\ 212\n\ 213/open <file>\n\t\ 214 Read the specified file as jshell input. 215 216help.vars.summary = list the declared variables and their values 217help.vars.args = [<name or id>|all|start] 218help.vars =\ 219List the type, name, and value of jshell variables.\n\ 220\n\ 221/vars\n\t\ 222 List the type, name, and value of the current active jshell variables\n\n\ 223/vars <name>\n\t\ 224 List jshell variables with the specified name (preference for active variables)\n\n\ 225/vars <id>\n\t\ 226 List the jshell variable with the specified snippet id\n\n\ 227/vars start\n\t\ 228 List the automatically added start-up jshell variables\n\n\ 229/vars all\n\t\ 230 List all jshell variables including failed, overwritten, dropped, and start-up 231 232help.methods.summary = list the declared methods and their signatures 233help.methods.args = [<name or id>|all|start] 234help.methods =\ 235List the name, parameter types, and return type of jshell methods.\n\ 236\n\ 237/methods\n\t\ 238 List the name, parameter types, and return type of the current active jshell methods\n\n\ 239/methods <name>\n\t\ 240 List jshell methods with the specified name (preference for active methods)\n\n\ 241/methods <id>\n\t\ 242 List the jshell method with the specified snippet id\n\n\ 243/methods start\n\t\ 244 List the automatically added start-up jshell methods\n\n\ 245/methods all\n\t\ 246 List all snippets including failed, overwritten, dropped, and start-up 247 248help.types.summary = list the declared types 249help.types.args =[<name or id>|all|start] 250help.types =\ 251List jshell classes, interfaces, and enums.\n\ 252\n\ 253/types\n\t\ 254 List the current active jshell classes, interfaces, and enums.\n\n\ 255/types <name>\n\t\ 256 List jshell types with the specified name (preference for active types)\n\n\ 257/types <id>\n\t\ 258 List the jshell type with the specified snippet id\n\n\ 259/types start\n\t\ 260 List the automatically added start-up jshell types\n\n\ 261/types all\n\t\ 262 List all jshell types including failed, overwritten, dropped, and start-up 263 264help.imports.summary = list the imported items 265help.imports.args = 266help.imports =\ 267List the current active jshell imports. 268 269help.exit.summary = exit jshell 270help.exit.args = 271help.exit =\ 272Leave the jshell tool. No work is saved.\n\ 273Save any work before using this command 274 275help.reset.summary = reset jshell 276help.reset.args = 277help.reset =\ 278Reset the jshell tool code and execution state:\n\t\ 279 * All entered code is lost.\n\t\ 280 * Start-up code is re-executed.\n\t\ 281 * The execution state is restarted.\n\t\ 282 * The classpath is cleared.\n\ 283Tool settings are maintained, as set with: /set ...\n\ 284Save any work before using this command 285 286help.reload.summary = reset and replay relevant history -- current or previous (restore) 287help.reload.args = [restore] [quiet] 288help.reload =\ 289Reset the jshell tool code and execution state then replay each\n\ 290jshell valid command and valid snippet in the order they were entered.\n\ 291\n\ 292/reload\n\t\ 293 Reset and replay the valid history since jshell was entered, or\n\t\ 294 a /reset, or /reload command was executed -- whichever is most\n\t\ 295 recent.\n\n\ 296/reload restore\n\t\ 297 Reset and replay the valid history between the previous and most\n\t\ 298 recent time that jshell was entered, or a /reset, or /reload\n\t\ 299 command was executed. This can thus be used to restore a previous\n\t\ 300 jshell tool sesson.\n\n\ 301/reload [restore] quiet\n\t\ 302 With the 'quiet' argument the replay is not shown. Errors will display. 303 304help.classpath.summary = add a path to the classpath 305help.classpath.args = <path> 306help.classpath =\ 307Append a additional path to the classpath. 308 309help.history.summary = history of what you have typed 310help.history.args = 311help.history =\ 312Display the history of snippet and command input since this jshell was launched. 313 314help.debug.summary = toggle debugging of the jshell 315help.debug.args = [0][r][g][f][c][d][e] 316help.debug =\ 317Display debugging information for the jshell implementation.\n\ 3180: Debugging off\n\ 319r: Tool level debugging on\n\ 320g: General debugging on\n\ 321f: File manager debugging on\n\ 322c: Completion analysis debugging on\n\ 323d: Dependency debugging on\n\ 324e: Event debugging on 325 326help.help.summary = get information about jshell 327help.help.args = [<command>|<subject>] 328help.help =\ 329Display information about jshell.\n\ 330/help\n\t\ 331 List the jshell commands and help subjects.\n\n\ 332/help <command>\n\t\ 333 Display information about the specified comand. The slash must be included.\n\t\ 334 Only the first few letters of the command are needed -- if more than one\n\t\ 335 each will be displayed. Example: /help /li\n\n\ 336/help <subject>\n\t\ 337 Display information about the specified help subject. Example: /help intro 338 339help.set.summary = set jshell configuration information 340help.set.args = editor|start|feedback|newmode|prompt|truncation|format ... 341help.set =\ 342Set jshell configuration information, including:\n\ 343the external editor to use, the start-up definitions to use, a new feedback mode,\n\ 344the command prompt, the feedback mode to use, or the format of output.\n\ 345\n\ 346/set editor <command> <optional-arg>...\n\t\ 347 Specify the command to launch for the /edit command.\n\t\ 348 The <command> is an operating system dependent string.\n\n\ 349/set start <file>\n\t\ 350 The contents of the specified <file> become the default start-up snippets and commands.\n\n\ 351/set feedback <mode>\n\t\ 352 Set the feedback mode describing displayed feedback for entered snippets and commands.\n\n\ 353/set newmode <new-mode> [command|quiet [<old-mode>]]\n\t\ 354 Create a user-defined feedback mode, optionally copying from an existing mode.\n\n\ 355/set prompt <mode> "<prompt>" "<continuation-prompt>"\n\t\ 356 Set the displayed prompts for a given feedback mode.\n\n\ 357/set truncation <mode> <length> <selector>...\n\t\ 358 Set the maximum length of a displayed value\n\t\ 359/set format <mode> <field> "<format>" <selector>...\n\t\ 360 Configure a feedback mode by setting the format of a field when the selector matchs.\n\n\ 361To get more information about one of these forms, use /help with the form specified.\n\ 362For example: /help /set format 363 364help.quest.summary = get information about jshell 365help.quest.args = [<command>|<subject>] 366help.quest =\ 367Display information about jshell (abbreviation for /help).\n\ 368/?\n\t\ 369 Display list of commands and help subjects.\n\ 370/? <command>\n\t\ 371 Display information about the specified comand. The slash must be included.\n\t\ 372 Only the first few letters of the command are needed -- if more than one\n\t\ 373 match, each will be displayed. Example: /? /li\n\ 374/? <subject>\n\t\ 375 Display information about the specified help subject. Example: /? intro 376 377help.bang.summary = re-run last snippet 378help.bang.args = 379help.bang =\ 380Reevaluate the most recently entered snippet. 381 382help.id.summary = re-run snippet by id 383help.id.args = 384help.id =\ 385Reevaluate the snippet specified by the id. 386 387help.previous.summary = re-run n-th previous snippet 388help.previous.args = 389help.previous =\ 390Reevaluate the n-th most recently entered snippet. 391 392help.intro.summary = an introduction to the jshell tool 393help.intro =\ 394The jshell tool allows you to execute Java code, getting immediate results.\n\ 395You can enter a Java definition (variable, method, class, etc), like: int x = 8\n\ 396or a Java expression, like: x + x\n\ 397or a Java statement or import.\n\ 398These little chunks of Java code are called 'snippets'.\n\ 399\n\ 400There are also jshell commands that allow you to understand and\n\ 401control what you are doing, like: /list\n\ 402\n\ 403For a list of commands: /help 404 405help.shortcuts.summary = a description of shortcuts 406help.shortcuts =\ 407Supported shortcuts include:\n\ 408\n\ 409<tab>\n\t\t\ 410 After entering the first few letters of a Java identifier,\n\t\t\ 411 a jshell command, or, in some cases, a jshell command argument,\n\t\t\ 412 press the <tab> key to complete the input.\n\t\t\ 413 If there is more than one completion, show possible completions.\n\n\ 414Shift-<tab>\n\t\t\ 415 After the name and open parenthesis of a method or constructor invocation,\n\t\t\ 416 hold the <shift> key and press the <tab> to see a synopsis of all\n\t\t\ 417 matching methods/constructors.\n\n\ 418<fix-shortcut> v\n\t\t\ 419 After a complete expression, press "<fix-shortcut> v" to introduce a new variable\n\t\t\ 420 whose type is based on the type of the expression.\n\t\t\ 421 The "<fix-shortcut>" is either Alt-F1 or Alt-Enter, depending on the platform.\n\n\ 422<fix-shortcut> i\n\t\t\ 423 After an unresolvable identifier, press "<fix-shortcut> i" and jshell will propose\n\t\t\ 424 possible fully qualified names based on the content of the specified classpath.\n\t\t\ 425 The "<fix-shortcut>" is either Alt-F1 or Alt-Enter, depending on the platform. 426 427help.set.format = \ 428Set the format for reporting a snippet event.\n\ 429\n\t\ 430/set format <mode> <field> "<format>" <selector>...\n\ 431\n\ 432Where <mode> is the name of a previously defined feedback mode -- see '/help /set newmode'.\n\ 433Where <field> is the name of context-specific format to define.\n\ 434Where <format> is a quoted string which will be the value of the field if one of\n\ 435the selectors matches (or there are no selectors). When the format is used,\n\ 436field names enclosed in braces are replaced with the value of the field at that\n\ 437time. These fields may have been previously defined with this command or may be\n\ 438one of these predefined fields specific to the context:\n\t\ 439{name} == The name, e.g.: the variable name, ...\n\t\ 440{type} == The type name. The type of a variable or expression, the\n\t\t\t\ 441 parameter types of a method\n\t\ 442{value} == The result value of an expression or variable initialization\n\t\ 443{unresolved} == The list of unresolved references\n\t\ 444{errors} == The list of recoverable errors (during the processing of the\n\t\t\t\ 445 "display" field only)\n\t\ 446{err} == An unformatted error line (during the processing of the\n\t\t\t\ 447 "errorline" field only)\n\ 448The following fields are accessed by the tool to determine the displayed feedback:\n\t\ 449{display} == The displayed message for a snippet event\n\t\ 450{errorline} == The format of one error line within the "errors" field\n\t\ 451{pre} == The feedback prefix (begins command feedback)\n\t\ 452{post} == The feedback postfix (ends command feedback)\n\t\ 453{errorpre} == The error prefix (begins error feedback)\n\t\ 454{errorpost} == The error postfix (ends error feedback)\n\ 455These fields have default settings (which may be overwritten).\n\ 456Where <selector> is the context in which the format is applied.\n\ 457The structure of selector is a hyphen separated list of selector kind lists.\n\ 458A selector kind list is a comma separated list of values of one selector kind.\n\ 459A selector matches if each selector kind list matches; A selector kind list\n\ 460matches if one of the values matches.\n\n\ 461The case selector kind describes the kind of snippet. The values are:\n\t\ 462 import -- import declaration\n\t\ 463 class -- class declaration\n\t\ 464 interface -- interface declaration\n\t\ 465 enum -- enum declaration\n\t\ 466 annotation -- annotation interface declaration\n\t\ 467 method -- method declaration -- note: {type}==parameter-types\n\t\ 468 vardecl -- variable declaration without init\n\t\ 469 varinit -- variable declaration with init\n\t\ 470 expression -- expression -- note: {name}==scratch-variable-name\n\t\ 471 varvalue -- variable value expression\n\t\ 472 assignment -- assign variable\n\t\ 473 statement -- statement\n\ 474The action selector kind describes what happened to the snippet. The values are:\n\t\ 475 added -- snippet has been added\n\t\ 476 modified -- an existing snippet has been modified\n\t\ 477 replaced -- an existing snippet has been replaced with a new snippet\n\t\ 478 overwrote -- an existing snippet has been overwritten\n\t\ 479 dropped -- snippet has been dropped\n\t\ 480 used -- snippet was used when it cannot be\n\ 481The when-did-it-occur selector kind describes if this is a direct or indirect action. The values are:\n\t\ 482 primary -- the entered snippet\n\t\ 483 update -- an update to a dependent snippet\n\ 484The resolution-state selector kind describes the state of resolution/definition of the snippet. The values are:\n\t\ 485 ok -- resolved correctly\n\t\ 486 defined -- defined despite recoverably unresolved references\n\t\ 487 notdefined -- not defined because of recoverably unresolved references\n\ 488The unresolved-count selector kind describes the number of unresolved references. The values are:\n\t\ 489 unresolved0 -- no names are unresolved\n\t\ 490 unresolved1 -- one name is unresolved\n\t\ 491 unresolved2 -- two or more names are unresolved\n\ 492The errors-count selector kind describes the number of errors. The values are:\n\t\ 493 error0 -- no errors\n\t\ 494 error1 -- one error\n\t\ 495 error2 -- two or more errors\n\n\ 496Examples:\n\t\ 497/set format myformat action 'Created' added-primary\n\t\ 498/set format myformat action 'Update replaced' replaced-update\n\t\ 499/set format myformat display '{pre}{action} class {name}{post}' class-ok\n\t\ 500/set format myformat display '{pre}{action} variable {name}, reset to null{post}' replaced-vardecl,varinit-ok-update\n\n\ 501Note that subsequent selectors for a field may overwrite some or all of previous used selectors -- last one wins\n 502 503help.set.truncation = \ 504Set the max length a displayed value.\n\ 505\n\t\ 506/set truncation <mode> <length> <selector>...\n\ 507\n\ 508Where <mode> is the name of a previously defined feedback mode -- see '/help /set newmode'.\n\ 509Where <length> is an unsigned integer representing a maximum length.\n\ 510Where <format> is a quoted string which will be the value of the field if one of\n\ 511Where <selector> is only needed if you wish to fine-tune value truncation length\n\ 512by context, <selector> is the context in which the truncation is applied.\n\ 513The structure of selector is a hyphen separated list of selector kind lists.\n\ 514A selector kind list is a comma separated list of values of one selector kind.\n\ 515A selector matches if each selector kind list matches; A selector kind list\n\ 516matches if one of the values matches.\n\n\ 517Below are the relevant selector kinds for truncation.\n\n\ 518The case selector kind describes the kind of snippet. The values are:\n\t\ 519 vardecl -- variable declaration without init\n\t\ 520 varinit -- variable declaration with init\n\t\ 521 expression -- expression -- note: {name}==scratch-variable-name\n\t\ 522 varvalue -- variable value expression\n\t\ 523 assignment -- assign variable\n\t\ 524The action selector kind describes what happened to the snippet. The values are:\n\t\ 525 added -- snippet has been added\n\t\ 526 modified -- an existing snippet has been modified\n\t\ 527 replaced -- an existing snippet has been replaced with a new snippet\n\ 528Examples:\n\t\ 529/set trunc mymode 80\n\t\ 530/set truncation mymode 45 expression\n\t\ 531/set truncation mymode 0 vardecl-modified,replaced\n\n\ 532Note that subsequent selectors for a field may overwrite some or all of previous used selectors -- last one wins\n 533 534help.set.feedback = \ 535Set the feedback mode describing displayed feedback for entered snippets and commands.\n\ 536\n\t\ 537/set feedback <mode>\n\ 538\n\ 539Where <mode> is the name of a previously defined feedback mode.\n\ 540You may use just enough letters to make it unique.\n\ 541User-defined modes can be added, see '/help /set newmode'\n\ 542Currently defined feedback modes:\n 543 544help.set.newmode = \ 545Create a user-defined feedback mode, optionally copying from an existing mode.\n\ 546\n\t\ 547/set newmode <new-mode> [command|quiet [<old-mode>]]\n\ 548\n\ 549Where <new-mode> is the name of a mode you wish to create.\n\ 550Where <old-mode> is the name of a previously defined feedback mode.\n\ 551If <old-mode> is present, its settings are copied to the new mode.\n\ 552'command' vs 'quiet' determines if informative/verifying command feedback is displayed.\n\ 553\n\ 554Once the new mode is created, use '/set format' and '/set prompt' to configure it.\n\ 555Use '/set feedback' to use the new mode.\n\ 556 557help.set.prompt = \ 558Set the prompts. Both the normal prompt and the continuation-prompt must be set.\n\ 559\n\t\ 560/set prompt <mode> \"<prompt>\" \"<continuation-prompt>\"\n\ 561\n\ 562Where <mode> is the name of a previously defined feedback mode.\n\ 563Where <prompt> and <continuation-prompt> are quoted strings printed as input prompts;\n\ 564Both may optionally contain '%s' which will be substituted with the next snippet id --\n\ 565note that what is entered may not be assigned that id, for example it may be an error or command.\n\ 566The continuation-prompt is used on the second and subsequent lines of a multi-line snippet.\n 567 568help.set.editor =\ 569Specify the command to launch for the /edit command.\n\ 570\n\t\ 571/set editor <command> <optional-arg>...\n\ 572\n\ 573The <command> is an operating system dependent string.\n\ 574The <command> may include space-separated arguments (such as flags) -- <optional-arg>....\n\ 575When /edit is used, the temporary file to edit will be appended as the last argument. 576 577help.set.start =\ 578Set the start-up configuration -- a sequence of snippets and commands read at start-up.\n\ 579\n\t\ 580/set start <file>\n\ 581\n\ 582The contents of the specified <file> become the default start-up snippets and commands --\n\ 583which are run when the jshell tool is started or reset. 584 585startup.feedback = \ 586/set newmode verbose command \n\ 587\n\ 588/set prompt verbose '\\njshell> ' ' ...> ' \n\ 589\n\ 590/set format verbose pre '| ' \n\ 591/set format verbose post '%n' \n\ 592/set format verbose errorpre '| ' \n\ 593/set format verbose errorpost '%n' \n\ 594\n\ 595/set format verbose errorline '{post}{pre} {err}' \n\ 596\n\ 597/set format verbose action 'created' added-primary \n\ 598/set format verbose action 'modified' modified-primary \n\ 599/set format verbose action 'replaced' replaced-primary \n\ 600/set format verbose action 'overwrote' overwrote-primary \n\ 601/set format verbose action 'dropped' dropped-primary \n\ 602/set format verbose action ' update created' added-update \n\ 603/set format verbose action ' update modified' modified-update \n\ 604/set format verbose action ' update replaced' replaced-update \n\ 605/set format verbose action ' update overwrote' overwrote-update \n\ 606/set format verbose action ' update dropped' dropped-update \n\ 607\n\ 608/set format verbose until ', however, it cannot be instanciated or its methods invoked until' defined-class-primary \n\ 609/set format verbose until ', however, its methods cannot be invoked until' defined-interface-primary \n\ 610/set format verbose until ', however, it cannot be used until' defined-enum,annotation-primary \n\ 611/set format verbose until ', however, it cannot be invoked until' defined-method-primary \n\ 612/set format verbose until ', however, it cannot be referenced until' notdefined-primary \n\ 613/set format verbose until ' which cannot be instanciated or its methods invoked until' defined-class-update \n\ 614/set format verbose until ' whose methods cannot be invoked until' defined-interface-update \n\ 615/set format verbose until ' which cannot be invoked until' defined-method-update \n\ 616/set format verbose until ' which cannot be referenced until' notdefined-update \n\ 617\n\ 618/set format verbose unrerr '{unresolved} is declared' unresolved1-error0 \n\ 619/set format verbose unrerr '{unresolved} are declared' unresolved2-error0 \n\ 620/set format verbose unrerr ' this error is corrected: {errors}' unresolved0-error1 \n\ 621/set format verbose unrerr '{unresolved} is declared and this error is corrected: {errors}' unresolved1-error1 \n\ 622/set format verbose unrerr '{unresolved} are declared and this error is corrected: {errors}' unresolved2-error1 \n\ 623/set format verbose unrerr ' these errors are corrected: {errors}' unresolved0-error2 \n\ 624/set format verbose unrerr '{unresolved} is declared and these errors are corrected: {errors}' unresolved1-error2 \n\ 625/set format verbose unrerr '{unresolved} are declared and these errors are corrected: {errors}' unresolved2-error2 \n\ 626\n\ 627/set format verbose resolve '{until}{unrerr}' added,modified,replaced,used \n\ 628\n\ 629/set format verbose typeKind 'class' class \n\ 630/set format verbose typeKind 'interface' interface \n\ 631/set format verbose typeKind 'enum' enum \n\ 632/set format verbose typeKind 'annotation interface' annotation \n\ 633\n\ 634/set format verbose result '{name} ==> {value}{post}' added,modified,replaced-ok-primary \n\ 635\n\ 636/set format verbose display '{result}{pre}created scratch variable {name} : {type}{post}' expression-primary \n\ 637/set format verbose display '{result}{pre}value of {name} : {type}{post}' varvalue-primary \n\ 638/set format verbose display '{result}{pre}assigned to {name} : {type}{post}' assignment-primary \n\ 639/set format verbose display '{result}{pre}{action} variable {name} : {type}{resolve}{post}' varinit,vardecl \n\ 640/set format verbose display '{pre}{action} variable {name}{resolve}{post}' vardecl,varinit-notdefined \n\ 641/set format verbose display '{pre}{action} variable {name}{post}' dropped-vardecl,varinit \n\ 642/set format verbose display '{pre}{action} variable {name}, reset to null{post}' replaced-vardecl,varinit-ok-update \n\ 643\n\ 644/set format verbose display '{pre}{action} {typeKind} {name}{resolve}{post}' class,interface,enum,annotation \n\ 645/set format verbose display '{pre}{action} method {name}({type}){resolve}{post}' method \n\ 646\n\ 647/set format verbose display '{pre}attempted to use {typeKind} {name}{resolve}{post}' used-class,interface,enum,annotation \n\ 648/set format verbose display '{pre}attempted to call method {name}({type}){resolve}{post}' used-method \n\ 649\n\ 650/set truncation verbose 80\n\ 651/set truncation verbose 500 varvalue\n\ 652\n\ 653/set newmode normal command verbose \n\ 654/set format normal display '' added,modified,replaced,overwrote,dropped-update \n\ 655/set format normal display '{pre}{action} variable {name}, reset to null{post}' replaced-vardecl,varinit-ok-update \n\ 656/set format normal display '{result}' added,modified,replaced-expression,varvalue,assignment,varinit,vardecl-ok-primary \n\ 657/set newmode concise quiet normal \n\ 658\n\ 659/set prompt concise 'jshell> ' ' ...> ' \n\ 660\n\ 661/set format concise display '' class,interface,enum,annotation,method,assignment,varinit,vardecl-ok \n\ 662\n\ 663/set feedback normal \n\ 664\n\ 665/set newmode silent quiet \n\ 666/set prompt silent '-> ' '>> ' \n\ 667/set format silent pre '| ' \n\ 668/set format silent post '%n' \n\ 669/set format silent errorpre '| ' \n\ 670/set format silent errorpost '%n' \n\ 671/set format silent display '' \n 672