Page MenuHomeFeedback Tracker

Ability to break up long lines of code (Feature Request)
Feedback, NormalPublic

Description

I am asking you to implement the ability to break up long lines of code

I want to format all code up to 120 or 180 characters long per line, but the standard cpp approaches don't work here.

At least in conditional statements:

// Yes I understand that variables can be named shorter, it's just an example, I want to break the line exactly
// Its ok
if (somelonglonglonglonglonglonglonglonglonglonglonglongvar < 0 && anotherlonglonglonglonglonglonglonglonglonglonglonglongvar > 100)
  Print("Ok");

// Synatx error
if (somelonglonglonglonglonglonglonglonglonglonglonglongvar < 0 && 
    anotherlonglonglonglonglonglonglonglonglonglonglonglongvar > 100)
  Print("Synatx error");

// Expected ')', not a '0'
if (somelonglonglonglonglonglonglonglonglonglonglonglongvar < 0 
    && anotherlonglonglonglonglonglonglonglonglonglonglonglongvar > 100)
  Print("Expected ')', not a '0'");

Maybe you'll do it for Reforger or that yet-to-be-released game, and then backport it for DayZ. I don't know how, but that would be really cool!

Details

Severity
Feature
Resolution
Open
Reproducibility
Unable To Reproduce
Operating System
Windows 10 x64
Category
Scripting

Event Timeline

WoozyMasta added subscribers: MarioE, WarDoG.EditedMar 22 2024, 12:08 AM

@MarioE I was recommended by @OfficialWardog to tag you.

WoozyMasta updated the task description. (Show Details)Mar 22 2024, 12:16 AM
Geez changed the task status from New to Feedback.Mar 22 2024, 1:56 PM