JetbrainIDEs
快捷键
# 函数参数提示
Command + P # MAC
文件和代码模板
Python
#!/usr/bin python3
# coding: utf-8
"""
FILE: ${FILE_NAME}
DATE: ${DATE} ${TIME}
DESC:
"""
__author__ = "bovenson"
__maintainer__ = "bovenson"
__version__ = "1.0"
__email__ = "[email protected]"
__date__ = "${DATE}"
#!/bin/python3
# coding: utf-8
"""
FILE: ${FILE_NAME}
DESC:
"""
__author__ = "bovenson"
__email__ = "[email protected]"
__date__ = "${YEAR}-${MONTH}-${DAY} ${HOUR}:${MINUTE}"
Js
/*
* @author bovenson
* @email [email protected]
* @file ${NAME}
* @date ${DATE}
* @desc DESCRIPTION
**/
Copyright
设置
Preferences -> Editor -> Copyright -> Copyright Profiles -> Add
Copyright (c) $today.year. XiaoMi Inc. All Rights Reserved.
Authors: Sun Zhenkai <[email protected]>.
Created on $today.year/$today.month/$today.day $today.hour24:$today.minute:$today.second.
添加 Scope - Copyright Profile
右键 -> generate -> copyright
注释符在行首的问题
Setting -> Editor -> Code Style -> Comment Code
- 取消 Line comment in first column
- 勾选 Add a space at comment start
Hide File & Directory
Open Settings
File | Settings | Editor | File Types
IntelliJ IDEA | Preferences | Editor | File Types for OS X
Modify Config
Add patterns for ignoring files
最后更新于
这有帮助吗?