Hi,
Just here to report a weekend hack. This hooks up DXR to Komodo's
codeintel system; it supports, among other things, Python and
JavaScript. It's by no means perfect, but I figured having something is
better than nothing - it can be replaced by the better thing easily in
the future.
Source code is on github:
https://github.com/mook/dxr-plugin-komodo-codeintel - hopefully the
readme is clear enough; please comment in the mailing list / newsgroup,
though :)
Unfortunately, this plugin needs a bunch of C/C++ things to be built.
At least the makefile should be hooked up to do it all for you.
(Currently: PCRE, Scintilla, SilverCity, and a patched cElementTree...)
Things to do:
- Configuration; for one, the user should be able to turn off specific
languages if a better plugin for the language is available.
- Tests. This needs tests like you won't believe.
- Output; at the moment, it adds a "go to definition" link to things it
finds, but should be able to do more things like showing the
documentation in the side.
- Remove some of the ugly hacks... ick.
- At some point in the future, perhaps it can try to look at modern JS
:D I expect anything using AMD/CommonJS and the like to confuse the
heck out of it.
--
Mook
_______________________________________________
dev-static-analysis mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-static-analysis