Setup for the Dart Language

Find Tips and tricks on how to better use the Zeus IDE. Feel free to post your own tips but please do not post bug reports, feature requests or questions here.
Post Reply
jussij
Site Admin
Posts: 2449
Joined: Fri Aug 13, 2004 5:10 pm

Setup for the Dart Language

Post by jussij » Thu Jun 06, 2013 12:44 am

To setup Zeus for the Dart programming language do the following:

1) Use the Options, Document Types menu to create a new document type.

2) Fill in the details for the document type as follows:

Extensions: dart
Description: Dart Document Type


3) Save the following details to the dart.zki file:

Code: Select all

;
; Zeus Keyword Information File
; =========================================
;
; This is a keyword information file for the Zeus IDE:
;
;     http://www.zeusedit.com/index.html
;
; This file can be used to create or configure the Keywords section
; of the Zeus document type.
;
; NOTE: To correctly import this file make sure it has a .zki file
;       extension.
;

[Syntax]
CommentStart01=/*
CommentEnd01=*/
NestsComments01=No
LineComment01=//
CommentStart02=
CommentEnd02=
NestsComments02=No
LineComment02=
Delimiters=#~!@$%^&*()[]{}<>=+/?|;:-,.
DelimitKeywords=No
IgnoreCase=No
Literal=\
ManageComments=No
Numbers=(0x*[0-9A-Fa-f]+[Hh]*)|([0-9]+(L*))
Preprocessor=
Strings="'
TripleQuotes=Yes

[ReservedWords]
abstract
as
assert
break
case
catch
class
const
continue
default
do
dynamic
else
export
extends
external
factory
false
final
finally
for
get
if
implements
import
in
is
library
new
null
operator
part
return
set
static
super
switch
this
throw
true
try
typedef
var
void
while
with

[ExReservedWords]
Pattern=
IsNested=No

[UserWords1]

[ExUserWords1]
Pattern=
IsNested=No

[UserWords2]
Object
String
bool
double
int
num

[ExUserWords2]
Pattern=
IsNested=No

[UserWords3]
Completer
DateTime
Element
Future
HttpRequest
List
Map
Set
Uri
WebSocket
math
print

[ExUserWords3]
Pattern=
IsNested=No

[UserWords4]

[ExUserWords4]
Pattern=
IsNested=No

[UserWords5]

[ExUserWords5]

Pattern=
IsNested=No
4) In the Keywords section of the document type import the dart.zki file created above.

5) To get the code folding to work open this file:

Code: Select all

C:\Users\<your user ID>\AppData\Roaming\Xidicone\xFolder\xFolder.ini
and add the dart extension to this line

Code: Select all

C/C++=c;cc;cpp;cxx;c++;h;hh;hpp;hxx;h++;ox;r;sqc;dart;
6) Download the Dart SDK and assume it is installed here: C:\dart\

7) Make sure the Dart SDK bin folder C:\dart\dart-sdk\bin is in the system PATH.

8 ) Edit the Zeus Dart document type and in the compiler section define this as the compile command line (and check the display on errors and warnings option):

Code: Select all

dartanalyzer.bat "$fn"
9) Restart Zeus.

Post Reply
kuchnie warszawa opinie

Who is online

Users browsing this forum: No registered users and 1 guest