www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.ide - SciTE4D text editor 0.11 released

reply yidabu <yidabu.nospam gmail.com> writes:
SciTE4D text editor 0.11 released

10 Feb 2008, SciTE4D text editor 0.11 released.
Up-to-date with DMD 1.024 and Tango 0.99.4 Frank.

People on the D News Group started looking at many editors to see which one was
the most useful editor for D. 
We found SciTE!

The "Package" grew to what it is today with lots of integrated utilities
written by D programming language community.  
Read on for all the details... 

Quote Neil Hodgson:"SciTE is a SCIntilla based Text Editor. Originally built to
demonstrate Scintilla, it has grown to be a 
generally useful editor with facilities for building and running programs."

Scite4D contains SEATD for SciTE, D programming language help CHM and build
tool ybud.

== functionality ==

* Customized Syntax highlighting. 

* AutoComplete D keywords, Phobos module name and Tango module name
automatically (suggest the option in a dropdownbox while 
typing), just hit ENTER or TAB to Autocomplete.) 

* Code folding for easy code viewing. 

* Auto indentation while typing. 

* F1 - open D programming language Helpfile on the keyword were the cursor is
located. 

* Ctrl + Alt + F1 - online MSDN search on the keyword were the cursor is
located.

* F7 - Debug build.

* Ctrl + F7 - Release build.

* Ctrl + Alt + Shift + D - Build documentation.

* Ctrl + Alt + Shift + T - Run unittest.

* Alt + D - pops up a list of the declarations in the current file. 

* Alt + M - pops up a list of modules.  

  Selecting a declaration or module in such a list jumps to the first line of
the declaration or module. 
  
* F12 - search for a declaration with an identifier equal to the one under the
cursor and jump there if successful. 

  If you move the cursor over the module name of an import declaration, it will
jump to that module. 


== Configuration ==

=== Include path ===

SEATD for SciTE has minimal configuration requirements. It only needs an
include path to find D source files that correspond 
to the module names that appear in import statements. If no explicit include
path is given, it tries to figure it out by 
itself. 

In order to do so, the path of the current file and it's module name (if
available) is used. For example, from a D file 
"/project/src/pak/bla.d" with a module declaration "module pak.bla;", SEATD for
SciTE will extract "/project/src/pak/" and 
"/project/src/". To specify include paths that are outside of the project's
source directory, you can set a global and a 
local include path. 

SEATD for SciTE is configured through SciTE's properties files. To be able to
have different settings on installation-, user- 
and project-level, SciTE allows global-, user- and directory option files.
Usually, you only change the user- and directory 
options. 

The global include path is supposed to be set in
scite4d\SciTEGlobal.properties, the first line contain the include paths for 
libraries that all of your projects use (like Phobos or Tango). It is a list of
paths separated by ';', for example: 

seatd.global.include=c:\dmd\src\phobos;c:\tango\import

To change it, modify the line above accordingly and include it in your user
options file. 

More details of SEATD for SciTE, please visit: [http://seatd.mainia.de/doc.html
SEATD doc]


== How to build ==
    
    SciTE4D use DSSS to build anything.

    ''' 1 ''' Download and install DSSS from:
    [http://www.dsource.org/projects/dsss DSSS]
    
    Be sure dsss.exe in your environment path variable.
  
    ''' 2 ''' configurate dsss.conf for your project.
    
    e.g. to build ybud.exe, assume ybud.d at D:\d\scite4d\ybud.d
    
    D:\d\scite4d\dsss.conf :
    {{{
    [*]
    buildflags=-explicit -SD:\d\dmd\tango\lib -lltango-base-dmd
    postbuild=del *.obj *.map dsss.last
    
    [ybud.d]
    debugflags=-g -w -debug=UnitTest -unittest -version=ybudVerbose
    releaseflags=-O -release -inline
    target=ybud
    }}}
    
    
    ''' 3 ''' Press F7 or Ctrl + F7 to build your project
    
    Click scite4d\Sc1.exe to run SciTE4d
    
    open ybud.d in scite4d
    
    Press F7 to debug build.
    
    Press Ctrl + F7 to release build.


== Getting started ==

SciTE4d is a stand alone application. you can figure this out in about 2 min.

1 dowload this:

http://svn.dsource.org/projects/dwin/tools/scite4d/scite4d.zip
http://svn.dsource.org/projects/dwin/tools/scite4d/

2 unzip to ..\scite4d\

3 Click scite4d\Sc1.exe to start program.

4 open scite4d\SciTEGlobal.properties, modify seatd.global.include to fit your
specific libraries path.

If you want to press F7 or Ctrl F7 to build  library or binary ..., be sure
configurate dsss.conf first, SciTE4D just find 
the dsss.conf and pass command to DSSS.
 
Enjoy :)
    


== Authors ==

