Tutorial - appMobi Javascript Intellisense
v1.00 : 09.20.2011
Several developers have asked for intellisense/auto-completion support for Notepad++, Eclipse, and Microsoft Visual Studio. This document will outline where to download the auto-completion libraries and how to install them into your editor.
1) Download the file javascript.xml from: http://appmobi.com/documentation/index.php?DOC=NOTEPAD_PLUSPLUS_INTELLISENSE
2) Go to c:\Program Files\notepad++\plugins\APIs\ and replace the javascript.xml file with the one above.
3) In Notepad++, select the "Settings" menu, then "Preferences". Then select the "Backup/Auto-Completion" tab. Make sure you check "Enable auto-complete on each input" and "Function parameters on input".
4) If you edit a file that does not have a ".js" extension such as an ".html" file, make sure you suggest the JS preference. Go to Language -> J - >Javascript.
1) Download the file appmobi-vsdoc.js from:
http://appmobi.com/documentation/index.php?DOC=EDITOR_INTELLISENSE
2) Copy the file into your project.
3) Include the script locally BEFORE the appmobi.js tag. In order for the engines to process the file, it must be referenced locally.
<script type="text/javascript" charset="utf-8" src="appmobi-vsdoc.js"></script>
<script type="text/javascript" charset="utf-8" sc="http://localhost:58888/_appMobi/appmobi.js"></script>
4) In Eclipse based editors, you may need to open up the file manually to get it to parse it and recognize it.