⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 autocpl.ini

📁 一个简易的c++的编辑器
💻 INI
字号:
;自动完成
;每行开头的空格,TAB,或空行会被忽略(无奈-_-)
;只要输入前3个字符就会被自动替换,如_cl,_cla,_class都是一样

;%表示光标的位置

;程序还会根据stx.txt的内容进行自动完成
;自动完成功能几乎包含了所有的API及常数,结构
;不过需要输入全名,如输入sendmessage再按空格,会自动变为SendMessage

[_class]
class %
{
public:	
private:
protected:
};

[_switch]
switch(%)
{
case :
break;
case :
break;
default:
break;
}//switch

[_case]
case %:
break;

[_if]
if (%)
{
}
else
{
}//if 

[_elseif]
else if(%)
{
}

[_do]
do
{
} while(%);

[_while]
while(%)
{
}//while

[_for]
//int i;
for(i = 0;i< %;i++)
{
}//for

[_struct]
struct %
{
};

[_include]
#include "%"

[_{]
{
//TO DO
%
}

[_template]
template<class T>
%

[_return]
return 0%;
[_cout]
cout << "%" << endl;
[_cs]
const char %
[_ul]
unsigned long %
[_ui]
unsigned int %
[_uc]
unsigned char %
[_us]
unsigned short %
[_lpc]
char * lp%
[_lpuc]
unsigned char * lp%
[_lpul]
unsigned long * lp%


[@messagebox]
MessageBox(0, %, "MsgBox", MB_ICONINFORMATION);
[@sendmessage]
SendMessage(%, , (WPARAM)0, (LPARAM)0);
[@postmessage]
PostMessage(%, , (WPARAM)0, (LPARAM)0);
[@setwindowshookex]
SetWindowsHookEx(WH_%, (HOOKPROC)lpfn, hInstance, 0);
[@unhookwindowshookex]
UnhookWindowsHookEx(%hHook);
[@callnexthookex]
CallNextHookEx(%hHook, nCode, wParam, lParam);
[@setwindowtext]
SetWindowText(%);
[@makeintresource]
MAKEINTRESOURCE(%)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -