Workspace Environment Configuration On Windows10

Git C Python Java Tomcat

Posted by zhangzexin on May 13, 2018

Git

Frist step:download the git bash clients
download

Second step: initilzation settings

  • Set your name and email address
    git config --global user.name "Frist name Second name"
    git config --global user.email "your_email@example.com"
    

    check you infomathon in ~/.gitconfig

  • Set SSH Key
    ssh-keygen -t rsa -C "your_email@example.com"
    enter your password:
    enter the same password:
    
  • Add public key Obtain the key
    cat ~/.ssh/id_rsa.pub
    ssh-rsa 'keys' your_email@example.com
    

    Copy the keys from bash to github_SSH_Key webpages with a email check.

  • Verification pipes
    ssh -T git@github.com
    are you sure you want to contine connecting (yes/no) ? 'input yes'
    
  • The following results showing you are successful.
    Hi ??? ! You've successfully authenticated , but Github does not provide shell access.
    

Third step:Commonly used commands

git clone git@github.com:???/???.git
git status 
git commit -m "notes here"
git push
git log

Visual Studio Code

Frist step:download vscode and basic modules
download home

  • Astyle
  • C/C++
  • Code Runner
  • Python
  • Markdown All in one

Second step:get Mingw and Astyle binary file
download page

Third step:initilzation Configuration to reach c/c++’s bulid`run and debug launch.json

{  
    "version": "0.2.0",  
    "configurations": [  

        {  
            "name": "(gdb) Launch", 
            "type": "cppdbg",       
            "request": "launch",   
            "program": "${workspaceRoot}/${fileBasenameNoExtension}.exe",
            "args": [],             
            "stopAtEntry": false,     
            "cwd": "${workspaceRoot}",
            "environment": [],  
            "externalConsole": true, 
            "MIMode": "gdb",  
            "miDebuggerPath": "C:\\mingw64\\bin\\gdb.exe", 
            "preLaunchTask": "g++",  
            "setupCommands": [  
                {   
					"description": "Enable pretty-printing for gdb",  
                    "text": "-enable-pretty-printing",  
                    "ignoreFailures": true  
                }  
            ]  
        }  
    ]  
}

tasks.json

{  
    "version": "2.0.0",  
    "command": "g++",  
    "args": ["-g","${file}","-o","${workspaceRoot}/${fileBasenameNoExtension}.exe"],   
    "problemMatcher": {  
        "owner": "cpp",  
        "fileLocation": ["relative", "${workspaceRoot}"],  
        "pattern": {  
            "regexp": "^(.*):(\\d+):(\\d+):\\s+(warning|error):\\s+(.*)$",  
            "file": 1,  
            "line": 2,  
            "column": 3,  
            "severity": 4,  
            "message": 5  
        }  
    }  
}  

c_cpp_properties.json

{
    "configurations": [
        {
            "name": "Mac",
            "includePath": [
                "/usr/include",
                "/usr/local/include",
                "${workspaceFolder}"
            ],
            "defines": [],
            "intelliSenseMode": "clang-x64",
            "browse": {
                "path": [
                    "/usr/include",
                    "/usr/local/include",
                    "${workspaceFolder}"
                ],
                "limitSymbolsToIncludedHeaders": true,
                "databaseFilename": ""
            },
            "macFrameworkPath": [
                "/System/Library/Frameworks",
                "/Library/Frameworks"
            ]
        },
        {
            "name": "Linux",
            "includePath": [
                "/usr/include",
                "/usr/local/include",
                "${workspaceFolder}"
            ],
            "defines": [],
            "intelliSenseMode": "clang-x64",
            "browse": {
                "path": [
                    "/usr/include",
                    "/usr/local/include",
                    "${workspaceFolder}"
                ],
                "limitSymbolsToIncludedHeaders": true,
                "databaseFilename": ""
            }
        },
        {
            "name": "Win32",
            "includePath": [
                "C:/mingw64/include/*",
                "C:/mingw64/include/gdb/*",
                "C:/mingw64/include/libiberty/*"
                
            ],
            "defines": [
                "_DEBUG",
                "UNICODE",
                "_UNICODE"
            ],
            "intelliSenseMode": "msvc-x64",
            "browse": {
                "path": [
                    "${workspaceFolder}"
                ],
                "limitSymbolsToIncludedHeaders": true,
                "databaseFilename": ""
            },
            "cStandard": "c11",
            "cppStandard": "c++17"
        }
    ],
    "version": 3
}

Java

JDK download jdk

Java IDE:Jet Brains IntelliJ IDEA Download Ultimate Version

active server address : http://idea.hfuuosc.org:1027

Web Server

tomcat download tomcat download the 64-bit Windows zip version and unzip the package.

use startup command in cmd to start tomcat9.

More

when i think of it