Set Deafult Language for Code Engineering - enterprise-architect

May this is not the place to ask such a thing, but there are several experts here...
I cannot find the definition of default code engineering language in EA 12.
In previos releases it was under Tools -> Options, on the source code engineering tab:
Where it it hidden?

EAster eggs: Project | Settings | Project Options | Source Code Engineering | (model specific)
I had to consult the help. This is really ridiculous how they hide menus in each release.

Related

Xcode and Swift Localization - Recover base language

I am learning iOS development (with swift). In this case, I was trying to do localization for an example project and I decided to delete the base language (Development language) in order to configure it again. I got surprised when I could not add any language. I mean, i click the add button for languages and select the language, but, In the next window (Choose files and reference languages to create XXXX localization) the list is empty.
Every tutorial I have found adds language using the development language (base) as the begining, but cannot find how to implement first.
Could you help me implementing?
If you open the iOS project with IntellijIDEA IDE ypu could right click on the project rootfolder or the project.pbxproj file and check the history and revert back to the historical state that you wish.
In case you had it under git, its even better as you can be sure that you are avle to revert it by comparing it with a branch that has the right state.

Netlogo editor for Eclipse

I see that making a custom editor for Eclipse is quite involved. So before I roll my own editor/plug-in for NetLogo I was wondering if someone else has done it already?
Alternatively, I see the Eclipse editor is quite involved but produces a very complete end product. I mainly want something that's keyword and indentation aware. So inasmuch as that's a simpler project... that will do too.
Finally, links to where I can read up on building one myself will be appreciated.
Mike

How to integrate new language & compiler into Eclipse

I'm working with a manufacturer that has their own Pascal based language, compiler and editor. I'd like to investigate how feasible it would be to integrate their tools into Eclipse to get basics such as keyword highlighting, code completion, source navigation and of course compile to target to work.
Can anyone point me to a resource that explains how this can be done, if at all?
Thank you,
Fred
IBM has an article series: Create a commercial-quality Eclipse IDE. Delving directly into Part 2 should give you a quick overview where to start.

UML tool for reverse engineering an eclipse project

I am currently working on a project in Eclipse but the problem is that this project is very big (a lot of codes, classes, packages, etc) and undocumented. Since, the project is written in Java, my idea was to make a reverse enineering of the project to see his architecture in UML. Do you know an eclipse plugin who can complete this task very easily? Thanks for your answer !!
I think MoDisco is what you are looking for ( here for a short intro)
It seems that the question is dealing with Eclipse plugin therefore Modisco and StartUML are not a possible choice because they are either not a graphical class diagram viewwer or an Eclipse plugin.
The tools that I have evaluated and selected are:
Topcased can reverse a project and gives an UML view. The reverse is good even if not recursive. I mean that you can detect only object having their own information such as class, interface, package, method and attributes but you can not detect calls between classes because this require a recursive reverse.
eUML will give you a visual class diagrams and the possibility to navigate but no model only EMF tags inserted inside your own code. I like the visual representation of the class diagram but having EMF tags in my code is too intrusive !!
You can try RSA which is a pretty good reverse having a real UML model but you will also get EMF tag in your code
The best for me and with no doubt is EclipseUML Omondo with no tag in the code and a high quality UML model but it is really too expensive !!
I'd advise StarUML or StavrUML, the unofficial fork. It reverse engineers code compliant with Java versions before 1.6 or something. Yes, the project was abandoned years ago, but the UML editor remains incredibly strong and powerful.
However, I'd avoid using reverse engineering a UML diagram. You'll probably get an unreadable mess out if it. Just get stuck in and make it manually :)
I'm sure you can find a suitable tool for your needs if you check these.

Checkstyle for ColdFusion?

Is there some kind of Checkstyle plug-in for Eclipse available for ColdFusion.
There aren't really any coding specifications for ColdFusion. Sean Corfield wrote one for Macromedia's internal development departments that some folks use, but there really isn't a set of coding conventions and rules that the community adheres to. Thus, there is no plugin to test that your code follows those rules.
That said, if you have standards that you prefer/enforce in your company or team, then you can use the code formatter in ColdFusion Builder 2 (still in public beta, at this time) to quickly check/update source files.
You set the formatting guidelines in the Eclipse preferences, and then you can run the formatter from the menu: Edit > Format (Keyboard shortcut: cmd/control + shift + F)
I search around a bit for cf specific Checkstyle tool, no luck. I think since CF is a tagging language as much as a scripting language, it lags behind in tools like this. You could check out the coldfusion specific eclipse plugin, it may have some of its own type checkstyle functionality.
http://cfeclipse.org/
Hoping this is still relevant to someone...
Long time ago, I've tried an approach using checkstyle regexp tags.
I wrote a blog post, check if there is any useful hint:
http://rcastagno.blogspot.it/2009/09/checkstyle-50-regexps-and-eclipse.html
There is a static code checker, written in ColdFusion, FOR ColdFusion. see https://github.com/wellercs/CodeChecker. There is also a linter that can plug in to Eclipse or ColdFusion Builder, called CFLint. See https://github.com/cflint/CFLint for that tool.
So CodeChecker is a stand-alone application and CFLint may be used, as I remember, stand-alone or as a plug-in to a number of IDEs.
You can easily add rules and guides to CodeChecker, I haven't tried with CFLint.