通业开发人论坛

 找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 378|回复: 0

Visual AssistX 使用技巧

[复制链接]
发表于 2014-4-10 13:52:21 | 显示全部楼层 |阅读模式
本帖最后由 wangxin 于 2014-4-10 13:53 编辑

Visual AssistX 使用技巧

Reserved StringMeaning中文
Date$DATE$Year/month/day formatted as %04d/%02d/%02d2012/07/03
$DATE_LOCALE$Current date in locale format2012-7-3
$DAY$Day of month formatted as %d3
$DAY_02$Day of month formatted as %02d03
$DAYNAME$Day abbreviation in locale format星期二
$DAYLONGNAME$Full name of day in locale format星期二
$MONTH$Month formatted as %d7
$MONTH_02$Month formatted as %02d07
$MONTHNAME$Month abbreviation in locale format七月
$MONTHLONGNAME$Full name of month in locale format七月
$YEAR$Year formatted as %d2012
$YEAR_02$Year formatted as %02d12
Time$HOUR$Hour formatted as %d11
$HOUR_02$Hour formatted as %02d11
$MINUTE$Minute formatted as %02d33
$SECOND$Second formatted as %02d20
File$FILE$Full filename with path*e:\workspace\GameEngine1.0\Message\Snippets.cc
$FILE_UPPER$Full filename with path in uppercase*E:\WORKSPACE\GAMEENGINE1.0\MESSAGE\SNIPPETS.CC
$FILE_BASE$Filename without path or extension*Snippets
$FILE_BASE_UPPER$Filename without path or extension in upper case*SNIPPETS
$FILE_EXT$Filename extension*cc
$FILE_EXT_UPPER$Filename extension in upper case*CC
$FILE_PATH$Path of file*e:\workspace\GameEngine1.0\Message
$FILE_PATH_UPPER$Path of file in upper case*E:\WORKSPACE\GAMEENGINE1.0\MESSAGE
General$clipboard$Current clipboard当前剪贴板内容
$end$Position of caret after expansion输入完成光标位置
$selected$Current selection**选定内容
$$Literal '$' character$转义
Symbol Context$MethodName$Name of containing method
$MethodArgs$Method parameters函数参数列表
$ClassName$Name of containing class类名称
$BaseClassName$Name of base class of containing class基类名称
$NamespaceName$Fully qualified namespace name命名空间
GUID$GUID_DEFINITION$Generated GUID formatted for use in a definitionGUID定义,“,”分割
$GUID_STRING$Generated GUID formatted for use in a stringGUID字符串,“-”分割
$GUID_STRUCT$Generated GUID formatted for use in a structGUID结构
$GUID_SYMBOL$Generated GUID formatted with underscoresGUID符号,"_"分割
$GUID_STRING_UPPER$Uppercase version of $GUID_STRING$
$GUID_STRUCT_UPPER$Uppercase version of $GUID_STRUCT$
$GUID_SYMBOL_UPPER$Uppercase version of $GUID_SYMBOL$
The following reserved strings are available only in refactoring snippets
Refactor$GeneratedPropertyName$Property name generated during Encapsulate Field与类属性同名的访问方法(Java Set/Get)
$generatedPropertyName$Same as $GeneratedPropertyName$ but with lower-case first letter
$MethodArg$One parameter of the method and its type不可用
$MethodArgName$One parameter of the method方法参数
$MethodArgType$Type of one parameter of the method函数体
$MethodBody$Body of implementation函数体
$MethodQualifier$Optional qualifiers of method尚不清楚
$ParameterList$Parameters separated by commas参数列表
$SymbolContext$Context and name of method函数全名(含类信息等)
$SymbolName$Name of method函数名称
$SymbolPrivileges$Access of method访问控制
$SymbolStatic$Keyword static or blankstatic
$SymbolType$Return type of method函数返回类型
$SymbolVirtual$Keyword virtual or blankvirtual

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|小黑屋|手机版|Archiver|TongYe R&D Inc.

GMT+8, 2024-5-11 19:55 , Processed in 0.135008 second(s), 16 queries .

Powered by Discuz! X3.4 Licensed

Copyright © 2000-2022, Tongye. 粤ICP备17061194号

快速回复 返回顶部 返回列表