SciTE4D text editor 0.18 released (Windows)

yidabu dyuyan.spam at gmail.com
Thu Apr 2 18:19:54 PDT 2009


SciTE4D text editor 0.18 released


What's new:
	Autocomplete up to date with DMD 1.0.41 and Tango 0.99.8, DWin 0.38, DWT-win, DWT-addons, DWT2, DFL, derelict, arc, DDBI,Mango, Juno
    
    dhelp.chm updated to DMD 1.038
    
    

People on the "D Language" 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.  

* Customized Syntax highlighting. 

* AutoComplete: D keywords, module names of Phobos, Tango, DWin... (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

* Customized building : supported GNU make, Windows bat file and DSSS...

* F1 Help : open Helpfile on the keyword were the cursor is located. 

* F7 or Ctrl+F7 : building the project (if build.bat or Makefile or dsss.conf exists)

* Press F5 : run the binary

* Ctrl + F5 : compile, link, and run the program srcfile, No .obj or .exe file is left behind

* Press F8 : debug binary by ddbg (http://ddbg.mainia.de/)

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

* Alt + M : pops up a list of modules,  Selecting to jumps to the first line of the declaration or module
  
* Press 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. 

* Ctrl + Alt + Shift + D - Build documentation (http://www.dsource.org/projects/dsss/)

* Ctrl + Alt + Shift + T - Run unittest (dsss)

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


== Getting started ==

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

1. dowload and install SciTE4D:

http://svn.dsource.org/projects/dwin/downloads/scite4d/scite4d.exe
http://svn.dsource.org/projects/dwin/downloads/scite4d/scite4dsetup.exe (Chinese version)

2. Include path configuration

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

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:\dmd\tango

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


4. building method Configuration

Open ...\ybud.conf, modified the make method to fit your needs.

The default make is Windows port of GNU make(mingw32-make.exe):

make=mingw32-make

You may modified it e.g. make=make or make=D:\mypath\make.exe to fit your needs.

The default Makefile name is "Makefile":

makefile=Makefile


The default Windows bat file name is build.bat:

batfile=build

You may modified it e.g. "building.bat" to fit you needs.

dsss binary path:

dsss=dsss

I changed the dsss path to D:\dmd\bin\dsss.exe to works with DMD 1.041


5 Click desktiop icon to start SciTE4D

== The Building ==

To prepare to use SciTE4D to build your project, you must write a file called build-sourcename.bat or build.bat or Makefile or dsss.conf.
For example:

1. Open D:\yourProject\yourFile.d in SciTE4D

2. Press F7 or Ctrl+F7

3. SciTE4D is going to look for a file called:
    build-yourFile.bat
    or build.bat
    or Makefile 
    or dsss.conf
    
if found the content contains string "yourFile" then executes the build-file:
    call build.bat
    executes: mingw32-make -f Makefile
    executes: dsss dsss.conf

 
Enjoy :)


== Examples ==

1. GNU make example

Open ..\examples\makefile\test.d
press F7 (or Ctrl+F7) to build test.exe
Or press Ctrl+F5 to run test.d directly
press F5 to run test.exe after building

2. Windows bat example

Open ..\examples\bat\test.d
press F7 (or Ctrl+F7) to build test.exe
Or press Ctrl+F5 to run test.d directly
Press F5 to run test.exe after building

3. dsss example

Open ..\examples\dsss\test.d
press F7 to  debug building.
Or press Ctrl+F7 to release building
Or press Ctrl+F5 to run test.d directly
Press F5 to run test.exe after building 


== Add your own module Autocomplete to SciTE4D ==

    In SciTE4D folder, run command:
    ybud libPathA;libPathB;libPathC
    for example:
    ybud D:\dmd\src\phobos;D:\dmd\src\tango


== Authors ==

=== SciTE ===

	http://www.scintilla.org/SciTE.html

=== SEATD for SciTE 0.01.2 ===

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

=== D Documentation CHM for DMD 1.038 ===
  
    By Vladimir Panteleev <thecybershadow at gmail.com> 

    http://thecybershadow.net/d/docs/d1.chm download

=== simple build tool ybud ===

    By yidabu
	
	http://www.d-programming-language-china.org/ D语言中国
    
=== Customized Syntax highlighting: d.black.properties ===

    by redduke     
    http://bbs.d-programming-language-china.org/
    
    
    
== Forums ==

Make suggestions and ask questions in the : 

http://www.dsource.org/forums/viewforum.php?f=163 Dsource Forum
http://bbs.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.


01 Mar 2008 SciTE4D 0.15 released.
	Autocomplete up to date with DMD 1.027 and Tango 0.99.5
	Added Ctrl+F5 to excute "dmd -run currentFile.d args..."
	Added Makefile support
	Added build.bat support(Windows)
	Added dsss build exampe, bat build example, Makefile build exampe.
	"D language" CHM help up to date with D 1.027


09 May 2008 SciTE4D 0.16 released.
	Autocomplete up to date with DMD 1.0.28 and Tango 0.99.6, DWin 0.37, added support for dwt-win, dwt-addons, dfl.
    
	Added Customized Syntax highlighting d.black.properties by redduke 
    ( http://bbs.d-programming-language-china.org/thread-794-1-1.html )    
    usage: backup d.properties to d.default.properties, rename d.black.properties to d.properties, then restart SciTE4D

09 Oct 2008 SciTE4D 0.17 released

03 Apr 2009 SciTE4D 0.18 released
	Autocomplete up to date with DMD 1.0.41 and Tango 0.99.8, DWin 0.38, DWT-win, DWT-addons, DWT2, DFL, derelict, arc, DDBI,Mango, Juno    
    dhelp.chm updated to DMD 1.038


== Maintainer ==
   
 * yidabu at gmail dot com




-- 
yidabu <yidabu.spam at gmail.com>
http://www.dsource.org/projects/dwin/

D 语言-中文(D Chinese):
http://www.d-programming-language-china.org/
http://bbs.d-programming-language-china.org/
http://dwin.d-programming-language-china.org/
http://scite4d.d-programming-language-china.org/




More information about the Digitalmars-d-announce mailing list