247 Edit the snippet with the specified snippet id\n\n\ |
247 Edit the snippet with the specified snippet id\n\n\ |
248 /edit <id> <id>...\n\t\ |
248 /edit <id> <id>...\n\t\ |
249 Edit the snippets with the specified snippet ids\n\n\ |
249 Edit the snippets with the specified snippet ids\n\n\ |
250 /edit <id>-<id>\n\t\ |
250 /edit <id>-<id>\n\t\ |
251 Edit the snippets within the range of snippet ids\n\n\ |
251 Edit the snippets within the range of snippet ids\n\n\ |
|
252 /edit -start\n\t\ |
|
253 Edit the automatically evaluated start-up snippets. Any changes are in this\n\t\ |
|
254 session, and do not affect the start-up setting\n\n\ |
|
255 /edit -all\n\t\ |
|
256 Edit all snippets including failed, overwritten, dropped, and start-up\n\n\ |
252 /edit\n\t\ |
257 /edit\n\t\ |
253 Edit the currently active snippets of code that you typed or read with /open |
258 Edit the currently active snippets of code that you typed or read with /open |
254 |
259 |
255 help.drop.summary = delete a source entry referenced by name or id |
260 help.drop.summary = delete a source entry referenced by name or id |
256 help.drop.args = <name or id> |
261 help.drop.args = <name or id> |
391 Reset and replay the valid history since jshell was entered, or\n\t\ |
396 Reset and replay the valid history since jshell was entered, or\n\t\ |
392 a /reset, or /reload command was executed -- whichever is most\n\t\ |
397 a /reset, or /reload command was executed -- whichever is most\n\t\ |
393 recent.\n\n\ |
398 recent.\n\n\ |
394 /reload -restore\n\t\ |
399 /reload -restore\n\t\ |
395 Reset and replay the valid history between the previous and most\n\t\ |
400 Reset and replay the valid history between the previous and most\n\t\ |
396 recent time that jshell was entered, or a /reset, or /reload\n\t\ |
401 recent time that jshell was entered, or a /reset, /reload, or /env\n\t\ |
397 command was executed. This can thus be used to restore a previous\n\t\ |
402 command was executed. This can thus be used to restore a previous\n\t\ |
398 jshell tool session.\n\n\ |
403 jshell tool session.\n\n\ |
399 /reload [-restore] -quiet\n\t\ |
404 /reload [-restore] -quiet\n\t\ |
400 With the '-quiet' argument the replay is not shown. Errors will display.\n\ |
405 With the '-quiet' argument the replay is not shown. Errors will display.\n\ |
401 \n\ |
406 \n\ |
693 The errors-count selector kind describes the number of errors. The values are:\n\t\ |
698 The errors-count selector kind describes the number of errors. The values are:\n\t\ |
694 error0 -- no errors\n\t\ |
699 error0 -- no errors\n\t\ |
695 error1 -- one error\n\t\ |
700 error1 -- one error\n\t\ |
696 error2 -- two or more errors\n\n\ |
701 error2 -- two or more errors\n\n\ |
697 Examples:\n\t\ |
702 Examples:\n\t\ |
698 /set format myformat action 'Created' added-primary\n\t\ |
703 /set format mymode action 'Created' added-primary\n\t\ |
699 /set format myformat action 'Update replaced' replaced-update\n\t\ |
704 /set format mymode action 'Update replaced' replaced-update\n\t\ |
700 /set format myformat display '{pre}{action} class {name}{post}' class-ok\n\t\ |
705 /set format mymode display '{pre}{action} class {name}{post}' class-ok\n\t\ |
701 /set format myformat display '{pre}{action} variable {name}, reset to null{post}' replaced-vardecl,varinit-ok-update\n\n\ |
706 /set format mymode display '{pre}{action} variable {name}, reset to null{post}' replaced-vardecl,varinit-ok-update\n\n\ |
702 Note that subsequent selectors for a field may overwrite some or all of previous used selectors -- last one wins\n\ |
707 Note that subsequent selectors for a field may overwrite some or all of previous used selectors -- last one wins\n\ |
703 \n\ |
708 \n\ |
704 The form without <format> shows the current format settings.\n\ |
709 The form without <format> shows the current format settings.\n\ |
705 When the <mode> is specified only the format settings for that mode are shown.\n\ |
710 When the <mode> is specified only the format settings for that mode are shown.\n\ |
706 When both the <mode> and <field> are specified only the format settings for that\n\ |
711 When both the <mode> and <field> are specified only the format settings for that\n\ |
707 mode and field are shown. Example:\n\t\ |
712 mode and field are shown. Example:\n\t\ |
708 /set format myformat\n\ |
713 /set format mymode\n\ |
709 shows the format settings for the mode myformat\n |
714 shows the format settings for the mode mymode\n |
710 |
715 |
711 help.set.truncation = \ |
716 help.set.truncation = \ |
712 Set the max length of a displayed value:\n\ |
717 Set the max length of a displayed value:\n\ |
713 \n\t\ |
718 \n\t\ |
714 /set truncation <mode> <length> <selector>...\n\ |
719 /set truncation <mode> <length> <selector>...\n\ |
743 Note that subsequent selectors for a field may overwrite some or all of previous used selectors -- last one wins\n\ |
748 Note that subsequent selectors for a field may overwrite some or all of previous used selectors -- last one wins\n\ |
744 \n\ |
749 \n\ |
745 The form without <length> shows the truncation settings.\n\ |
750 The form without <length> shows the truncation settings.\n\ |
746 When the <mode> is specified only the truncation settings for that mode are shown.\n\ |
751 When the <mode> is specified only the truncation settings for that mode are shown.\n\ |
747 Example:\n\t\ |
752 Example:\n\t\ |
748 /set truncation myformat\n\ |
753 /set truncation mymode\n\ |
749 shows the truncation settings for the mode myformat\n |
754 shows the truncation settings for the mode mymode\n |
750 |
755 |
751 help.set.feedback = \ |
756 help.set.feedback = \ |
752 Set the feedback mode describing displayed feedback for entered snippets and commands:\n\ |
757 Set the feedback mode describing displayed feedback for entered snippets and commands:\n\ |
753 \n\t\ |
758 \n\t\ |
754 /set feedback [-retain] <mode>\n\ |
759 /set feedback [-retain] <mode>\n\ |
816 When the form without options is used, the mode settings are displayed.\n\ |
821 When the form without options is used, the mode settings are displayed.\n\ |
817 When the <mode> is specified, only the mode settings for that mode are shown.\n\ |
822 When the <mode> is specified, only the mode settings for that mode are shown.\n\ |
818 Note: the settings for the mode include the settings for prompt, format, and\n\ |
823 Note: the settings for the mode include the settings for prompt, format, and\n\ |
819 truncation.\n\ |
824 truncation.\n\ |
820 Example:\n\t\ |
825 Example:\n\t\ |
821 /set mode myformat\n\ |
826 /set mode mymode\n\ |
822 \n\ |
827 \n\ |
823 shows the mode, prompt, format, and truncation settings for the mode myformat |
828 shows the mode, prompt, format, and truncation settings for the mode mymode |
824 |
829 |
825 help.set.prompt = \ |
830 help.set.prompt = \ |
826 Set the prompts. Both the normal prompt and the continuation-prompt must be set:\n\ |
831 Set the prompts. Both the normal prompt and the continuation-prompt must be set:\n\ |
827 \n\t\ |
832 \n\t\ |
828 /set prompt <mode> \"<prompt>\" \"<continuation-prompt>\"\n\ |
833 /set prompt <mode> \"<prompt>\" \"<continuation-prompt>\"\n\ |
838 The continuation-prompt is used on the second and subsequent lines of a multi-line snippet.\n\ |
843 The continuation-prompt is used on the second and subsequent lines of a multi-line snippet.\n\ |
839 \n\ |
844 \n\ |
840 The form without <prompt> shows the currently set prompts.\n\ |
845 The form without <prompt> shows the currently set prompts.\n\ |
841 When the <mode> is specified only the prompts for that mode are shown.\n\ |
846 When the <mode> is specified only the prompts for that mode are shown.\n\ |
842 Example:\n\t\ |
847 Example:\n\t\ |
843 /set prompt myformat\n\ |
848 /set prompt mymode\n\ |
844 shows the prompts set for the mode myformat\n |
849 shows the prompts set for the mode mymode\n |
845 |
850 |
846 help.set.editor =\ |
851 help.set.editor =\ |
847 Specify the command to launch for the /edit command:\n\ |
852 Specify the command to launch for the /edit command:\n\ |
848 \n\t\ |
853 \n\t\ |
849 /set editor [-retain] [-wait] <command>\n\ |
854 /set editor [-retain] [-wait] <command>\n\ |