Implement single "Include In" options for macOS/Windows/Linux

Feedback Case: <https://xojo.com/issue/65311>

Today if you wanna add a cross platform Class/Class Interface/Module/Property/Constant/Delegate/Enumeration/Method/Event Definition/Structure to your project, you have to use conditionals via code:

#If TagetMacOS
  macOSMethod
#ElseIf TargetWindows
  WindowsMethod
#ElseIf TargetLinux
  LinuxMethod
#Endif

To prevent use from writing this code, it would be super handy, if we could have single entries for each Desktop OS in the „Includes In“ Panel under Desktop/Console. Suggestion:

Desktop      32 Bit | 64 Bit
  macOS      32 Bit | 64 Bit // new
  Windows    32 Bit | 64 Bit // new
  Linux      32 Bit | 64 Bit // new
Web          32 Bit | 64 Bit
Console      32 Bit | 64 Bit
  macOS      32 Bit | 64 Bit // new
  Windows    32 Bit | 64 Bit // new
  Linux      32 Bit | 64 Bit // new
iOS          32 Bit | 64 Bit

So this would save time and reduce code while developing cross platform Frameworks etc.

1 Like