zwh 2 years ago
commit
31c5b30b87
3 changed files with 56 additions and 0 deletions
  1. 29 0
      .gitignore
  2. 22 0
      src/com/zwh/test/Main.java
  3. 5 0
      src/com/zwh/test/utils/DateUtil.java

+ 29 - 0
.gitignore

@@ -0,0 +1,29 @@
+### IntelliJ IDEA ###
+out/
+!**/src/main/**/out/
+!**/src/test/**/out/
+
+### Eclipse ###
+.apt_generated
+.classpath
+.factorypath
+.project
+.settings
+.springBeans
+.sts4-cache
+bin/
+!**/src/main/**/bin/
+!**/src/test/**/bin/
+
+### NetBeans ###
+/nbproject/private/
+/nbbuild/
+/dist/
+/nbdist/
+/.nb-gradle/
+
+### VS Code ###
+.vscode/
+
+### Mac OS ###
+.DS_Store

+ 22 - 0
src/com/zwh/test/Main.java

@@ -0,0 +1,22 @@
+package com.zwh.test;
+
+import java.util.ArrayList;
+
+// Press Shift twice to open the Search Everywhere dialog and type `show whitespaces`,
+// then press Enter. You can now see whitespace characters in your code.
+public class Main {
+    public static void main(String[] args) {
+        // Press Alt+Enter with your caret at the highlighted text to see how
+        // IntelliJ IDEA suggests fixing it.
+        System.out.println("Hello and welcome!");
+        System.out.println("hello");
+        new ArrayList<String>();
+        // Press Shift+F10 or click the green arrow button in the gutter to run the code.
+        for (int i = 1; i <= 5; i++) {
+            // Press Shift+F9 to start debugging your code. We have set one breakpoint
+            // for you, but you can always add more by pressing Ctrl+F8.
+            System.out.println("i = " + i);
+
+        }
+    }
+}

+ 5 - 0
src/com/zwh/test/utils/DateUtil.java

@@ -0,0 +1,5 @@
+package com.zwh.test.utils;
+
+public class DateUtil {
+
+}