Script.py naming convention makes search difficult
- Dominant language
- Python
- Stars
- 212
- Forks
- 39
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
A minor issue but its a little bit of a QOL pet peeve. Since states scripts are all called script.py it becomes difficult to see the context of a search result in most IDE's. You have to resort to the path to determine what state the script belongs to. In some cases, as shown below, this is impossible to see without clicking on each one individually. You should be able to get some context from the filename, but instead we need to use the file location:

Git commit window in Pycharm:

Searching by file name is also difficult (and will get worse when we produce hundreds of states:

Would it be possible to include an option to name the script uniquely based on the state name?
Many thanks
Contributor guide
Research direction
No source files or tests are identified in the issue. Start by locating the entry point that creates state script.py files and trace how state names are available there; confirm the expected naming option and check that generated scripts are distinguishable in IDE search and commit views without breaking existing state loading.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- developer-experience
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100