Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hackalyze/ue4-vs-extensions
Useful UE4 Visual Studio extensions.
https://github.com/hackalyze/ue4-vs-extensions
Last synced: 28 days ago
JSON representation
Useful UE4 Visual Studio extensions.
- Host: GitHub
- URL: https://github.com/hackalyze/ue4-vs-extensions
- Owner: hackalyze
- License: mit
- Created: 2016-09-14T22:19:11.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2021-07-24T13:29:21.000Z (over 3 years ago)
- Last Synced: 2024-08-04T02:11:05.967Z (4 months ago)
- Size: 449 KB
- Stars: 276
- Watchers: 11
- Forks: 59
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- AwesomeCppGameDev - ue4-vs-extensions
README
### UE4 Smarter Macro Indenting
This extension was designed to fix the unnecessary and annoying "smart" indenting that Visual Studio likes to do around various UE4 macros. It attempts to fix these indents when your current line proceeds any of the following UE4 macros:
* UPROPERTY
* UFUNCTION
* GENERATED_BODY
* GENERATED_UCLASS_BODY
* GENERATED_USTRUCT_BODY
* GENERATED_UINTERFACE_BODY
* GENERATED_IINTERFACE_BODY### Demo
| Before | After |
| --- | --- |
| ![Example](resources/ue4_smarter_macro_indenting_off.gif "Normal Smart Indention in Visual Studio") | ![Example](resources/ue4_smarter_macro_indenting_on.gif "Extension enabled") |### Installation
1. Download and install the Visual Commander extension for Visual Studio from here: https://vlasovstudio.com/visual-commander/
2. Go to VCmd -> Import and import the ue4_smarter_macro_indenting*.vcmd that corresponds to your version of visual studio. For visual studio 2017/2019+, use ue4_smarter_macro_indenting_vs2017-2019.vcmd, for earlier versions use ue4_smarter_macro_indenting_vs2013-2015.vcmd.
3. Go to VCmd -> Extensions to open the Extensions panel
4. Check the "Enabled" checkbox for the "UE4 Fix Indent" extension.
5. Make sure Indenting is set to "Smart" in Tools -> Options -> Text Editor -> C/C++ -> Tabs.> If "VCmd" doesn't appear on your Visual Studio toolbar after installing Visual Commander, you may need to restart Visual Studio.