diff --git a/README.md b/README.md index da3c4be4..d72e86a7 100644 --- a/README.md +++ b/README.md @@ -6,28 +6,28 @@ Coedit is a simple IDE for the [D2](http://dlang.org) lang. (**Co** mpile & **Ed Current features ---------------- - multi platform (Win/Linux). -- projects. -- multiple project configurations (set of switches and options). -- compile, run directly from the UI. +- full featured project format and advanced project editor. +- compile and run directly from the UI. - instant run (without saving, script-like). - synchronized edition in a block. -- D syntax highlighter, folding, identifier markup. -- member list of the current module. -- manager for the static libraries. +- D2 syntax highlighter, folding, identifier markup. +- module symbol list. +- static libraries manager. - search and replace. +- user-defined tools powered by a string interpolation system. - [D Completion Daemon](https://github.com/Hackerpilot/DCD) integration for completion proposal and source code hints. - mini file browser. Missing features before the first beta -------------------------------------- -- Options editor. (the big missing stuff) +- Options editor. (the big missing thing) Project information ------------------- - status: alpha 6. - license: MIT. -- programmed in Object Pascal with [Lazarus + FPC](http://www.lazarus.freepascal.org) as IDE/compilo. -- based on *dmd* (*gdc* or *lmd* specific options are not handled). +- programmed in Object Pascal with [Lazarus & FPC](http://www.lazarus.freepascal.org) as IDE & compiler. +- based on *DMD* (the alternative backends, LDC or GDC, are not supported). Setup & test ------------ diff --git a/lazproj/test/src/expandSymString.d b/lazproj/test/src/expandSymString.d index 8b9996b0..0fd239c4 100644 --- a/lazproj/test/src/expandSymString.d +++ b/lazproj/test/src/expandSymString.d @@ -6,20 +6,36 @@ import std.getopt; /* pass: ---a= --b= --c= --d= --e= --f= --g= --h= --j= --k= +--a= --b= --c= --d= --e= --f= --g= --h= --i= --j= as parameters in "Run, Compile and Run file..." : only the first item is displayed but the symbol is expanded as expected. */ + void main(string args[]) { + auto opt2symbol = [ + // coedit + 'a' : "CoeditApplicationFile..: ", + 'b' : "CoeditApplicationPath..: ", + // file + 'c' : "currentFileFilename....: ", + 'd' : "CurrentFilePath........: ", + 'e' : "CurrentIdentifier......: ", + // project + 'f' : "CurrentProjectFile.....: ", + 'g' : "CurrentProjectPath.....: ", + 'h' : "CurrentProjectRoot.....: ", + 'i' : "CurrentProjectName.....: ", + 'j' : "CurrentProjectFiles....: " + ]; string expanded; - for (char c = 'a'; c != 'z'; c++) + foreach (c; 'a'..'z') { expanded = ""; getopt(args, std.getopt.config.passThrough, c, &expanded); - if (expanded.length != 0) - writeln(c, " : ", expanded); + if (expanded.length) + writeln(opt2symbol[c], expanded); } }