吾爱破解 - LCG - LSG |安卓破解|病毒分析|www.52pojie.cn

 找回密码
 注册[Register]

QQ登录

只需一步,快速开始

查看: 2194|回复: 6
收起左侧

[其他转载] Delphi加速方法等声明的新途径

[复制链接]
冥界3大法王 发表于 2018-8-9 21:13
Package Control Messages
========================

Delphi IDE
----------

  ## Goto Definition
  
  Go to method definition.
  * ctrl+leftclick**(THIS OVERRIDE ST MOUSE BINDING)**
  
  ## Delphi method navigation
  
  Navigate between method interface and implementation like Delphi IDE.
  * ctrl+shift+up**(THIS OVERRIDE ST KEY BINDING)**
      
  ## Formatter
  
  File formats that use the theme "Pascal" or "Delphi".
  It uses the [jedi formatter](http://jedicodeformat.sourceforge.net/), but you can change to use the one of your preference.
  Configurations:
  * "path_formatter": "C:\MyFormatter.exe"
  * "other_params": ""
  * "auto_format": true
  * "encode": "'Western (Windows 1252)'"
  * "valIDAte_encode": false
  
  ## Doc
  
  Now you can doc yours methods, propertys, classes, interfaces and records.
  To use put the cursor on the scope of what you want to doc and push the trigger.
  You can choose XML or JAVADOC.
  
  Method Ex:
  /// <summary>
  ///
  /// </summary>
  /// <remarks>
  /// Owner: Jeison.Azevedo Date: March 10, 2016
  /// </remarks>
  /// <param name="ParamName">
  /// </param>
  /// <exception>
  ///
  /// </exception>
  
  * ctrl + shift + m
  
  ## Add TAG
  
  This insert the user TAG in the line of the cursor
  
  Ex:
  // Jeison.Azevedo - March 10, 2016
  
  * ctrl + shift + g
  
  ## Declare Method
      
      This works like the "Ctrl+Shift+C" of the Delphi, the diference is that this works only
      for the method that is in scope.
  
  * Config   
        
      where to create the method
      "visibility": "protected",
      if the block configured don't exists it will create it.
      the block will be created at the end of the class.
      "create_visibility_block": true
  
      ### Know issues:
          If the command is triggered it will create a new statement, does not validate if it already exists.
  
  ## Extract Method
      
      You select the snippet you want to extract and the plugin will identify which parameters
       are required for the new method and includes in the new method.
      The new method will be inserted with the name "ExtractedMethod" you just need to write the
       name you want to change everey declaration of the new method.
  
  * ctrl + shift + x
  
  ## Function name display
  
      Show the name of the method that the cursor is on, class name and visibility.
  
  ## Exchange method return
  
      Changes the return of the method, for procedure if you do not inform a return type or function if you do.
  
  * ctrl + alt + x
  
  ## Syncronize method declaration
  
      Syncronize the parameters of the method of implementation and interface with the method that is in scope.
  
  * ctrl + alt + q
  
  ## Limitations
  
  All plugins of this pack is based on this syntax: https://bitbucket.org/JeisonJHA/sublime-delphi-language.

发帖前要善用论坛搜索功能,那里可能会有你要找的答案或者已经有人发布过相同内容了,请勿重复发帖。

linuxprobe 发表于 2018-8-9 22:08
感谢你的分享,如果有中文的,看起来更舒服。
pakwei 发表于 2018-8-9 22:20
萌萌哒的小白 发表于 2018-8-9 22:48
liuwenxuan 发表于 2018-8-9 23:00
完全看不懂呢
 楼主| 冥界3大法王 发表于 2018-8-10 06:41
linuxprobe 发表于 2018-8-9 22:08
感谢你的分享,如果有中文的,看起来更舒服。

翻译不好,
会误人子弟,
原果味橙汁的好。
wushaominkk 发表于 2018-8-10 09:25
链接404
您需要登录后才可以回帖 登录 | 注册[Register]

本版积分规则 警告:本版块禁止灌水或回复与主题无关内容,违者重罚!

快速回复 收藏帖子 返回列表 搜索

RSS订阅|小黑屋|处罚记录|联系我们|吾爱破解 - LCG - LSG ( 京ICP备16042023号 | 京公网安备 11010502030087号 )

GMT+8, 2024-3-29 00:59

Powered by Discuz!

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表