Prompt
Maintain consistent naming patterns throughout your codebase, following established conventions and ensuring uniformity within the same context. This includes using correct syntax for configuration values, matching case conventions for related identifiers, organizing entries systematically (like alphabetically), and choosing descriptive names that clearly indicate purpose.
Examples of good practices:
- Use
underlinedinstead ofunderlinein modifier arrays to match the established API - Match case conventions: use
selectionfgconsistently instead of mixingselectionFGandselectionfg - Organize configuration entries alphabetically for better maintainability
- Choose descriptive file names like
hx_launcher.shinstead of generic names likehx - Use explicit long-form syntax like
[language-server.<name>]for clarity
Inconsistent naming creates confusion, makes code harder to maintain, and can lead to subtle bugs when identifiers don’t match their expected format.