Jump to content

Editors.

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
6 replies to this topic

#1
k4m1k4z1

k4m1k4z1

    Learning Programmer

  • Members
  • PipPipPip
  • 38 posts
Hey forum! I am learning to code with javascript, and i am wondering if there are any good editors that allow you to run the javascript code that you just wrote inside the editor, so you dont need the browser. Help would be greatly appreciated.
Cheers.

#2
Alexander

Alexander

    It's Science!

  • Moderators
  • 4,118 posts
Huh, I'm not aware such a program exists. Due to the nature of how JS is run it is most recommended to run alongside HTML, there aren't any JS editors out there that do not output to the browser, it would be hindering and not much helpful. In fact there aren't any JS editors out there at all that aren't commercial, it looks like in a glance.

For speedier testing of simple functions you can use a tool such as W3School's TryIt editor:
http://www.w3schools.com/js/tryit.asp?filename=tryjs_text

On their JS tutorials you can open up this editor with the example being shown and play with it, for example.

If you're still keen on doing it, then you'll need to compile an engine yourself such as:
http://code.google.com/p/v8/

Edited by Alexander, 16 June 2010 - 09:44 PM.

Be sure to read the updated FAQ! || Health is achieved through the same 10,000 steps.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.

#3
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
Given that most JavaScript is meant to interact with web content... what would be the point?
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#4
niggoo

niggoo

    Newbie

  • Members
  • Pip
  • 5 posts
There are no editors just for JS. You can use an IDE, eg Aptana Studio (Aptana).
You can install Aptana as stand-alone or Eclipse-Plugin.

#5
Csabi

Csabi

    Learning Programmer

  • Members
  • PipPipPip
  • 62 posts
Try out Adobe Dreamweaver. This can be used for .js files or .html .php and almost anything from the internet programming category.
I`m using it, it`s useful. It shows the code in various colors, and it shows the errors.
Dreamweaver can show the source-code and a preview of it at the same time.

#6
Guest_johnny.dacu_*

Guest_johnny.dacu_*
  • Guests
If you want something like you could try notepad++

#7
gruntmonk

gruntmonk

    Newbie

  • Members
  • Pip
  • 5 posts
*deleted content*