-
Notifications
You must be signed in to change notification settings - Fork 27
Working with .conf files
This extension introduces several useful features for working with Splunk .conf files
To enable stanza code-completion, simply create or open a Splunk .conf file (like inputs.conf for example). When you type a [ character, all valid stanza for the current text file will be displayed.

To enable setting code-completion, start typing text on a line under a stanza or press ctrl + spacebar to display available settings for the current stanza. Documentation about these settings will also be displayed.

When working with long files, stanzas can be collapsed for easier viewing. To collapse/expand all stanza, use the following shortcuts:
Fold All:
- Windows: Ctrl + k + 0
- Mac: ⌘ + k + 0
Unfold All:
- Windows: Ctrl + k + j
- Mac: ⌘ + k + j

Linting is the process of running a program that will analyze code for potential errors. This extension compares stanzas and settings to the spec files to call attention to potential errors.
