I am developing on top of OpenLayers.js. My project folder is structured as follows:
project /
|
|
|
\
As you can say, when I start a new map project, I consider Vim's suggestions on how to end the code by reading JS classes from all the libraries in the project folder (in this case, simply OpenLayers.js).
eg:.
map = new OpenLayers. --> <C-x><C-o>
map = new OpenLayers.Bounds
.Control
.Map
When choosing one of the proposed classes, I should get autocomplete, for example, in Aptana. I installed AutoComplPop and I get a beautiful automatic menu for selecting offers, but they are all taken from the current JS file.
, Tagbar + node.js + jsctags, tags set tags=./tags,./../tags,./*/tags .vimrc.
Tagbar JS , , .
.vimrc:
autocmd FileType javascript set omnifunc=javascriptcomplete
, / .
- ?
, :)