awesome-aricawesome-aric
文档
GitHub
文档
GitHub
  • 介绍
  • Visual Studio Code

    • vscode常用配置
  • Git

    • 安装
    • 常用命令
    • 合并指定commit到指定分支
    • GitHub
  • Python

    • python
    • pip
    • 虚拟环境
    • django+celery+redis简单用法
    • Awesome Python (个人向)
  • .Net

    • EF
    • path
  • JavaScript

    • js
    • 使用axios传集合型参数
    • layui的table加载数据时默认选中
  • Linux

    • nginx常用命令
  • Docker

    • Docker常用命令
    • Docker安装
    • Docker 部署项目(简易版)
  • 踩坑记录

    • 软件包管理器
    • PowerShell
    • Pycharm

vscode常用配置

js片段

可以简化输入

{
	// Place your snippets for javascript here. Each snippet is defined under a snippet name and has a prefix, body and 
	// description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
	// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the 
	// same ids are connected.
	"Print to console": {
		"prefix": "clog",
		"body": [
			"console.log('$1');",
			"$2"
		],
		"description": "Log output to console"
	}
}
编辑此页
上次更新: 2021/12/15 13:23
贡献者: aric, Aric