Eclipse reading stdin (System.in) from a file

后端 未结 11 1954
轮回少年
轮回少年 2020-11-27 03:40

Is it possible for Eclipse to read stdin from a file?

11条回答
  •  清酒与你
    2020-11-27 04:06

    2015 update

    There is a new Eclipse version, Eclipse 4.5 (Mars) which has fixed the issue!

    This is the announcement and description of the feature: http://eclipse.org/mars/noteworthy/#_assigning_stdin_to_a_file

    Stdin can now be assigned to a file in the Common tab of launch configuration dialogs. enter image description here

    As expected, this is a new feature of the just released eclipse 4.5 and will therefore not work in an older version.

提交回复
热议问题