=== 1. SEATD for SciTE 0.01.2 ===

    By Jascha Wetzel [firstname] mainia.de
    
    home [http://seatd.mainia.de/ SEATD]

=== 2. D Documentation in Compiled HTMLHelp Format for DMD 1.023 ===
  
    By Vladimir Panteleev <thecybershadow at gmail.com> 
   
    [http://www.digitalmars.com/webnews/newsgroups.php?art_group=digitalmars.D.annou
ce&article_id=10539 NG Topic]

    [http://thecybershadow.net/d/docs/d.chm download]

=== 3. simple build tool ybud 0.11 ===

    By yidabu
    
    
    
== Forums ==

Make suggestions and ask questions in the : 

[http://www.dsource.org/forums/viewforum.php?f=163 Dsource Forum]
[http://www.d-programming-language-china.org/ Chinese Forum]


== History ==

08 Nov 2007 SciTE4D 0.10 released.

10 Feb 2008 SciTE4D 0.11 released.
	Up-to-date with DMD 1.024 and Tango 0.99.4 Frank.
 


== Maintainer ==

 * yidabu at g m a i l dot com


 == Chinese Version ==



== 最好的D programming language编辑器SciTE4D的功能: ==

    SciTE4D是关于SciTE4D工具的整合.

    功能有:

    代码高亮

    自动完成成D programming language关键词, 标准库Phobos, "准标准库"Tango模块名

    F1 打开光标所在D关键词的CHM帮助

    Ctrl + Alt + F1 搜索在线MSDN, 在用到关于Windows API编程时比较有用

    F7 Debug模式编译

    Ctrl + F7 release模式编译

    Ctrl + Alt + Shift + D 文档生成

    Ctrl + Alt + Shift + T 运行单元测试

    Alt + D 弹出声明列表

    Alt + M 弹出导入模块列表, 选择并按Enter打开对应模块

    F12 打开光标所在标识符定义所在文件,并滚动到所在行

    
    原来 http://bbs.yidabu.com 在编译库时先写一个bat 文件调用dsss编译,
编译时要切换到库所在文件夹, 点击bat文件进行编译
    编译好后又切换到编译器, 如果要编译多个库, 还要写多个bat文件, 比较麻烦. 
    
    现在方便了,先写好所有D programming language项目的DSSS编译配置文件,
随便打开一个.d库文件, 在SciTE4D里按快捷键编译库, 工作
时再也不要离开编辑器界面了. 



== 为什么选择SciTe作为D语言编辑器 ==

	D语言零起点教程:

	http://www.d-programming-language-china.org/forum-18-1.html
按:有许多所谓的D语言IDE,D语言编辑器:
	http://www.prowiki.org/wiki4d/wiki.cgi?EditorSupport

	yidabu都看了一下,给他们分一下类:

	1 基于 Scintilla编辑器组件的文本编辑器
	这类文本编辑器太多了。
	事实际上Scintilla已经成了最强大的文本编辑器组件。

	2 一开始满有信心专为D开发的文本编辑器,但半途夭折的
	没有必要去采用一个一年以上不更新的文本编辑器

	3 一般文本编辑器加上 D语言语法高亮

	现在为止还没有发现功能如Visual studio 2005般强大的D语言ide。

	如果采用 基于 Scintilla编辑器组件的 文本编辑器,为什么不采用
Scintilla作者开发的文本编辑器呢

	这就是 SciTE,强大,简易,轻巧集于一身的的超级文本编辑器。


== d语言编辑器SciTE4D的下载和安装 ==

    svn下载:
    [http://svn.dsource.org/projects/dwin/tools/scite4d/]
    
    SciTE4D打包下载
    [http://svn.dsource.org/projects/dwin/tools/scite4d/scite4d.zip]
    
    

== 最好的D语言编辑器SciTE4D的配置 ==

    你可以在一分钟内配置好SciTE4D. 
    
    1   把SciTE4D 解压到scite4d目录.
    
    2   打开 scite4d\SciTEGlobal.properties文件, 编辑第一项配置:
    
    把类似下面的路径修改成你的实际库文件路径:
    
    {{{
        seatd.global.include=D:\d\dmd\src\phobos;D:\d\dmd\src\other;D:\d\dmd\import;D:\d\dmd\tango
    }}}
    
    
    一键编译基于DSSS, 你要预先写好dsss.conf文件,
定义好debugflags和releaseflags。
    特别是编译库时比较方便, 打开库里的任意文件, 就可实现一键编译。
    
    
    你有更好的SciTE4D设置, 不妨在这里和大家分享:
    [http://www.d-programming-language-china.org/thread-458-1-1.html]


    D语言零起点教程:
    [http://www.d-programming-language-china.org/forum-18-1.html]



-- 
yidabu <yidabu.nospam gmail.com>
D Programming Language China:
http://www.d-programming-language-china.org/
Feb 09 2008
parent reply "Vladimir Panteleev" <thecybershadow gmail.com> writes:
On Sun, 10 Feb 2008 06:38:38 +0200, yidabu <yidabu.nospam gmail.com> wrote:

 SciTE4D text editor 0.11 released
Maybe IDE announcements should still be cross-posted to digitalmars.D.announce :) -- Best regards, Vladimir mailto:thecybershadow gmail.com
Feb 10 2008
parent Ary Borenszweig <ary esperanto.org.ar> writes:
Vladimir Panteleev escribi贸:
 On Sun, 10 Feb 2008 06:38:38 +0200, yidabu <yidabu.nospam gmail.com> wrote:
 
 SciTE4D text editor 0.11 released
Maybe IDE announcements should still be cross-posted to digitalmars.D.announce :)
Definitely.
Feb 11 2008