Delphi IDE
Some functions to make your life a little easy programming delphi on ST.
Details
Installs
- Total 2K
- Win 2K
- Mac 200
- Linux 155
Nov 21 | Nov 20 | Nov 19 | Nov 18 | Nov 17 | Nov 16 | Nov 15 | Nov 14 | Nov 13 | Nov 12 | Nov 11 | Nov 10 | Nov 9 | Nov 8 | Nov 7 | Nov 6 | Nov 5 | Nov 4 | Nov 3 | Nov 2 | Nov 1 | Oct 31 | Oct 30 | Oct 29 | Oct 28 | Oct 27 | Oct 26 | Oct 25 | Oct 24 | Oct 23 | Oct 22 | Oct 21 | Oct 20 | Oct 19 | Oct 18 | Oct 17 | Oct 16 | Oct 15 | Oct 14 | Oct 13 | Oct 12 | Oct 11 | Oct 10 | Oct 9 | Oct 8 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
Mac | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Linux | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
Delphi-IDE
Some functions to make your life a little easy programming delphi on ST. This plugin will have a lot of basic functions.
Installation
The recommended method of installation is via Package Control. It will download upgrades to your packages automatically.
Package Control
- Follow instructions on https://packagecontrol.io/installation
- Install using Package Control: Install > Delphi-IDE
Using Git
Go to your Sublime Text Packages directory and clone the repository using the command below:
git clone https://github.com/JeisonJHA/Delphi-IDE “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, 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
Except the formatter all other plugins of this pack is based on this syntax: sublime-delphi-language.