跨平臺的D語言開發工具:Coedit

jopen 9年前發布 | 19K 次閱讀 Coedit

Coedit 是一個為 D 語言開發的簡單集成開發環境 (Co mpile & Edit). 采用 Pascal 語言開發。

特性:

  • 支持多平臺 (Win/Linux).

  • 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.

  • D2 syntax highlighter, folding, identifier markup.

  • module symbol list.

  • static libraries manager.

  • search and replace.

  • "todo comment" analyzer.

  • user-defined tools powered by a string interpolation system.

  • D Completion Daemon integration for completion proposal and source code hints.

  • mini file browser.

D 語言示例代碼:

#!/usr/bin/env rdmd
// Computes average line length for standard input.
import std.stdio;

void main()
{
    ulong lines = 0;
    double sumLength = 0;
    foreach (line; stdin.byLine())
    {
        ++lines;
        sumLength += line.length;
    }
    writeln("Average line length: ",
        lines ? sumLength / lines : 0);
}

項目主頁:http://www.baiduhome.net/lib/view/home/1422068092484


 本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!