Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>SUSE supportconfig parserNew to Visual Studio Code? Get it now.

SUSE supportconfig parser

paolo-depa

|
21 installs
| (0) | Free
A parser for the SUSE supportconfig files
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

suse-supportconfig-parser

A VS code extension capable of parsing SUSE supportconfig files

Features

  • Folding of sections based on '#===[ XXX ]===# separator and pseudo-syntax highlihting
  • Outline filling with the sections detected
  • 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 alternative ways 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 not 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 to 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 on based on a best-effort approach...

  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft