Can you specify which version of JSDoc you are using? (based on the tags you are using I'm guessing JSDoc 3)
But in general JSDoc does not care about file boundaries or order, so if it isn't already working the problem must be elsewhere. Possibly the problem is that you are documenting two `@external Objects`. You should only document this once.
The following works for me (I get exactly the output you want)...
---- a.js ----
/**
@external Object
*/
/**
Document me...
@property external:Object#someFakeProperty
*/
---- b.js ----
/**
Document me too
@property external:Object#dispatchEvent
*/
--------
with this either of these commands:
$ jsdoc scripts/a.js scripts/b.js
$ jsdoc scripts/b.js scripts/a.js
Michael Mathews
mic...@gmail.com
> --
> You received this message because you are subscribed to the Google Groups "JSDoc Users" group.
> To post to this group, send email to jsdoc...@googlegroups.com.
> To unsubscribe from this group, send email to jsdoc-users...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/jsdoc-users?hl=en.