Re: javascript autocompletion in html files and in xml files
How can I achieve this with external Google API scripts?
I have a html file with:
<script src="http://maps.google.com/maps?file=api&v=2&key=KEY" type="text/javascript"></script> <script src="http://www.google.com/uds/api?file=uds.js&v=1.0&key=KEY" type="text/javascript"></script> <script src="http://www.google.com/uds/solutions/mapsearch/gsmapsearch.js" type="text/javascript"></script>
but there is no code completion for this, but the page works when you open it.
Thanks for helps.
Leszek
Please sign in to leave a comment.
hi!
no idea for me.
are you using google web toolkit?
No, it's simple reference to external Google API.
I decided to make a new thread about this:
http://www.jetbrains.net/devnet/thread/286977
Project configuration should include javascript files needed for completion (e.g. module should have library with javascript sources attached).
AFAIK Google maps javascript is obfuscated and one needs to have some stub javascript files used instead
Thanks for reply.
I will try to download it and attach to the project.
This could be truth Google's JS is obfuscated, but at least some functions have to be normally called due to usage by other people
Public symbols are self extracted so real files are not of interest, please, see http://youtrack.jetbrains.net/issue/IDEA-49202