Skip to content

paolo-depa/suse-supportconfig-parser

Repository files navigation

suse-supportconfig-parser

A VS code extension capable of parsing SUSE supportconfig files

Features

  • Folding of sections based on '#===[ XXX ]===# separator and pseudo-syntax highlighting
  • Outline filled with the detected sections
  • Breadcrumbs indicating the section where the cursor is currently within

Features demo

Known issues

  • There is an open issue with VS code letting the extensions only handle files smaller than ~50 MBs

    • As a workaround split the supportconfig files or try the vsc-lfs extension
  • The extension only register itself for .txt files, being the large majority of the files belonging to a supportconfig; nonetheless ther are two options to make the extension parse a file not ending with .txt suffix:

    • From the Command Palette (CTRL+SHIFT+P) run "Change Language Mode" and then select "suse-supportconfig": please note this is NOT going to be persistent
    • From the Settings panel (CTRL+,) navigate to "Text Editor" -> "Files" -> "Associations" and add the couple having the prefix/suffix/regexp of your choice as first item and "suse-supportconfig" as the second: i.e. in order to permanently let this extension parse the ceph related files, add the couple "ceph-*","suse-supportconfig"
  • Being a formal "syntax" not defined for the support-config files, the "syntax" highlighting is based on a best-effort approach...

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published