Skip to content

Consider adding custom language for syntax highlighting instead of reusing armasm #989

@coderabbitai

Description

@coderabbitai

Currently, the syntax highlighter uses armasm as a fallback language for non-JSON log data, but armasm (ARM assembly) is not directly related to logging and may not provide optimal highlighting for log messages.

Current behavior:

  • When CLP_STORAGE_ENGINES.CLP_S === SETTINGS_STORAGE_ENGINE, JSON syntax highlighting is used
  • Otherwise, armasm is used as the fallback language

Suggested improvement:
Consider implementing a custom language definition specifically tailored for log data or use a more appropriate existing language that better matches the structure of log messages.

References:

Requested by: @junhaoliao

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions