#9 JavaScript code completion

Rich Sezov

Adding JavaScript code completion (sidekick?--not sure
how this is implemented) would make JEdit the ultimate
web developer's tool.


  • Alan Ezust

    Alan Ezust - 2006-09-07

    Logged In: YES

    SideKick has a completion mechanism. XML already has a
    JavaScriptSideKick which has no completion yet.

    Anyone who wants to work on that should be committing to the
    XML plugin SVN. If you volunteer, speak to me about getting
    commit privileges.

  • Dale Anson

    Dale Anson - 2006-09-07

    Logged In: YES

    I've looked at it. It'll take a lot of work, I think.
    Right now, the javascript sidekick parser is a few regular
    expressions. They do an okay job of parsing javascript, but
    it could be better. They are not sufficient to implement
    code completion. Really, what's needed is a better parser.
    I've looked for a decent javacc parser for javascript, but
    haven't found one. I adjusted the html sidekick to delegate
    to the css sidekick so in-line <style> tags are parsed into
    the html tree, it would be awesome to do the same thing with
    with in-line javascript.

  • Dale Anson

    Dale Anson - 2006-09-07

    Logged In: YES

    Hmm, I googled again and found a relatively recent jjt file
    for ecmascript. I'll add this to my growing list of things
    I don't have time for :)

  • Dale Anson

    Dale Anson - 2006-09-07
    • assigned_to: nobody --> daleanson
  • Rich Sezov

    Rich Sezov - 2006-09-26

    Logged In: YES

    If it helps, it looks like Vim 7.0 has JavaScript code
    completion. I don't know if the formats are compatible, but
    maybe their script could be used?

  • Matthieu Casanova

    • labels: 871559 -->
    • milestone: 619623 -->

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks