Package com.vaadin.copilot.ide
Class IdeUtils
java.lang.Object
com.vaadin.copilot.ide.IdeUtils
Utility class for currently used IDE
Supports detecting VS Code, Eclipse and IntelliJ.
-
Nested Class Summary
Nested Classes -
Method Summary
-
Method Details
-
findIde
Finds IDE used to run application- Returns:
- optional IDE
-
openFile
Opens the given file at the given line number in the IDE used to launch the current Java application.If you are running the Java application from the command line or from an unsupported IDE, then this method does nothing.
- Parameters:
file
- the file to openlineNumber
- the line number to highlight
-
main
-