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.
没有合适的资源?快使用搜索试试~ 我知道了~
Code::Blocks 23.02-r13215 for windows10
共1723个文件
png:892个
xml:149个
dll:82个
需积分: 5 0 下载量 77 浏览量
2023-02-27
11:26:20
上传
评论
收藏 19.56MB 7Z 举报
温馨提示
知名开发工具,集成程序编辑、编译和调试。具备语法高亮,多文件文本替换,自动缩进,自动补全,快速跳转等常用编辑功能,支持wxWidget界面设计,包含多种开发插件,是轻便快速的跨平台、多语种集成开发工具。这里是Windows 10 x64最新重构版,解压可用,不含编译器(可自行下载MingW64、TDM-GCC、TCC、MSVC或MSDK等搭配组建开发环境),Code::Blocks官方下载地址:https://www.codeblocks.org/downloads。
资源推荐
资源详情
资源评论
收起资源包目录
Code::Blocks 23.02-r13215 for windows10 (1723个子文件)
libwxscintilla_cb.a 3.94MB
libwxPdfDocument.a 3.37MB
libhunspell.a 842KB
libcodeblocks.a 778KB
libsquirrel.a 512KB
libwxSpellChecker.a 478KB
libwxsmithlib.a 161KB
libtxml.a 107KB
libz.a 99KB
libwxchartctrl.a 92KB
libbz2_devpak.a 91KB
libbz2_help.a 91KB
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
fluid.cbp 1KB
wxwidgets_u.cbp 1KB
wxwidgets.cbp 1KB
directx_vctk.cbp 1KB
directx_gcc.cbp 1KB
glfw-static.cbp 1KB
sfml.cbp 972B
fltk.cbp 930B
irr_vctk.cbp 929B
glut.cbp 898B
共 1723 条
- 1
- 2
- 3
- 4
- 5
- 6
- 18
资源评论
keyuth
- 粉丝: 1
- 资源: 19
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功