<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    何以解憂?唯有Java

    其實程序員也懂得浪漫!
    posts - 90, comments - 637, trackbacks - 0, articles - 2
      BlogJava :: 首頁 :: 新隨筆 :: 聯系 :: 聚合  :: 管理

    nbPython 的代碼提示功能!

    Posted on 2008-11-15 09:43 guanminglin@gmail.com 閱讀(32234) 評論(2)  編輯  收藏 所屬分類: NetBeans
    Here are some screenshots of the code completion working for Python.
    First, let's try it from an import statement:







    Note that the documentation for the module is shown. Next, let's
    try completing on imported symbols - again we've got the documentation:







    I'm writing a unit test, extending TestCase. Now let's try overriding
    some methods - completion after typing def:







    Obviously, invoking methods on self. will show the inherited
    methods - and their documentation:







    Here's completion in my function (not on self) showing
    the local variables, imported symbols and builtins. Notice that deprecated
    methods are marked with strikethrough (and deprecated modules are in imports
    as well, though I didn't show that above).







    Notice also that the documentation here looks better - it has links,
    colors, etc. This is because NetBeans supports the reStructuredText
    Docstring Format (see PEP 287).
    System libraries are being documented in this way now, so more of the
    documentation will start looking like this.



    When NetBeans finds embedded code, it will also syntax highlight the
    code fragments in the documentation:







    You can use this in your own documentation as well obviously.
    Here's a file where I have restructured text. As I'm writing it,
    I can -immediately- preview the text myself by just pressing
    Ctrl-Shift-Space (Show Documentation - for those who don't know, you
    can do this on regular code as well if you want to just get the documentation
    for the code at the caret, rather than completion alternatives up to
    the caret prefix.)







    Here's a final example - completion after raise (or
    exception) will show completion for all Error
    classes:






    I'll be quiet or about a week now -- I'm going on vacation! Not great
    timing given the release date, but this has been planned since February...

    評論

    # re: nbPython 的代碼提示功能!  回復  更多評論   

    2008-12-05 10:46 by S
    不能順便給翻譯了^-^

    # re: nbPython 的代碼提示功能!  回復  更多評論   

    2009-06-21 00:12 by esog
    站長收錄查詢:http://www.ngiv.cn
    主站蜘蛛池模板: 亚洲精品国产成人影院| 免费一级毛片免费播放| 亚洲成年轻人电影网站www| 亚欧洲精品在线视频免费观看| 老司机永久免费网站在线观看| 亚洲综合一区二区三区四区五区| 日韩精品无码区免费专区 | 小说区亚洲自拍另类| 性色av免费观看| mm1313亚洲国产精品无码试看| 日本久久久免费高清| 在线播放国产不卡免费视频| 亚洲综合在线另类色区奇米| 精品国产一区二区三区免费| 亚洲电影国产一区| 欧洲乱码伦视频免费| 亚洲AV综合永久无码精品天堂 | 成人免费AA片在线观看| 亚洲中文字幕久久精品蜜桃| 国产精品无码免费视频二三区 | 午夜免费1000部| 亚洲 欧洲 视频 伦小说| 免费观看国产小粉嫩喷水| 人人鲁免费播放视频人人香蕉| 久久精品国产精品亚洲精品| 99久久99久久免费精品小说| 亚洲色无码专区一区| 亚洲裸男gv网站| 亚洲视频在线免费观看| 亚洲午夜成人精品无码色欲| 亚洲JIZZJIZZ中国少妇中文| 国产午夜免费高清久久影院| 在线综合亚洲中文精品| 亚洲精品岛国片在线观看| 四虎国产精品永久免费网址| 亚洲精华国产精华精华液网站| 国产亚洲精品a在线观看| **一级毛片免费完整视| 国产成人亚洲毛片| 久久亚洲精品国产精品| 免费观看国产小粉嫩喷水|