开发者

Insert code templates via a keyboard shortcut

开发者 https://www.devze.com 2023-01-24 21:08 出处:网络
I have various code templates in Eclipse such as header comments and library functions that are frequently called (all stored in Preferences, C/C++ -> Editor -> Templates).I figure there mu开发者_运维

I have various code templates in Eclipse such as header comments and library functions that are frequently called (all stored in Preferences, C/C++ -> Editor -> Templates). I figure there mu开发者_运维问答st be a way to map these to keyboard shortcuts, for example if I press ctrlshifth it will insert the contents of the template 'Header Comment Robotics Main' into the current editor. I've been Googling and looking through preferences but can't find anything...there must at least be a plugin.

P.S. The IDE is actually Wind River Workbench v3.0.1, which is based of Eclipse v.3.3.1

0

精彩评论

暂无评论...
验证码 换一张
取 消