Is there some ide(like idea for java) for p4 programers?

To verify the feasibility of some P4 programs is not convenient


I don’t think there is an IDE focused particularly on P4 but you can use the Atom editor and the language-p4 syntax highlighter. There is a similar plugin (that probably offers a few more functionalities) for IntelliJ IDEA like the P4 Language Support plugin [1] [2].