Cannot create class from other folder than then main package directory
I can only create new classes from the main package directory (DX) and not from other folders that are inside the main package directory. This is not easy to work with, the workaround i use is less than ideal: 1. create the class in the main package directory 2. move it to the intended folder.
What would be awesome, if we can create classes from all folders inside the package directory.
Comments (3)
-
reporter -
repo owner Yeah, this is one of a number of issues right now in IC with arbitrary folder structure in SFDX projects. I have the general class of issues slated for an upcoming deployment/retrieval-themed release. I'll tag this one for it to ensure that I verify it's addressed by that work.
-
repo owner - changed status to resolved
I'm pretty sure that this should be fully resolved in source format projects now. Please let me know if there's an instance that still doesn't work properly.
- Log in to comment
What i found out about VS Code, it uses this command to create the class:
That will create the new class in folder: my-app/support/classes/application/TestAbc.class