I'm developing a web app for Android. I've set up a regular Android eclipse project, with all web files inside assets/www. I'd like to see JavaScript and JSHint warnings in the problems tab as well.
JavaScript Development Tools is installed. I can correctly see the syntax coloring, but if I type something incorrect in a js file I can't see any problem when building.
Is it possible to manually add a new builder for this project? Any other way to enable at least JSHint?
Thanks in advance.
There's a plug-in for jshint support in Eclipse: jshint-eclipse. The current jshint version (1.1.0) has a severe performance issue that slow down Eclipse if you have a lot of JS files to check. The bug is already fixed and the fix will be included in the next version.
Related
I had an old version of eclipse - probably 2018-12 - and all was good. Then I upgraded it because it was showing errors for some new syntax.
Now, javascript syntax highlighting and other associated things like automatic indent, brackets assistance etc are working with .js files, but when I write any javascript inside a php or html file using script tags, the code is simply black text.
I read the other questions about this issue, but they are all about it not working at all. It works for me, but only in .js files.
I did try uninstalling wild web developer and installing JSDT from 2020-03, but it was no help. Then I upgraded the JSDT to latest version - still not working. Finally I uninstalled eclipse completely and reinstalled the eclipse for PHP package. It has wild web developer by default. Still the same behaviour.
How can I solve this?
Install the new "Eclipse Web JavaScript Developer Tools" feature (and the related one for JSPs if you need it) from the 2020-09 prerelease site, https://download.eclipse.org/releases/2020-09/. They were included in the 2020-06 Enterprise Java package, but not completely set up for installing later using the 2020-06 update site. 2020-06 also lost the support for task tags in JavaScript files as Wild Web Developer doesn't support them; it'll be back in the final 2020-09 release.
A year ago it was asked about this, so I am wondering what the situation is now in regards to code/debug TypeScript on Linux.
The Atom TypeScript plugin seams really good, but I can't find a single post about debugging in Firefox or Chrome on Linux.
Question
Does someone know what the state is for TypeScript debugging on Linux?
You can debug TypeScript in Chrome using JavaScript Source Maps. It can be generated by TypeScript compiler. Here you can find tutorial.
You can also verify debugging support in Visual Studio Code.
You can also use this https://atom.io/packages/atom-typescript
package for Atom editor. It should be cool setting the breakpoints.
Note the load time of the Atom editor will increase a bit after installing this plugin.
The plugin has great potential and great features list.
Atom is like HTML page.
You can understand this if you go View->Developer->Toggle Developer Tools .
I'm using the plugin fileopener2 and to use it, I must call cordova.plugins.fileopener2.open(...);
When I run this on iOS, everything works perfectly. However, when I run the app on win8, I get an error telling me that cordova.plugins is undefined. Also, I double checked that, after 'ondeviceready' is fired, I console.log the value of cordova.plugins and it indeed returns an undefined value. Can anyone point me as to how I can fix this issue?
For Cordova Windows8 applications (or all applications built with Visual Studio), if your plugin is a custom one (I would assume it's not part of the org.apache...), you have to manually add it. Go to the config file in your www through visual studio. You will see three tabs: Core/Custom/Installed. Go to Custom, go to your cordova project, then in the plugins, find your custom plugin and add the folder of the plugin and voila, it will work!
If you are running into a problem with the plugin not working for a specific platform but working correctly for other platforms, first verify the plugin supports that platform. If the platform is supported, you should contact the plugin author which can generally by done by filing an issue at their GitHub site.
Ex: https://github.com/pwlin/cordova-plugin-file-opener2/issues
Projects created using Visual Studio 2015 are standard Cordova CLI projects. They author may not have Visual Studio, but should be able to reproduce your problem using the command line if you provide them the Cordova version you used (4.3.0 is the default as of VS 2015 RC) and good repro code.
I am trying to develop my own GNOME Extension.
I have read several articles:
gnome-shell-extensions-getting-started
gnome-whiteboards-hello-ide
and the official one.
StepByStepTutorial#fromScratch-settingUpEclipse
From wiki.gnome.org:
It is very helpful to develop using an IDE with JavaScript support. It will help us with code folding, autocompletion, outline, etc.
GNOME has his own IDE for develop, called Anjuta. The problem is that IDE has some lacks, like autocompletion, code folding, etc. so for me it is better to develop using Eclipse until Anjuta gets to have this kind of features.
So, we start setting up Eclipse to have JavaScript support.
Setting up Eclipse
Install Eclipse from your app store of your distribution. Open Eclipse and select your workspace. Go to "Help". "Install new software". Select Work with "All available sites". Search for JavaScript. Install. That's it!
I manage to use Eclipse to write my first extension, but I would like to enable the code completion feature. I found this feature is an huge help to speed up code writing.
I assume that I have to set correct "Include Path" into my JavaScript project. But I can't find which path I have to add.
Note: I use Eclipse Kepler with JavaScript Development Tools on Fedora 19.
Preferably an IDE. Integrated support for Subversion/Git is a big plus as we are a group of 6 people working.
Vim/Emacs is not that popular with the other as it is very awkward and hard to get started and it requires alot of effort to learn which takes the focus away from our project.
We're all used to/familiar with Eclipse, so an IDE that resembles Eclipse would be a big plus as well.
Thanks :D
I think Sublime 2 should be the answer to all your troubles
http://www.sublimetext.com/2
but if you like eclipse, aptana should be nice to
http://aptana.com/
You should try Aptana or WebStorm, the second one is not free, but worth the required value. WebStorm has a default Node.JS and Express project available. If you select to a new project you can start one with these options as well. The IDE has some nice code completion, good highlighting and a large group of addons to enhance your experience with a lot of new technology.
You should get any Eclipse (or Aptana) and install Nodeclipse. That will add Node.js support.
And Express wizard.
Eclipse for JavaEE developers goes with EGit.
Alternatily you can get full Eclipse with everything above pre-installed as Nodeclipse NTS
There is Coffee Editor, but no running, debugging support currently.
Nodeclipse.org. Current version is 0.3.1
Features
Creating default structure for New Node Project and New Node Source File
JavaScript Syntax highlighting
Content Assistant
NPM support
Debugging - Breakpoint, Trace, etc... via Eclipse debugger plugin for V8
Installing
Update Site : http://www.nodeclipse.org/updates
Usage
Check http://www.tomotaro1065.com/nodeclipse/
For debugging check
Using-Eclipse-as-Node-Applications-Debugger
Seems there's at least limited support for Cloud9 (IDE in the browser): http://cloud9ide.zendesk.com/entries/20559696-create-a-coffeescript-node-js-project
Here's a live compilation extension project:
https://github.com/tanepiper/cloud9-livecoffee-ext
Discussion: http://groups.google.com/group/cloud9-ide/browse_thread/thread/0ae17400825d01f9?pli=1
This ide https://atom.io/ from github supports CoffeeScript pretty well. Works fast I particularly like the coloring. I peronally don't like Eclipse, Aptana or similar options, they are so heavy in my computer.
RubyMine 4.0 (Early Access, US$59 w/free upgrade to 4.0 release) has VCS support (git et al.), debugging, node support, like a full-blown IDE. It also has CoffeeScript support, though it falls down (as I recall) on debugging --- you end up back in JavaScript land --- which is where I'm doing most of my work now.
I'm using it right now with node, express, and JavaScript (mostly) and CoffeeScript (little experiments).
I assume RubyMine is a superset of WebStorm (same company). However, for $20 extra, you get ruby + JavaScript IDE, so I would suggest going with RubyMine if you have any inkling of doing ruby or rails in the near future.