代码片段 notepad++

来源:互联网 发布:平板电脑推荐 知乎 编辑:程序博客网 时间:2024/05/16 00:26

my.ftd

(1) 基本
mymain2
GLOBAL
This is some stub text for the content of your new snippet.
Please replace the stub text with the content that you want to show when the snippet is triggered.

Enjoy!
[>END<]!$[FingerTextData FingerTextData]@#
mymain
GLOBAL
This is some stub text for the content of your new snippet.
Please replace the stub text with the content that you want to show when the snippet is triggered.

Enjoy!
[>END<]!$[FingerTextData FingerTextData]@#

(2)特殊,指定文件名字
template
Name:makefile
CXXFLAGS = -O2 -g -Wall -fmessage-length=0

OBJS = $[![file name]!].o

LIBS =

TARGET = $[![file name]!].exe

(TARGET):(OBJS)
(CXX)o(TARGET) (OBJS)(LIBS)

all: $(TARGET)

clean:
rm -f (OBJS)(TARGET)
[>END<]!$[FingerTextData FingerTextData]@#

(3)指定语言
if
Lang:MATLAB
if [![condition]!],[![]!]
end[>END<]!$[FingerTextData FingerTextData]@#

0 0
原创粉丝点击