<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 :: 首頁 :: 新隨筆 :: 聯(lián)系 :: 聚合  :: 管理

    nbPython 的代碼提示功能!

    Posted on 2008-11-15 09:43 guanminglin@gmail.com 閱讀(32241) 評論(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 的代碼提示功能!  回復(fù)  更多評論   

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

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

    2009-06-21 00:12 by esog
    站長收錄查詢:http://www.ngiv.cn
    主站蜘蛛池模板: 日韩成全视频观看免费观看高清| 99精品视频在线免费观看 | 人妻无码一区二区三区免费 | 在线看片免费不卡人成视频 | 免费国产人做人视频在线观看| 亚洲国产精品无码久久SM| 激情综合亚洲色婷婷五月| yellow视频免费在线观看| 毛片免费全部播放无码| 中文字幕亚洲不卡在线亚瑟| 亚洲精品动漫免费二区| 18禁黄网站禁片免费观看不卡| 亚洲视频国产精品| 插鸡网站在线播放免费观看 | 亚洲午夜福利717| 久久综合亚洲色hezyo| 日韩人妻无码精品久久免费一| 亚洲成熟xxxxx电影| 一个人看的www视频免费在线观看 一个人看的免费观看日本视频www | 亚洲av成人无码久久精品| 国产精品免费观看调教网| 亚洲Av无码乱码在线播放| 亚洲日日做天天做日日谢| 18禁美女裸体免费网站| 亚洲国产91在线| 黄+色+性+人免费| 亚洲欧洲日产国码久在线观看| 国产99精品一区二区三区免费 | 黄页网站免费观看| 色噜噜综合亚洲av中文无码| 精选影视免费在线 | 亚洲熟伦熟女新五十路熟妇| 菠萝菠萝蜜在线免费视频| 日韩高清免费观看| 三年在线观看免费观看完整版中文 | 全亚洲最新黄色特级网站| 亚洲国产无线乱码在线观看| 亚洲欧洲久久久精品| 曰批免费视频播放免费| 亚洲?V乱码久久精品蜜桃| 日本免费在线中文字幕|