www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - SciTE4D 0.17 text editor 0.17 released (Windows)

reply yidabu <yidabu.spam gmail.com> writes:
6 Aug 2008, SciTE4D text editor 0.17 released.

What's new:
    Autocomplete up to date with DMD 1.0.33 and Tango 0.99.7, DWin 0.38, DWT
3.41
    Use Ddbg to debug the binary

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 Makefile or build.bat 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

* F8 : to Debug the binary

* 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 (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


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.includec:\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):

makemingw32-make

You may modified it e.g. makemake to fit your needs.

The default Makefile name is "Makefile":

makefileMakefile


The default Windows bat file name is build.bat:

batfilebuild.bat

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


I recommend you that using dsss to build library, using GNU make to build
binary.


5 Click desktiop icon to start SciTE4D

 
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 (If you have dsss installed)

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 


 Authors 

 SciTE 

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

 SEATD for SciTE 0.01.2 

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

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

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

 simple build tool ybud 0.15 

    By yidabu 
	
	http://scite4d.chinese-blog.org scite4d
    
 Customized Syntax highlighting: d.black.properties 

    by redduke     
    http://bbs.d-programming-language-china.org/thread-794-1-1.html
    
    
    
 Forums 

Make suggestions and ask questions in the : 

http://www.dsource.org/forums/viewforum.php?f163 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


06 Aug 2008 SciTE4D 0.17 released.
    Autocomplete up to date with DMD 1.0.33 and Tango 0.99.7, DWin 0.38, DWT
3.41
    added Ddbg debug support
    1. Download and install Ddbg from http://ddbg.mainia.de/Ddbg-latest.zip 
       Make sure ddbg.exe is in your path
    2. Compile the binary
       Make sure compiler and linker get the "-g" flag     
    3. Press F8 to run     
        Ddbg -cmd=r FileName
    4. Type us then press Enter to prints full stacktrace
    5. Type q then press Enter to exit debug mode
    
 Maintainer 
   
 * yidabu at gmail dot com

-- 
yidabu <yidabu.spam 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/
Aug 05 2008
parent reply Tomas Lindquist Olsen <tomas famolsen.dk> writes:
Not really about the editor (which does sound pretty cool btw).

Since SEATD uses APaGeD I'm wondering if you got APaGeD to work? I've been
trying from SVN
lately with no luck :/ The parser I get is simply broken (no examples work
either).

Tomas
Aug 06 2008
parent yidabu <yidabu.spam gmail.com> writes:
On Wed, 06 Aug 2008 23:45:43 +0200
Tomas Lindquist Olsen <tomas famolsen.dk> wrote:

 Not really about the editor (which does sound pretty cool btw).
 
 Since SEATD uses APaGeD I'm wondering if you got APaGeD to work? I've been
trying from SVN
 lately with no luck :/ The parser I get is simply broken (no examples work
either).
 
 Tomas
SciTE4D includes SEATD, but I'm not tried APaGeD :) -- yidabu <yidabu.spam 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/
Aug 06 2008