Author Topic: Integrating with MS Visual Studio  (Read 5122 times)

Polymorph

  • EA User
  • **
  • Posts: 132
  • Karma: +4/-0
    • View Profile
Integrating with MS Visual Studio
« on: September 25, 2024, 06:39:00 am »
I am decided to finally learn scripting  :)

I am finding the native script editor limited in functionality and wondered if I can somehow integrate with an IDE like MS Visual Studio.

Is this possible? Have people done it? What are the advantages/disadvantages? Does anyone have an idiot's guide to getting it working?

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13274
  • Karma: +556/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Integrating with MS Visual Studio
« Reply #1 on: September 25, 2024, 04:25:55 pm »
I've explored that route as well, and given up.

There are a number of issues
- The scripts are stored in the database. So once you update a script you should update it in the database
- Scripts are preprocessed by EA before executing. the "as EA.Element" is removed, the included scripts are included. You can't execute raw scripts outside of EA.
- When scripts are being run, EA adds the Repository and Session object to he runtime environment.

All-in all the better editor is not worth the hassle in my opinion

Geert

Polymorph

  • EA User
  • **
  • Posts: 132
  • Karma: +4/-0
    • View Profile
Re: Integrating with MS Visual Studio
« Reply #2 on: September 25, 2024, 05:21:58 pm »
That is all I needed to hear! If you've given up then I won't even entertain the idea!

Thanks

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: Integrating with MS Visual Studio
« Reply #3 on: September 25, 2024, 08:05:31 pm »
I (almost) ever used scripting outside of EA. You just can't compare that editor inside EA with a real IDE.

q.