Skip to content

DryPilgrim/JavaTutorial

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JavaTutorial

1. Description

This is the sync code repo of my class team's classwork. Everyone has right to fork it for learning. Yet, any pull request won't be accepted.

2. Sructure

|-src
    |-app
    |   |-StartUp.java  # entry point of this program
    |-Chapter
        |-Router.java   # router for chapter selection
        |-one           # chapter number
        |   |-Router.java       # router for internal chapter selection
        |   |-four              #internal chapter number
        |   |   |-Display.java      #display module of this level
        |   |   |-Factor.java       #\
        |   |   |-LuckyDraw.java    # \---implement of sepcific functions
        |   |-five              #internal chpter number
        |   |   |-xxx               #similar struct of the folder at the same layer
        |   |-xxx               #similar struct of the folder at the same layer
        |-xxx           #similar struct of the folder at the same layer

3. Dependences

  • JDK (version 1.8.0 or later)
  • Eclipse or VScode with java supurt

To enable java support of vscode, the following plugins are required:

4. Build && Run

4.1. Eclipse users

Really easy, just follow the build botten of the IDE

4.2. VScode users

Well, if you have install all the plugins referenced in 'Dependences' section, the launch setting file(.vscode/launch.json) should already automatically generated corretly. At the entry point main(String[] args), you will see the launch option showed blow.

codeLen

Here is the ideal content of .vscode/lauch.json:

{
    "configurations": [
        {
            "type": "java",
            "name": "CodeLens (Launch) - StartUp",
            "request": "launch",
            "mainClass": "app.startUp",
            "projectName": "JavaTutorial",
            "console": "externalTerminal"
        }
    ]
}

Note: the last k-v "console": "externalTerminal" needs to be added manually.

About

Sync code repo for java classwork.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%