How do I create a typescript project? - eclipse

I am trying to learn typescript with Node.js and the TypEcs Eclipse plugin. I installed Node.js and did npm install -g typescript. I also followed instructions on the TypEcs front page to install TypEcs with Eclise Luna.
Now I have a typescript perspective as shown below. But there is no project type for TypeScript when I try to create a test project.
My question is,
How should I start a new TS project with TypEcs?
Thanks.

You should install Nodeclipse Enide Studio 2014 plugins for Node.js. Nodeclipse has simple Typescript option in new Node.js project wizards. (It is also better idea to start from simpler JavaScript first)
I am lead of Nodeclipse, I don't yet use Typescript, but I would like to collaborate on the
"Node.js + TypeScript" topic on GitHub. Be ready to share, discuss and research.

I haven't got Eclipse here to test, but I believe you can start by creating any of the available project types that includes JavaScript.
If you aren't sure what to use, choose a static web project (this doesn't have any server-side code).

Related

If I check in eclipse project into tfs, will I be able to use it in VS environment?

My ultimate goal is to completely migrate eclipse (mars) project into Visual Studio environment.
During my research, I have tried several options:
1) Create project from existing code. Doesn't apply to my case, since my project is a combination of .java and .jsp files, wizard only offers C++, C#, Visual Basic options.
2) TFS plugin for eclipse.
3) Checking in the project from eclipse into tfs.
Within the third option, I am planning to create a new team project, and check in the project from eclipse based on that article manual.
My question is will I be able to open and operate project I checked in inside VS environment?
I am also opened to any other suggestion, which might help me resolve that problem.
If you have an Eclipse project and you want to move to something like Visual Studio there are three options:
Java Language Support plugin
Visual Studio Code
Java Language Service for Android and Eclipse Android Project Import
Except for the latest, I expect you have to review the build script to make it work in the new environment.
TFS/VSTS is language agnostic and has no interested in IDE and has no "project conversion" support.
No, sharing(check in) the project in Team Foundation server just means to source control the code. You can't directly using them in VS environment.
However you can download the project and work on it locally(local eclipse). Then check in the changes to TFS server. More details please refer: Importing Projects from Team Foundation Server
Here is a tutorial includes step-by-step instructions to help you get
started with the Team Foundation Server plug-in for Eclipse.
Team Foundation Server Plug-in for Eclipse - Beginner's Guide

AEM error on real time

Is there a way to configure AEM into an IDE like IntelliJ,Eclipse...
So that the IDE shows the errors on my project before I compile it even if I put it outside the source folder like for example the components created.
If possible both the .java and .jsp
I'm not entirely sure what you mean by outside the source folder, but have you taken a look at adobe's documentation?
They have instructions for IntelliJ + AEM with Maven. It also instruct on jsp support as well. It's for 5.6.1 but it should be valid for 6.x as well.
https://docs.adobe.com/docs/en/cq/5-6-1/developing/developmenttools/howto-develop-aem-projects-with-intellij.html
Here's one for Eclipse
https://helpx.adobe.com/experience-manager/using/creating-aem-project-using-eclipse.html
They also have a more generic set of instruction
https://docs.adobe.com/docs/en/cq/5-6-1/developing/developmenttools/how-to-build-aem-projects-using-apache-maven.html#How-To%20Work%20with%20JSPs
Yes, you can maintain CRX data(AEM folders like /etc, /apps, /content, etc) in an IDE like eclipse. This will help you iron out all the compilation errors using features of IDE. Make use of this eclipse plugin called vaultclipse. You can install it from eclipse marketplace.
There is also another plugin called AEM plugin, details on how to use it here.

Adding source code Nodeclipse

I am experimenting Node.js with Express. I am using Nodeclipse plugin for Eclipse.
Can any one please suggest me how to add/link source code of Express (generally any third party module) to the project in eclipse?

Nodejs not working with Intellij Idea

I would like to use Nodejs in sync with my IDE in order to do a browserify + gulp/grunt config for my frontend modules.I am currently on Eclipse which crashes when I attempt to install npm modules for my config.
I currently use grunt with my package.json and the gruntfile and the npm modules outside the project,I have also found that the watch task is useless because one has to refresh the files in Eclipse and then restart the server.
A friend recommended the Intellij Idea IDE.I have come to understand(painfully) that the Nodejs plugin is not available in the community edition and is not likely to be.I would like to know if there is any way to run tools such as gulp,npm,browserify with a seamless watch config in the IntelliJ IDEA.
I have a simple J2EE project that uses no frameworks.
You can find more details in this link.
Normally I recommend to use text advanced text editor like
1.brackets
2.atom
3.sublimetext
Then it'l be more faster and easy.

node.js in Eclipse - which plugin(s) are most people using?

I'm mostly interested in server-side web development, though being able to redeploy some bits in Chrome would be nice.
I am currently running Eclipse Indigo on Ubuntu for developing mostly Java/Scala programs and to use git.
So far I've come across http://code.google.com/p/chromedevtools/ and https://www.ebayopensource.org/index.php/VJET/HomePage, but not sure which is preferable.
There is Nodeclipse.org effort. Current version is 0.16
update site is
http://www.nodeclipse.org/updates/
When you want to help in any way, start by raising issue
Features Creating default structure for New Node
Project and New Node Source File Generating Express project
with Wizard JavaScript Syntax highlighting Bracket
matching and marking selection occurences with background color
Content Assistant within one file Go to definition with
Ctrl+click when JSDoc is
used Refactoring within one file
(Alt+Shift+R) JSON files highlight and
validation NPM support Debugging - Breakpoint,
Trace, Variables, Expressions, etc... via Eclipse debugger plugin for
V8 Setting project properties for JSHint-Eclipse
automatically; JSHint
settings template
Passing arguments to Node application and Node.js,
specifying environment variables values to use Running
CoffeeScript *.coffee files Running *.js files with
PhantomJS, MongoDB Shell or Java 8 Nashorn jjs util
Bundled together with Markdown Editor, GitHub Flavored Markdown,
StartExplorer (for system explorer and shell), RegEx, Icon Editor,
MongoDB, RestClient Tool and other plugins (20+ in total, check
update site and Nodeclispe Plugin
List) Support for Eclipse Juno, Kepler, Luna M3
(source: nodeclipse.org)
Read http://www.nodeclipse.org/ for more & latest information.
What I have tried
VJET contains lot a bugs (in coloration, auto-competition ...). Could be better after a few updates. Node.js support is quite not up to date.
Eclipse Web Tools does no support node functions
NodeClipse http://www.nodeclipse.org/
Netbeans have a NodeJS plugin. Looks quite complete.
The chrome dev tools is just a debugger (and some chrome related utilities), not a fully usable IDE.
So far I would strongly not to use Eclipse for node.js project.
I'm using Sublime Text 2 for a while, and I'm very happy with it (And it has a node.js plugin).
I would recommend Aptana Studio (www.aptana.com/).
It's quite complete for javascript development besides it doesn't have node.js "direct support
It can be installed both as a standalone application or an Eclipse Plugin.
I've been using it for server and client development and works great for both.
Try Microsoft WebMatrix 2
It is free and has intellisense.
As of Eclipse Neon (May 2016), Supports for Node.js comes as part of the JSDT.
The only prereqs are the installation of Node.js and npm.