Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
This is a super basic question I am just unfamiliar with the definitions to some of the terminology. I am using a mac and i'm looking for a IDE(I assume it is an IDE as that is what I use for python) so I can write in JavaScript for study offline and see my results. I have searched google, downloaded Aptana Studio 3 and a few other suggestions, also I have the latest version of Xcode. Maybe I am just overthinking this or it is my lack of experience but I can not seem to figure out how to write JavaScript or other specific languages inside one IDE. Sorry if this seems like too straight forward to answer but i'd really like to find an IDE for OSX that is free, writes at least html5, css, and JavaScript. Yes, I have googled that and how to begin writing JavaScript on a mac. Thanks a bunch!
an IDE stands for Integrated Development Enviroment so a program that helps you write programs is an IDE
an IDE for javascript could be any text editor, write your code as regular text save it with .js as extension and add a reference to that file from an html page.
I think you can use these free IDE's on mac:
Sublime Text and
Aptana Studio
I'm sure there's alot more, just google it
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I first would like to probably apologize in advance for this question, because this is so low-level it's embarrassing.
Right now, I'm learning Javascript through Codecademy, and while I'm enjoying it, I want to have an environment where I can experiment with what I'm learning in a way where I can see results of what I'm programming, much like what I see when I'm going through the tutorials.
I'm sure I'm missing some incredibly obvious answer, but it looks to me like every system I've seen so far is for either writing the code or running it, not something that will let me quickly try something, hit 'run', and see what the results are. I've looked at Sublime Text, Aptana, and some other things, but they don't really do what I want.
I'd really just like a basic environment that's like Codecademy Labs, but in software form.
Again, I apologize, I feel really dumb asking this question, but I was hoping to get some help.
A modern web browser (e.g. Chrome) is a full-featured Javascript environment with a console, interactive debugging, and all manner of useful tools. Write your code in the editor of your choice (I do like Sublime, myself, but to each one's own) and open the file in your browser with the dev tools. You can even open the file in multiple tabs for multiple independent sessions.
If you want offline solution only, then ya any modern browser like Google Chrome Console is enough.
However you can also try the w3schools try it editor, you can run both html and javascript in it. I use it sometimes, quite simple and handy (although online)
http://www.w3schools.com/html/tryit.asp?filename=tryhtml_basic
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I am using Eclipse to develop some JavaScript codes where I need auto-completion ( Code Content Assist) available. Is there anyway to activate such a thing for JavaScript codes in Eclipse?
Once you have the JavaScript Development Tools installed, you have to be working with a file in a JavaScript Source Folder. To do that, you can create a JavaScript project or enable an existing project from its Configure context menu (right-click->Configure->something JavaScript). Once that's done, if it wasn't opened automatically, bring up the project's JavaScript Include Path property page and create or mark an existing folder as a Source Folder. That should enable it for both JS files and web pages--assuming you have the web page support from the Web Tools Platform installed as well. To get the entire thing installed, you can follow the instructions at http://wiki.eclipse.org/WTP_FAQ#How_do_I_install_WTP.3F .
The defaults during conversion should set it up to deal with JavaScript that's aware of browser objects.
You need to have the Javascript Development Tools component of Eclipse installed. You can install this in Help > Install New Software.
Eclipse is best suited for Java and related technologies. Although it has a very basic support for Javascript, like you can use ctrl + O to view all the variables and functions. There is no auto complete support for Javascript.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
Im looking into documenting the javascript code we develop and are looking for some good javascript documentation generators, does anybody have any suggestions?
We used to used ndoc to create documentation for our c# code and are looking for something similar to document our js code - ideally something that can be run from a command line.
thanks in advance!
You can use famous JSDoc-Toolkit for that.
JsDoc Toolkit is an application, written in JavaScript, for
automatically generating template-formatted, multi-page HTML (or XML,
JSON, or any other text-based) documentation from commented JavaScript
source code.
And yes it also has command line options.
JSDoc is an approach to generating documentation from commented JavaScript. There are many variations:
It was originally implemented in Perl.
JSDoc-Toolkit ported it to JavaScript, but requires Java as it uses the Rhino JavaScript engine written in Java.
Several people have ported it to run directly on the node.js JavaScript engine/platform, e.g. node-jsdoc-toolkit.
dox also runs on node.js, it combines JSDoc-like tags and markdown markup but requires a separate templating engine(as used on Stack Overflow and github).
All run from the command line. Choose according to your tooling preferences. I like node.js for its speed and all-JavaScript-all-the-time feel. The DailyJS "Let's Make a Framework" post on writing documentation describes these and other tools; unfortunately dox was radically overhauled to just output JSON structures since that was written.
https://stackoverflow.com/q/1221413/1162195 mentions other JavaScript documentation generators.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I see that javascript is becoming more and more practical as a server side language with the advent of node.js and v8. As far as frameworks go, most of what I've seen are minimalistic frameworks. Even express.js, one of the more promising ones, is a little bare.
Are there any full stack server-side frameworks out there for JS yet?
There's RingoJS, the current form of the (surprisingly old) Helma framework. It's a Rhino-based implementation, so you can get whatever you want from the JVM (sort-of a "good news/bad news" joke I guess).
Check out towerjs and railwayjs.
There is a very powerful webapp stack called ringojs. It is actually a Rhino prompt that you can use to run javascript modules. It is based on Jetty and features a well designed set of modules and a powerful but simple template engine (including inheritence and macros). You can reuse the galaxy of Java libraries out there throught simple Javascript-Java interop. Coming from J2EE development I threw out a lot of ceremony code and configuration - it is very productive, especially tweaking your running webapp throught the prompt
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I'm working on a piece of logic that I would like to express on the server as well as in the browser. Something like validating a form where there must be certain logical relationships between the elements based on what has already been entered.
So... If I can write the logic once and somehow end up with both Ruby and with Javascript, I can write the logic just once and not have to worry about making sure that two pieces of code written in different languages have the same functional behaviour.
I don't need to reproduce everything in Ruby, obviously, and one simplification might be to port a single general-purpose library like Functional Javascript to Ruby.
Does anyone have experience with RubyJS? Can anyone point me to an existing project using RubyJS?
Thanks in advance...
As far as I can tell, Opal is the best Ruby to JS converter/compiler out there right now. Here you can see it in action.
It isn't perfect, but it works most of the time and unlike older projects such as RubyJS, Opal is still being actively developed.
I know about http://hotruby.yukoba.jp/ but have never used it
maybe this helps:
http://opalrb.org/
haven't tried it though
I recently heard about a project named "Johnson" which embeds the Spidermonkey JavaScript interpreter inside Ruby. http://github.com/jbarnette/johnson
You could then eval some javascript inside ruby.