This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 17588 - Add support for JavaScript syntax highlighting / code completion
Summary: Add support for JavaScript syntax highlighting / code completion
Alias: None
Product: web
Classification: Unclassified
Component: HTML Editor (show other bugs)
Version: 3.x
Hardware: All All
: P2 blocker with 12 votes (vote)
Assignee: Marek Fukala
: 35003 49472 59132 59858 65457 73979 86236 (view as bug list)
Depends on: 89113
Blocks: 16664
  Show dependency tree
Reported: 2001-11-13 12:19 UTC by _ gtzabari
Modified: 2009-05-18 10:45 UTC (History)
15 users (show)

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description _ gtzabari 2001-11-13 12:19:55 UTC
It's quite difficult to editor Javascript while enclosed within HTML comments.
Comment 1 _ gtzabari 2001-11-13 12:20:53 UTC
Changed version
Comment 2 Jan Chalupa 2001-11-27 12:27:57 UTC
Target milestone -> 3.3.1.
Comment 3 Marek Grummich 2002-07-22 10:01:31 UTC
Set target milestone to TBD
Comment 4 Marek Grummich 2002-07-22 10:07:37 UTC
Set target milestone to TBD
Comment 5 John Baker 2002-12-10 03:41:03 UTC
Many users want this feature, please implement for the 
next release.
Comment 6 psuk 2004-03-23 20:22:46 UTC
Changing subcomponent to syntax coloring
Comment 7 Petr Jiricka 2004-09-26 20:23:42 UTC
Changing component to HTML.
Comment 8 Petr Jiricka 2004-09-26 20:25:14 UTC
*** Issue 49472 has been marked as a duplicate of this issue. ***
Comment 9 zikmund 2005-05-03 20:59:16 UTC
It will be more needed when AJAX will come world wide.
Comment 10 Jiri Kovalsky 2005-05-09 14:55:29 UTC
Please take this RFE into account when planning new features into next release.
Comment 11 zikmund 2005-05-23 10:01:06 UTC
*** Issue 59132 has been marked as a duplicate of this issue. ***
Comment 12 Jiri Kovalsky 2005-06-13 06:48:48 UTC
*** Issue 59858 has been marked as a duplicate of this issue. ***
Comment 13 Peter Nabbefeld 2005-06-13 10:01:21 UTC
There are even more scripting languages, such as vbscript, php etc. Also, e.g.
php supports different tags. I'd be glad, if there'd be support for this by a
pluggable and configurable (per project) framework. E.g. if there were plugins
for php5 and asp, one project might be configured to use <% for php, one for asp
and another for jsp.
Comment 14 zikmund 2005-06-14 16:24:00 UTC
This enhancement won't definitely be part of next NetBeans release (4.2) due to
resource constraints, although many people miss it.
Any help from volunteer contributors to NetBeans is welcome.
Comment 15 kittyhawk 2005-07-17 14:46:55 UTC
*** Issue 35003 has been marked as a duplicate of this issue. ***
Comment 16 Marek Fukala 2005-07-18 10:05:27 UTC
I *would like* to implement javascript syntax coloring and all connected stuff
like code completion, formatting etc. for next nb release.

However the change will be quite extensive - there has to be implemented a new
HTML multisyntax, JSPMultiSyntax must be updated along with a huge number of
code to work with the new token types.
Comment 17 arthit 2005-09-29 00:18:15 UTC
CC reporters/voters of the duplicated issues.



JSEclipse, a JavaScript plug-in for Eclipse
Comment 18 slgmibu 2005-12-15 16:23:20 UTC
*** Issue 65457 has been marked as a duplicate of this issue. ***
Comment 19 clever 2006-02-04 13:28:48 UTC
This seems like a very popular request. Currently, Ajax and other JavaScript
based patterns are taking the world by storm. Even Eclipse has a respectable
JavaScript editing module.
Can this be targeted for 5.1? I'm wasting time right now looking for a decent
+1 for me!
Wow... reported back in 2001.. 
Comment 20 clever 2006-02-04 13:31:54 UTC
Thats not cool! Changing the module to web (since Javascript isn't just for
HTML) made the 45 votes disappear!!!!
Swithing back, in hopes they return..
Comment 21 clever 2006-02-04 13:33:50 UTC
Well, it looks like I've committed a mortal sin. I blew away 45 votes on this
RFE... Would be nice if Bugzilla warned that the votes would be deleted! :(
I do sincerely apologize to anyone who lost a vote! I'm quite embarrassed!
Comment 22 vnicolici 2006-02-06 09:15:56 UTC
I think you should file a Bugzilla bug for the problem with the votes.
Comment 23 Petr Jiricka 2006-02-09 14:43:47 UTC
I reported the bug with disappearing votes: see issue 72474.
Comment 24 Jiri Kovalsky 2006-03-27 08:48:34 UTC
*** Issue 73979 has been marked as a duplicate of this issue. ***
Comment 25 Matthew Stevens 2006-05-01 12:23:19 UTC
impressive features (including debugging and test-run)
Comment 26 _ proxity 2006-10-11 12:46:17 UTC
I found two duplicates: #86236 and #71371.
Is there any progress here? I saw the second bug linking to:
Comment 27 Petr Pisl 2006-10-11 14:25:32 UTC
Yes, there is progress. The JavaScript support is on of the main themes, which
we are discussing during next release planing.  Marek takes care about the
JavaScript support.
Comment 28 Matthew Stevens 2006-11-14 15:35:03 UTC
*** Issue 86236 has been marked as a duplicate of this issue. ***
Comment 29 Marek Fukala 2007-05-02 13:34:22 UTC
Javascript editing for both standalone files and html/jsp pages with embedded js
is implemented now.