Rejoice Sublime Text* users, you can now automate Intel® XDK tasks directly from Sublime Text. With the new plugin for the Intel XDK, you can edit your code in Sublime Text and launch the editor, push to the cloud or device for testing, or start the profiler.
Grab the plugins from _ . Make sure you have the correct Sublime Text* version. Next, install the plugin for Sublime Text. It is not currently available for package control.
You should extract the "XDK" folder to plugin's folder of your Sublime Text* and restart it. Usually folder with plugins is located at
- Windows: %APPDATA%\Sublime Text X\Packages (put XDK folder here), where X is 2 or 3 depending on your sublime's version.
- OSX: ~/Library/Application Support/Sublime Text X/Packages , where X is 2 or 3.
- Linux: usually ~/.Sublime Text X/Packages, where X is 2 or 3, but may vary.
After the plugin is installed, restart Sublime Text.* You will now have a new menu at the top titled "Intel® XDK". This menu has four additional sub menus' to interact with the Intel XDK
Using the Sublime Text* plugin
Open up your Intel XDK project in Sublime Text*. Your project root folder must have the _project_.xdk file in it, otherwise it cannot communicate with the Intel XDK. Select your default HTML file, usually index.html, and the menu items will be available for use. Whenever you execute an Intel XDK command, it will make sure you current project is the project you have opened in Sublime Text.
The emulator sub menu will let you run your app in the emulator. You can also launch the emulator in a separate window. You can find more instructions on using the device emulator at https://software.intel.com/en-us/node/514754
There are two options in the test menu. The first option, push files to testing server, will push your current project to the cloud to test in App Preview. You can then open up App Preview on your device and select the project, or switch to the Intel XDK and find the QR code to launch your app.
The second option will launch your app directly on device through the Debug Tab. You can test on an Android* 4+ or iOS* device. For more information on testing and debugging, see https://software.intel.com/en-us/html5/intel-xdk-debug-and-test-overview#TestTab
Here you can debug your app on device with a wired USB connection. This is currently enabled for Android* 4+ or iOS* devices. You have three options
- Start the app on the device (no debugging)
- Debug the app on device
- Stop the app on the device
Please see here for more information on the debug tab.
This will allow you to profile your app on an Android* 4+ device. The memory profile tool provides more information then regular Chrome* Developer Tools, including exact locations in the source code of where the performance issues are.
Please see here for more information on the profile tab.
For more such Android resources and tools from Intel, please visit the Intel® Developer Zone
Other Popular Deals
- The 10 best job hunting apps on AndroidTop 10 Android launchers (December 2016)
- The 10 scariest horror games on AndroidAndroid app stores: 5 best alternatives to Google Play Store
- Best Android apps for rooted devices18 apps for a memorable Valentine's Day
- Top 15 Android games that you should playThe 20 best looking games for mobile phones
- 8 Android apps to tickle your funny bone17 must have apps for any Android device (plus alternatives)
- 5 apps to get the Android Lollipop look on your smartphoneTake control of your Android device with these apps
- 7 weird and strange apps for your Smartphone10 neat Google apps you may not know of
- 10 essential Indian apps for Android devicesPerfect Viewer