How do I run the code from a scratch file in IntelliJ 14?

前端 未结 1 1890
野性不改
野性不改 2021-02-20 06:02

I\'ve created a simple Java scratch file containing a class named \"TestGenerics\" containing some code and a main method. The code seems to be fine,

1条回答
  •  春和景丽
    2021-02-20 06:49

    This was previously not possible, but is now supported for some languages. such as Java and Ruby. For these languages, you should be able to run the scratch file in the same way as you run any other file.

    0 讨论(0)
提交回复
热议问题