<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 閱讀(32243) 評論(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
    主站蜘蛛池模板: 色九月亚洲综合网| 亚洲精品人成网在线播放影院| 男女午夜24式免费视频| 免费人成视频在线观看不卡| 粉色视频成年免费人15次| 日本人的色道www免费一区| 亚洲成色WWW久久网站| 免费无码又爽又刺激高潮软件| 亚洲另类激情综合偷自拍图| 亚洲日本久久久午夜精品| 成年女人午夜毛片免费视频| 亚洲国产精品无码久久| 国产麻豆剧传媒精品国产免费| 免费人成大片在线观看播放电影| 亚洲一区二区三区在线视频| 亚洲婷婷在线视频| 三级毛片在线免费观看| 成人免费淫片在线费观看 | 免费人成年轻人电影| 免费人妻精品一区二区三区| 日本亚洲国产一区二区三区| 免费a级毛片无码a∨免费软件| 亚洲资源在线视频| 韩国免费三片在线视频| 麻豆安全免费网址入口| 久久亚洲国产精品一区二区| 最近免费中文字幕mv电影| 亚洲熟妇AV一区二区三区宅男| 国产激情免费视频在线观看| 亚洲同性男gay网站在线观看| 永久免费bbbbbb视频| 中文字幕在线视频免费观看| 亚洲精品中文字幕无乱码| 免费观看午夜在线欧差毛片| 成人精品一区二区三区不卡免费看| 亚洲国产午夜电影在线入口| 亚洲成AⅤ人影院在线观看| 亚洲av中文无码字幕色不卡| 亚洲午夜久久久久妓女影院| 久久久久久久国产免费看 | 日日夜夜精品免费视频|