This is the d_source file wizard for the Code::Blocks IDE. This code
implements a "D source" option in the "New File" dialog box that pops up
when you press Ctrl+N in the IDE.
Presently, the wizard.script sets the file to have a comment and license
block that is hard-coded. You can change it by editing the script
(assign the copyright to yourself, please!).
Sadly, the "default code" feature of the Settings > Editor menu is specific
only to C and C++, and requires a recompile of the C::B sources to change.
If you'd like to help, see about making that code more flexible.
== INSTALLATION ==
Reference: http://wiki.codeblocks.org/index.php?title=Wizard_scripts
=== Linux ===
In your $HOME directory:
I'm not sure what the exact paths are for Linux home directory scripts. See below
for Locating the $HOME scripts directory.
GOTO Registation
In your SYSTEM install directory:
Install to [CodeBlocks install dir]/share/CodeBlocks/templates/wizard/d_source.
GOTO Registration
=== Windows ===
In your $HOME directory:
Install to %APPDATA%\CodeBlocks\share\CodeBlocks\templates\wizard\d_source.
GOTO Registration
In your SYSTEM install directory:
Install to [CodeBlocks install dir]\share\CodeBlocks\templates\wizard\d_source .
GOTO Registration
=== Locating the $HOME Scripts Directory ===
Open CodeBlocks. Click on File > New > File. The "New from template" dialog box
appears. Right-click on "C/C++ Source" and select "Edit this script".
Switch to the "wizard.script" tab that opened in the editor. Now click on File >
"Save file as."
The editable wizard.script file has been copied to the $HOME scripts directory, under
a subdirectory called c_file. When the Save As dialog appears, make a note of the
path to the containing directory. That is your scripts directory. The d_source
package should be installed beside the c_file directory.
Close the wizard.script file, discard the changes - we just wanted it to make the directory.
=== Registration ===
The wizard has to be registered. As above:
Open CodeBlocks. Click on File > New > File. The "New from template" dialog box
appears. Right-click on "C/C++ Source" and select "Edit global registration script."
Near the bottom of the RegisterWizards function is a comment "// file wizards". Copy
the line for "c_file", and change the copied line to read:
RegisterWizard(wizFiles, _T("d_source"), _T("PL/D source"), _T("Programming Language/D"));
You may change the 2nd and 3rd strings, if you like, but the first string (d_source)
is a directory name - you will have to update the filesystem if you change that
value.
Save the result, then stop and restart Code::Blocks.
=== Testing ===
Select File > New > File. The "New from template" dialog appears. The last item in the
dialog should be the newly-installed PL/D source option. Selecting that option should
invoke a new D source wizard.
没有合适的资源?快使用搜索试试~ 我知道了~
适用于windows 10 x64开源软件Code::Blocks r13000 重构版
共1727个文件
png:901个
xml:147个
dll:81个
需积分: 9 1 下载量 92 浏览量
2022-11-08
11:23:54
上传
评论
收藏 19.72MB 7Z 举报
温馨提示
开源软件Code::Blocks 是一款跨平台集成开发工具,支持多种编译器,轻量便携,功能强大。这里提供的是svn r13000 64位重构版。运行环境windows 10 x64,解压后可直接运行。 源代码可从https://www.codeblocks.org/downloads/下载。
资源推荐
资源详情
资源评论
收起资源包目录
适用于windows 10 x64开源软件Code::Blocks r13000 重构版 (1727个子文件)
libwxscintilla_cb.a 3.96MB
libwxPdfDocument.a 3.6MB
libhunspell.a 842KB
libcodeblocks.a 775KB
libsquirrel.a 525KB
libwxSpellChecker.a 467KB
libwxsmithlib.a 161KB
libz.a 143KB
libtxml.a 111KB
libbz2_devpak.a 110KB
libbz2_help.a 110KB
libwxchartctrl.a 92KB
libwxflatnotebook.a 73KB
libwxled.a 71KB
libwxmathplot.a 65KB
libwxkwic.a 63KB
libdepslib.a 47KB
libwxcustombutton.a 36KB
libwxspeedbutton.a 30KB
libwximagepanel.a 18KB
Makefile.am 193B
Makefile.am 99B
Makefile.am 99B
Makefile.am 99B
Makefile.am 99B
Makefile.am 99B
Makefile.am 99B
Makefile.am 99B
Makefile.am 99B
Makefile.am 99B
Makefile.am 97B
sdl-cb.bmp 123KB
sfml-cb.bmp 53KB
cb.bmp 53KB
cb.bmp 53KB
cb.bmp 53KB
irq.c 8KB
main.c 7KB
sfuntmpl.c 7KB
main.c 4KB
pxa_mm.c 3KB
lh7a404_mm.c 2KB
main.c 2KB
setup.c 1KB
setup.c 1KB
setup.c 1KB
setup.c 1KB
setup.c 1KB
setup.c 1KB
setup.c 1KB
setup.c 1KB
setup.c 1KB
setup.c 1KB
main.c 813B
main.c 813B
sharedlib-sample.c 800B
staticlib-sample.c 800B
driver.c 510B
lccstub.c 498B
FuseFuse0to4.c 265B
FuseExt.c 124B
main.c 118B
main.c 114B
main.c 112B
main.c 107B
main.c 97B
FuseHigh.c 92B
FuseLow.c 57B
sdccapp-main.c 38B
main.c 38B
main.c 38B
main.c 38B
main.c 38B
main.c 38B
main.c 38B
main.c 38B
main.c 38B
main.c 38B
main.c 38B
wiring_digital.c 29B
wiring_shift.c 27B
wiring_pulse.c 27B
wiring_analog.c 26B
WInterrupts.c 24B
wiring.c 19B
ogre_gcc.cbp 2KB
ogre_vctk.cbp 2KB
qt.cbp 2KB
wxwidgets_static_u.cbp 2KB
wxwidgets_static.cbp 2KB
wxwidgets_u.cbp 1KB
fluid.cbp 1KB
wxwidgets.cbp 1KB
directx_vctk.cbp 1KB
directx_gcc.cbp 1KB
glfw-static.cbp 1KB
sfml.cbp 972B
irr_vctk.cbp 929B
fltk.cbp 927B
glut.cbp 898B
共 1727 条
- 1
- 2
- 3
- 4
- 5
- 6
- 18
资源评论
keyuth
- 粉丝: 1
- 资源: 19
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功