You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
seqn can be hard to read when there are tags attached to commands:
C USER_SEQ_DIR_MULTIPLY Htarget momentum_bound negative_one
@METADATA "ASSUMED_MODEL_VALUES" "TELEMETRY::GNC_MME_MOM_RWA_IF_1 = 10, 00:00:00.000"
C USER_SEQ_DIR_LV_SET_TELEM Hx "GNC_MME_MOM_RWA_IF_1"
Describe the feature request
Propose adding an auto-formatter for seqn that a user can run on a sequence to auto-format sequences to a specific format style. This should at least:
Correct indenting for conditionals and loops
Correct indenting for tags attached to commands
Correct spacing within a line, for example, between time tags, commands, and arguments
Correct indenting for requests
UPDATE:
Chet told me there does already exist a sequence_auto_indent function that is applied on import and can be applied via keyboard shortcut and on import. So we may get this for free already! I think we might still want a button to do this instead of only relying on keyboard shortcuts or re-opening. Still would like @metadata tags to get indented as well.
The text was updated successfully, but these errors were encountered:
Checked for duplicates
No - I haven't checked
Alternatives considered
No - I haven't considered
Related problems
seqn can be hard to read when there are tags attached to commands:
Describe the feature request
Propose adding an auto-formatter for seqn that a user can run on a sequence to auto-format sequences to a specific format style. This should at least:
UPDATE:
Chet told me there does already exist a
sequence_auto_indent
function that is applied on import and can be applied via keyboard shortcut and on import. So we may get this for free already! I think we might still want a button to do this instead of only relying on keyboard shortcuts or re-opening. Still would like @metadata tags to get indented as well.The text was updated successfully, but these errors were encountered: