Create custom feedback mode in jshell

流过昼夜 提交于 2019-12-05 20:19:20

You can create your own custom feedback mode using the command:

/set mode <your-mode-name> -command|-quiet

where the -command option indicates that you want command feedback. If you don't want commands to describe the action that occurred, then use -quiet instead of -command.

If you want to copy an existing mode, you can do that as:

/set mode <your-mode-name> <existing-mode-name> -command|-quiet

For example

/set mode samplemode concise -command

In order to merge the functionality of both, you might have to edit the attributes from the command line for one that you didn't initially copy from.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!