1. Create a Project from Maven Template
In a terminal (*uix or Mac) or command prompt (Windows), navigate to the folder you want to create the Java project. Type this command :
将以下代码保存到bat文件中, 然后执行:
以下是Visual Studio Code支持的代码块折叠标记及快捷键:
在VSC里, 代码片段和其他提示混合出现在智能感知中(Windows: Ctrl + Space
, Mac: Cmd + Space
), 也可以使用通过 Cmd/Ctrl + Shift + P
> Insert Snippet 手动选择指定的代码片段, 同时支持使用tab完成代码片段插入: 使用配置"editor.tabCompletion": "on"
开启, 输入代码片段的前缀(prefix), 然后按下 Tab 按键即可.
解决 Visual Studio Code Markdown 文件不能插入代码片段问题
向配置文件增加以下配置:
{
"[markdown]": {
"editor.wordWrap": "on",
"editor.quickSuggestions": true
},
}
Vintage is a vi mode editing package for Sublime Text. It allows you to combine vi's command mode with Sublime Text's features, including multiple selections.
Vintage mode is developed in the open, and patches are more than welcome. If you'd like to contribute, details are in the GitHub repo.
Linux文件系统损坏修复
原文: Structure needs cleaning” error - cannot mount partition
设置Mac系统的JAVA_HOME
环境变量:
Mac系统,添加code
到PATH
环境变量:
按下 Command + Shift + P,然后输入Shell Command
, 选择 Shell Command: Install 'code' command in PATH
即可.
计算hash值:
import crypto from "crypto";
const clearText = "待计算文本";
const hashValue = crypto.createHash("sha256").update(clearText).digest("hex");
Spring Boot 应用配置 Hot Swapping
FROM Hot Swapping In Spring Boot
What helped me in IntelliJ 15.0, windows 10, was the following sequence:
To configure a Java application to send web traffic to Fiddler, set the proxy using jre:
jre -DproxySet=true -Dhttp.proxyHost=127.0.0.1 -Dhttp.proxyPort=8888
VSCode 配置: