Combine c++ and javascript development in Eclipse - javascript

I am new to Eclipse IDE, but now I need it to develop apps for webOS.
Help me please with the next questions:
I have downloaded the Eclipse IDE for JavaScript Web development. How can I find it's version information?
Can I use one instance of Eclipse IDE for JavaScript and C++ development at the same time? (if yes then please write the steps to extend JavaScript IDE to support C++ development) Or I should have two instances installed?
Some parts of documentation are written exactly for Eclipse Galileo C++ development. Are different versions of Eclipse IDE really different? Will I have problems porting settings from Galileo to Helios or Indigo?
Thanks.

Usually Versioninformation can be found under Help->About Eclipse
I do not know about this exact setup but I have Java/C++/PHP in one Eclipse install.
I installed the java version and then Help->Install New Software where I choose -all sites- as source and then searched for the compontent I wanted and installed it.
After installation restart eclipse to load the new plugins and now you should have a new Perspective for the language you installed.
If you can not find the perspective look under Window->Open Perspective->Other.
I do not know although I work with different version. Maybe some names (for example in menus) are changed but I really can't say (maybe a hint that they are not different? But Probably I just did not dive that deep into it).
The menu-paths I gave are under Indigo release.

I'm using Eclipse CDT with Aptana as a plugin which covers both bases for me.

Related

How can I find JavaScript project option in Eclipse 2020-06?

I have downloaded Eclipse IDE for Web and JavaScript Developers package of 2020-06 version. But while creating project I am not seeing "JavaScript Project" option upon doing "File >> New". Can anyone please help me out?
As of that release, you no longer need a distinct JavaScript Project and its associated Include Path and other options, as JavaScript support is primarily coming from the Wild Web Developer project. WWD provides features to the Generic Editor, and doesn't place any requirements on the file to be in a particular folder in a special kind of project. Ideally, you just create a JavaScript file and start coding without needing to tell Eclipse anything about your project that you're not already setting up otherwise.
If you are unable to create a Static Web Project, I recommend:
double check your installed software - do you have all the sub-packages for Web Development?
take a look at the CodeMix project (also installable through the Eclipse market place) - its a commercial product but may have what you need in there.
The following steps worked:
To get back the JSDT JavaScript editor you have to uninstall Eclipse Wild Web Developer and install JavaScript Development Tools from the Eclipse IDE 2020-03 release.
Uninstall Eclipse Wild Web Developer: In Help > About Eclipse IDE: Installation Details, in the Installed Software tab select Eclipse Wild Web Developer and click Uninstall
Install JavaScript Development Tools from the 2020-03 release: In Help > Install New Software... work with https://download.eclipse.org/releases/2020-03 and choose JavaScript Development Tools to install

Difference between Eclipse IDE for JavaScript and Web Developers and for Java EE

The question is, Eclipse IDE for JavaScript and Web Developers and Eclipse IDE for Java EE Developers, are both different IDEs, right? Assuming that, i can use the tools at Eclipse IDE for JavaScript and Web Developers like a eclipse java EE perspective? If not, what tools i can use to write javascript at Java EE IDE?
Thanks in Advance.
I really always hate to see folks being snippy in their answers, I apologize for the answers you got so far.
The core differences are:
Java:
The essential tools for any Java developer, including a Java IDE, a Git client, XML Editor, Mylyn, Maven and Gradle integration
Web/JavaScript:
The essential tools for any JavaScript developer, including JavaScript, TypeScript, HTML, CSS, XML, Yaml, Markdown... languages support; Kubernetes, Angular and React frameworks support; Node.js debugger; Git client; Mylyn task management; integrated terminal and remote filesystem explorer; Web and application server management.
At the end of the day its all about which packages come pre-installed. You can choose to start with one and then add the packages you want from the other. To see which specific pages are installed with either go here:
Java: https://www.eclipse.org/downloads/packages/release/2019-09/r/eclipse-ide-java-developers
Web/JavaScript: https://www.eclipse.org/downloads/packages/release/2019-09/r/eclipse-ide-web-and-javascript-developers-includes-incubating-components
As the Eclipse site clearly shows, the different versions contain different modules; in this case one has modules for JS and Web development, the other for Java EE development. Just download the version that has all the modules.

Typescript compilation in Visual Studio vs WebStorm - Do both use Node.js for compilation?

I recently changed from using Visual Studio to try out WebStorm as an IDE for developing an AngularJS / Typescript front-end application.
What I noticed is that Typescript appears to be slower and less well integrated into WebStorm.
Can anyone tell me if the two IDE's compile Typescript in the same way? I believe WebStorm does this through Node.js and I am wondering if this might account for WebStorm feeling a bit slower and giving less intellisense.
Comments from people who have used both IDEs would be very much appreciated.
I believe Visual Studio uses Chakra (the IE engine) saw that on codeplex and GitHub a few times.
The Typescript team also creates the VS plugin so I suspect they just have more resources available to also make Typescript super integrated in VS and because they created it they know a lot about using it.
They both use the same languageservice so WebStorm should be able to give it the same experience though.
edit: You see Chakra mentioned here for example: https://github.com/Microsoft/TypeScript/pull/995
Visual Studio's Typescript IntelliSense is powered by Roslyn, running on .NET, so it's not the regular Typescript language service.
http://blogs.msdn.com/b/typescript/archive/2014/11/12/announcing-typescript-1-3.aspx
In WebStorm, I believe TypeScript code assistance is powered by the same code assistance tech used throughout their IDEs. So, again, not the Typescript language service. It does use node to compile TypeScript, as evidenced by the Preferences dialog where it asks for the path to your node binary.
I'm not sure if you were asking specifically about how the IDEs handle IntelliSense, how they compile .ts to .js, or both.

Best way to run Sonarqube local analysis with javascript project

In our CI environment the SonarQube build breaker plugin is installed, and build will fail if Sonar scan alert threshold is reached. Developer needs to run SonarQube local analysis and fix any new issues and submit changes again.
But this process does not work for javascript project. SonarQube Eclipse plugin does not support javascript yet, while maven sonar runner only generates a json file as the result. This is not user friendly to developer.
So my question is: is there any other option to make javascript local analysis visualized besides installing local SonarQube server? Thanks.
Best Regards,
For developers to check their code prior to commit, they can use the Issues Report plugin for now. See http://docs.codehaus.org/display/SONAR/Issues+Report+Plugin.
You can use the SonarLint tool with Eclipse.
SonarLint is an extension to your favorite IDE that provides on-the-fly feedback to developers on new bugs and quality issues injected into their code.
http://www.sonarlint.org

How use Eclipse as a Javascript IDE?

I downloaded the eclipse Javascript IDE from the official download page however, when i start the application it says "A Java Runtime Environment or Java development Kit must be available in order to run eclipse." I already have a java IDE copy of eclipse that runs fine so I don't understand why its asking for another JDK.
I just want to develop Javascript in Eclipse, does anyone have any idea how to? Are there special tools or plugins i'm meant to get to get it to work?
Maybe other copy of eclipse use -vm variable in eclipse.ini file, therefore, it work correctly.
Make sure you have JAVA_HOME in Environment Variables or add -vm configuration into eclipse.ini file.
For more information, see this link:
http://wiki.eclipse.org/FAQ_How_do_I_run_Eclipse%3F
For best experience doing JS/HTML/CSS I recommend you using Aptana as plugin. Here you can download it http://www.aptana.com/products/studio3/download Be sure to check Eclipse Plug-in Version option.
Check your version of the runtime that you installed. You can upgrade or downgrade (i.e. if JDK 7, then try JDK 8 and vice versa you can even try JDK 6) and see if it works.
On Ubuntu 14.10 open JDK 7 did not help me much but the older (open JDK java 6 runtime) and the newer open JDK Java 8 helped me out.

Categories

Resources