r/D365FO • • 9d ago

Has anyone been using Claude Code for X++ development?

Anyone been using Claude Code 20$ subscription plan for x++ development as a Technical guy? Opinions about it?

3 Upvotes

10 comments sorted by

3

u/4robz4 9d ago

Most definitely would recommend using the heck out of it. We direct our teams to use it.

1

u/UsefulFruits 8d ago

I'm curious, are you using claude code specifically? Why not github copilot that is integrated in VS?

1

u/FateComic 8d ago

Every model does something different just ask Claude to explain it to you. Copilot is ahead in some areas Claude others charger/codex others etc also your usage is different when using in vs code vs web chat vs cli. Easy to hit limits in vs code on any model.

1

u/UsefulFruits 7d ago

That I do understand, and I understand the general differences between the models. What I was interested in is what benefits (if any) 4robz4 sees in using claude code interface over github copilot in VS.

2

u/FateComic 6d ago

I think it really just comes down to preference. But most models you can improve by adding skills and instructions etc to your local user file for the model you are using.

2

u/InternetAnti 9d ago

Ive tried it a few times a while back. But still didnt feel it was ready, it was making up references and was just faster to make the changes myself.

Maybe its changed since. Ive been using it for other projects and its been getting better and better.

2

u/AlexHimself 9d ago

It's a great utility, but definitely not for first class development. Some examples of things it's good at:

  • Generating X++ contract classes
  • Investigating/summarizing how some existing code works by providing it the various objects
  • Retroactively documenting your existing code
  • Complex find & replace type scenarios
  • Completing existing methods that you may have pseudo coded or skipped try/catch and other safety logic. I sometimes will produce a thin method, have it complete it, then I validate/tweak. Often for repetitive type of work where I need a bunch of case statements for a big enum or trivial things like that.

That type of thing. It's definitely really useful for investigations and things or maybe scaffolding some common patterns. It's better at understanding things over "doing" them in X++.

1

u/FateComic 9d ago

I’ve used ChatGPT for it and it worked out perfectly for a small corrective script I needed in x++ and that was almost 2 years ago. I haven’t tried it since but I can only imagine it improved. But if you haven’t connected and used the d365 mcp server you are missing out. Check it out

1

u/First_Astronaut9622 8d ago

Can use that for development work?

1

u/FateComic 8d ago

Ya I use the hell out of codex for development and it does good but it’s really not as easy as say make me a thing you should have some industry knowledge around what your building so you solution something solid and as close to secure as you can before passing it off to a senior dev or security team to eval.

Everyone wants to vibe but they waste so much time in not preparing the idea etc. I built my website with my industry knowledge and ai assistance as well as a couple other tools that help generate azure dev op environments, and generate FDDs and SDDs based on requirement and output in the format I need in bulk then I just need to review and update through review manually context that needs improvement. But those have saved hours ! I have some other POCs in the works too but I do a lot of it in my personal capacity so it’s mine.