Now you are ready to add files to the library. Specify your library name in the “Name” field. Click button and choose “JavaScript” library type from the drop-down list.ģ. Open “Project Structure” dialog and choose “Global Libraries”.Ģ. Let’s start with an empty project and add an external JavaScript library stored locally on your PC:ġ. js files already in your project and/or for those located outside project root directory. Getting Startedįirst, you need to create a new JavaScript library and tell Intellij IDEA which files it should contain. Code completion works both for debug and release versions but but when going to declaration, you won’t be taken to the minified version since there’s not much sense to descramble it yourself as you may know. Each of these files may contain a debug (uncompressed) version or a release version, also known as minified. JavaScript library is a collection of JavaScript files. If you already have JavaScript files in your project and keep your current settings, code completion and navigation would work as before. For a particular project you can set a scope for each library by defining files and directories the library is applicable to. Further, the Modules tab of the Project Structure window does not appear to have options for setting SDK for a module.Meeting the needs of developers working with JavaScript, Intellij IDEA 10 adds a new feature to allow specifying global JavaScript libraries that can be used across multiple projects. In the Project Structure window, I have “1.8 (java version 1.8.0_45)” selected as the Project SDK default, but still get the error about cannot start compiler. However, when trying to use the Build->Make Project or Build-Compile menu items (which I assume is what is needed to actually get the app compiled for uploading to an android device) I get an error dialog stating “Cannot start compiler: the SDK is not specified for module xxxx, Specify the SDK at Project Structure dialog”. I second the comment from livelite, would appreciate advise/tutorial on how to actually build/package and then deploy android app using Cocos Code IDE v2/Cocos2d-JS on Windows 8.Īt the moment with Cocos Code IDE v2/Cocos2d-JS I can successfully get the test app (the ‘hello world’ framework after starting a new project) working OK on Windows 8 desktop, via Explorer v11 browser (but not Chrome?) when uploaded files to remote server and on a Samsung Galaxy connected via USB.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |