📜 ⬆️ ⬇️

Xpom-Xpum! SDK - IDE for Google Chrome Extensions and Applications

What it is?


Xpom Xpum! The SDK is a free open source CE IDE (MIT license). The purpose is to write all sorts of different extensions and applications for browsers based on Chromium.

How to use?


So, you downloaded the latest release of Xpom-Xpum! The SDK (at the time of writing the article - Alpha) and made sure that the .NET Framework 4 is installed.
In front of you is the IDE window.

First of all, as in many other IDEs, you need to create a project:

  1. Click File> New .
  2. Choose the type of your project - "Chrome extension". Enter some name of the project. Since a folder will be created with the name of the project, the name should not contain these characters: \ /? "<> .
    Remember the Project Folder. This is the folder where our extension files will be.
  3. The file Manifest.json appears in the project browser (on the left). Double-click it and see its text with this content:
    ')
    { "manifest_version": 2, "name": "1", "version": "1.0.0.0" } 

    This file is enough to install a trial extension in Chrome (although you can add more files and folders through the Project menu, for example, with icons, background scripts or content scripts).
  4. Click the "Run" button on the toolbar.

    Xpom-Xpum! launches an instance of Google Chrome with the extension installed. You can see your extension if you follow the link chrome: // extensions.

    If the browser is already running, the extension is simply installed in its current instance.
  5. To make an extension run outside of Xpom-Xpum, you can pack it into CRX (but in the new Chromium and all browsers based on it, installing such extensions is prohibited!) Or simply load it into the developer mode in the browser by specifying the Project Folder.

What if you don’t have Google Chrome?


Xpom-Xpum! can be used with any Chromium-based browser if it correctly supports the installation of extensions with the command line.

It is recommended to use: Comodo Dragon, SRWare Iron, Uran, Yandex Browser.

To configure the browser in the IDE:
  1. Go to Startup -> Startup Settings.
  2. Click Add Browser To List.
  3. Enter the path to your browser's EXE (for example, C: \ Program Files \ Browser \ chrome.exe). Click OK.
  4. Important: choose this browser from the list of browsers in the Run Settings window.
  5. Click OK in the Run Settings window.

IDE Setup


In Xpom-Xpum! The SDK can create your own project type for the Create Project window and set syntax highlighting. About this - in the documentation .

In addition, the source code Xpom-Xpum! SDK, written in C #, you can easily open in any Visual Studio newer 2010 (including Express), and modify and compile without any restrictions.

Source: https://habr.com/ru/post/252737/


All Articles