当前位置:网站首页>Xcode plug-in management tool Alcatraz

Xcode plug-in management tool Alcatraz

2022-06-21 21:23:00 EmulateStep

1. brief introduction

Alcatraz It's one that can help you manage Xcode Plug in, template and color configuration tools . It can be directly integrated into Xcode In the graphical interface of , It makes you feel like you're using Xcode It has the same function .

2. Install and remove

Use the following terminals to install Alcatraz:

curl -fsSL https://raw.github.com/supermarin/Alcatraz/master/Scripts/install.sh | sh


If you don't want to use it Alcatraz 了 , You can use the following command to delete :

rm -rf ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins/Alcatraz.xcplugin


Delete all passes Alcatraz Installed installation package

rm -rf ~/Library/Application\ Support/Alcatraz/


3. Use Alcatraz

Restart after successful installation Xcode, You can go to Xcode Found in the top menu of Alcatraz

single click "Package Manager", You can start the plug-in list page .

                                      

Select... From the selection bar "Installed", Then filter your installed list , Can be deleted


4. The plugin path

Xcode All plug-ins are installed in the directory ~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/ Next , You can also manually change to this directory to delete the plug-ins .

5. Commonly used Xcode plug-in unit

5.1 KSImageNamed

KSImageNamed It is a tool that can help you input [UIImageimageNamed:] Plug in for resource names in . When you type [UIImageimageNamed] when . The context menu will pop up automatically , You can select the image resource name you need to enter , In addition, when selecting image resources , You can also preview the resource on the left .

5.2 FuzzyAutocompletePlugin

FuzzyAutocompletePlugin Allow the use of fuzzy methods for automatic code completion .
for instance , If we want to reload viewDidAppear: Method , Then we have to type view , did , appear To get the corresponding completion information , Use FuzzyAutocompletePlugin after , We can type vda(view , did , appear The initial of three words ), Or any of the following viewDidAppear Substring of the whole word occurrence order ( for example vdapp,idear etc. ), To match this method

5.3 XToDo

XToDo Is a search for all items with TODO , FIXME , ??? , !!! Notes to the mark
Usually we are in project development , For a variety of reasons , Some things need to be dealt with later , This time in order to prevent forgetting , add TODO perhaps FIXME Comments are very necessary , However, it is a little troublesome to need these unresolved issues before going online or submitting the code ,XToDo It can provide a summary interface , Show all unfinished TODO and FIXME Mark .control+T Open the summary interface

5.4 VVDocumenter

VVDocumenter Is a tool for automatically generating code comments , You can easily extract the parameter names and return values of functions .


5.5 DerivedData Exterminator

DerivedData Exterminator Is a clear Xcode Cache directory plug-ins .
Sometimes Xcode There will be all sorts of strange problems , The most common is in some complex operations ( for example , In the same project , Back and forth but switch to various branch versions ), Can cause Xcode Show some compilation errors or warnings , But in the end, it can be compiled , Normally clear Xcode Caching can solve such problems , The plug-in is in Xcode Add a clear cache button to the menu , You can easily clear the contents of the cache with one click .


5.6 OMColorSense

OMColorSense It's a UIColor Color input AIDS , Can help you in writing UIColor Code , Browse the corresponding colors in real time .
原网站

版权声明
本文为[EmulateStep]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/172/202206211854101061.html