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

Creating an APEX classes / triggers #51

Open
conan311 opened this issue Nov 2, 2016 · 1 comment
Open

Creating an APEX classes / triggers #51

conan311 opened this issue Nov 2, 2016 · 1 comment

Comments

@conan311
Copy link

conan311 commented Nov 2, 2016

First of all, thanks to the awesome plugin which makes my life much easier!
It is really a great tool that helped me deal with all different aura components, helpers, controllers, etc! However, what is the best way to create APEX classes (or triggers)? I tried manually creating a class file. It seems like it is actually trying to upload the file to the server but fails saying the class' XML metadata file is missing (classname.cls-meta.xml). Then I also manually created this XML file but still fails to save.

Am I doing anything wrong? If so or there is any proper way to do it, please advise. Thank you in advance.

@dcarroll
Copy link
Owner

dcarroll commented Nov 7, 2016

The filename for a class must be the same as the class name in the code.
The same is true for the -xml file.

On Tue, Nov 1, 2016 at 11:08 PM, parkkun [email protected] wrote:

First of all, thanks to the awesome plugin which makes my life much easier!
It is really a great tool that helped me deal with all different aura
components, helpers, controllers, etc! However, what is the best way to
create APEX classes (or triggers)? I tried manually creating a class file.
It seems like it is actually trying to upload the file to the server but
fails saying the class' XML metadata file is missing (classname.cls-meta.xml).
Then I also manually created this XML file but still fails to save.

Am I doing anything wrong? If so or there is any proper way to do it,
please advise. Thank you in advance.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#51, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AAHGHovqB68ocamh7Whc57qq_kYPzLhsks5q6CjpgaJpZM4Km5Hk
.

Thanks,
Dave

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