Tell me more ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I'm developing on top of OpenLayers.js some webmaps and I feel comfortable using tags files generated by DoctorJS (aka jsctags) to get some quick autocompletion and suggestions on JS in my IDE.

The problem is, jsctags seems unable to correctly generate tags file from OpenLayers 2.12, I get this error:

fradeve@edgar:~/projects/sipgis$ jsctags OpenLayers.js 
Didn't find a name for constructor
node.js:202
throw e; // process.nextTick error, or 'error' event on first tick
      ^
Error: Didn't find a name for constructor

My system:

echo $NODE_PATH
/usr/local/lib/jsctags/:/usr/local/lib/jsctags/:

node --version
v0.5.10

git log -1
commit 96793072fb43cb0baca6025a187aeaf9f7cdfd79
Author: Dimitris Vardoulakis <dimvar@gmail.com>
Date:   Sat Apr 14 15:45:09 2012 -0400
share|improve this question

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.