fix: Intelij Idea conditional folder create - Is not a valid identifier
bug
**Description**
I want to create a folder and some files based on a variable.
**Steps To Reproduce**
1. Open Intelij IDEA
2. Create a new folder
3. Enter `{{#cubit}}{{name.snakeCase()}}{{\\cubit}}`
4. See error
**Expected Behavior**
I want a way to create some folder and files based on a variable inside my brick.yaml.
**Screenshots**
<img width="497" alt="Image" src="https://github.com/user-attachments/assets/9ad307dc-35a4-478a-8bdb-784cf0067aa3" />
**Additional Context**
This is a limitation from the IDE. But i think the current syntax can hit quickly many limits, is there any alternative to achieve the same output ?
1 条评论