简体   繁体   中英

IDE with C and embedded Javascript support

I have a 100k line C project with about 30k lines worth of embedded Mozilla Spidermonkey Javascript used for scripting GUI.

What is the best way to edit C and Javascript together or at least have a reasonable editor for the Javascript?

On Linux, I used to use two different instances of Eclipse one configured for C, one for Javascript. IT was not a particularly convenient solution.

Now that I am working on a Windows build, Visual Studio 2008 is doing fine with C support but Javascript support seems a bit ...lacking.

All I really want is to jump quickly between functions in the Javascript code and inspect variables. There are about 30 .js files. I can live without code completion and other niceties.

Ideally, I would see when calls to C code are made and jump to the C code but that is probably asking too much.

Otherwise it seems I am back to Notepad++ and grep.

I use the Zeus editor and it has a automatic ctags feature that works well for C, letting you jump between things like functions and structures etc.

I have not used the editor for JavaScript but the ctags web page lists JavaScript as one of the support languages so it might work.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM