ue5-style-guide icon indicating copy to clipboard operation
ue5-style-guide copied to clipboard

UE5 Installation

Open Liquid-Martin opened this issue 4 years ago • 2 comments

Hi! How does one go about installing the linter to UE5?

Marketplace only seems to works with UE <4.

Liquid-Martin avatar Aug 18 '21 11:08 Liquid-Martin

Yeah, I've had issues trying to get it to compile.

.../Plugins/Linter/Intermediate/Build/Linux/.../UnrealEditor/Development/Linter/Module.Linter.cpp:4:
.../Plugins/Linter/Source/Linter/Private/Linter.cpp:106:4: warning: 'Icon' is deprecated: Tab icons are now being managed by tab spawners and toolkits. In the rare case you need to set an icon manually, use SetTabIcon() instead Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile. [-Wdeprecated-declarations]
                .Icon(IconBrush)
                 ^
.../Engine/Source/Runtime/Slate/Public/Widgets/Docking/SDockTab.h:100:3: note: 'Icon' has been explicitly marked deprecated here
                UE_DEPRECATED(5.0, "Tab icons are now being managed by tab spawners and toolkits. In the rare case you need to set an icon manually, use SetTabIcon() instead")
                ^
.../Engine/Source/Runtime/Core/Public/Misc/CoreMiscDefines.h:232:43: note: expanded from macro 'UE_DEPRECATED'
#define UE_DEPRECATED(Version, Message) [[deprecated(Message " Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile.")]]
                                          ^
In file included from .../Plugins/Linter/Intermediate/Build/Linux/.../UnrealEditor/Development/Linter/Module.Linter.cpp:6:
.../Plugins/Linter/Source/Linter/Private/LinterContentBrowserExtensions.cpp:53:34: error: no member named 'InvokeTab' in 'FGlobalTabmanager'
                                                        FGlobalTabmanager::Get()->InvokeTab(FName("LinterTab"));
                                                        ~~~~~~~~~~~~~~~~~~~~~~~~~~^
In file included from .../Plugins/Linter/Intermediate/Build/Linux/.../UnrealEditor/Development/Linter/Module.Linter.cpp:45:
.../Plugins/Linter/Source/Linter/Private/UI/LintWizard.cpp:90:32: error: no member named 'InvokeTab' in 'FGlobalTabmanager'
                                        FGlobalTabmanager::Get()->InvokeTab(FName("LinterTab"))->RequestCloseTab();
                                        ~~~~~~~~~~~~~~~~~~~~~~~~~~^
.../Plugins/Linter/Source/Linter/Private/UI/LintWizard.cpp:523:43: error: no member named 'InvokeTab' in 'FGlobalTabmanager'
                                                                                                                                FGlobalTabmanager::Get()->InvokeTab(FName("LinterTab"))->RequestCloseTab();
                                                                                                                                ~~~~~~~~~~~~~~~~~~~~~~~~~~^
1 warning and 3 errors generated.
Compile Module.LiveLinkEditor.cpp

OdinVex avatar Jun 16 '22 20:06 OdinVex

I would like to get a UE5 version as well. Linter v2 from marketplace will not install to UE5, the documentation still refers to Linter, not Linter v2, and the directions still refer to UE4. Any assistance with this would be amazing. Thank you.

MrJRules avatar Sep 23 '23 19:09 MrJRules

I would like to get a UE5 version as well. Linter v2 from marketplace will not install to UE5, the documentation still refers to Linter, not Linter v2, and the directions still refer to UE4. Any assistance with this would be amazing. Thank you.

https://github.com/OdinVex/Linter You can try it for Windows if you can build. Take note of the README. Untested, but there it is.

It still has 15 DEPRECATED functions, I don't have enough API information to update those sections. It's fine for now.

Edit: Clarification on menus operating: Batch Rename does show up (asset menu entries show) and aside needing some tweaking for hiDPI it shows a dialog, we're shiny on that. Path menu entries don't show at all, hence why I'm suggesting to run Linter from command-line/terminal for now with say -json=... or -html=....

OdinVex avatar Sep 26 '23 21:09 OdinVex