# UI Widgets ## Development 1. Start **Unity(2018.3 or above)**, create a local empty project. 1. In a console (or terminal) application, go to the newly created project folder, then clone this repo into the packages directory. ```none cd /Packages git clone https://gitlab.cds.internal.unity3d.com/upm-packages/ui-widgets/com.unity.uiwidgets.git com.unity.uiwidgets ``` ## Code Style 1. **Import the Customized Code Cleanup Settings**: Open Preferences -> Manage Layers, Choose 'Solution "\" personal' and Click "Add Layer" ("+") -> "Open Settings File...". and Open the file "UIWidgetCleanupPlugin.DotSettings" under \/Packages/com.unity.uiwidgets/" 2. **Cleanup Code style using the Customized Code Cleanup Settings**: Open Code -> Code Cleanup, Pick a Cleanup scope as you want and Choose "UIWidgets" as the "Code cleanup profile", then click "OK" 3. **Refine Code Style Rules**: Edit the ".editorconfig" file under \/Packages/com.unity.uiwidgets/". Visit https://www.jetbrains.com/help/rider/EditorConfig_Index.html for the detailed. REF: https://www.jetbrains.com/help/rider/Sharing_Configuration_Options.html