Back to Intellij Community

NestedVariableOutsideDoubleQuotesInspection

plugins/env-files-support/src/main/resources/inspectionDescriptions/NestedVariableOutsideDoubleQuotesInspection.html

2025.3-rc-2586 B
Original Source

Detects instances where nested variables are used outside of double quotes in .env files and might not be parsed correctly. This inspection ensures that nested variables are properly enclosed to avoid configuration issues.

This inspection helps maintain correct syntax in .env files by enforcing the use of double quotes for nested variables, preventing unexpected behavior during variable evaluation.

Quick Fix: The inspection provides a quick fix to automatically enclose the nested variable within double quotes. Click the provided quick fix to resolve the issue automatically.