Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using same scripts/files name's in project files (in folders) #485

Open
2 tasks done
dakln opened this issue Feb 24, 2025 · 1 comment
Open
2 tasks done

Using same scripts/files name's in project files (in folders) #485

dakln opened this issue Feb 24, 2025 · 1 comment

Comments

@dakln
Copy link

dakln commented Feb 24, 2025

Reviewed guidelines

  • I have read and understand the suggestion guidelines

Checked for duplicate suggestions

  • I checked for existing similar suggestions

Summary

There should be a possibility to use the same scripts/files name's in project files when you are putting them into different folders. In current editor there is no it's possibility, when you're trying to name the script/file and the name that has already exists in project you've just got an warning.

Warning example
Image

Warning example in other folder
Image

Possible workarounds or alternatives

The only thing you can do in this situation it's just name the script file by following next example: folderNameScript.ts (by using folder name as first word). I'm using scripts a lot, so I've real example of this issue.

Image

Proposed solution

Seperate all project files by folders where they are put in, to make a possibility to use for example different folders but in this folders you would use the same main script file: index.ts.

Example of solution
Image

Why is this idea important?

It's difficult to develop project with a lot of scripts in it with using script naming system like folderNameScript.ts, cause you have an unnecessary word in your script file name and the project scripts count become higher and higher.

Additional remarks

No response

@F3der1co
Copy link

duplicate of: #400
not possible until flat file mode is removed from c3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants