Tag Archives: ide

Code Editor `Brackets` 1.9 Released, Available In PPA

Brackets is a free, open source code editor focused on front-end web development (HTML, CSS and JavaScript).

The application, which was originally developed by Adobe, is available for Linux, Windows and MacOS.

Brackets editor Linux

Since I haven’t written about Brackets in a while, here’s a quick list of its main features:
  • live preview: see your changes in real time in a web browser (by default, this only supports Google Chrome, but there’s also experimental support for other browsers – you can enable it from the Brackets File menu);
  • inline editor: simply put your mouse cursor on a CSS ID, press Ctrl + E and Brackets displays the CSS selectors inline;
  • supports extensions and comes with a built-in extension manager, with hundreds of themes and extensions available to install.

Brackets extension manager

Changes in Brackets 1.9 include:

  • reverse inspect in Live Preview (clicking an element in Live Preview highlights the corresponding tag in the source code);
  • the application now supports “Replace All” in Find & Replace along with batch operation;
  • the Extension Manager now displays the download count for listed extension, and it allows sorting based on download count or published date. Thanks to this, you can easily find the most popular and the latest extensions;
  • focus can now be swapped between panes using a keyboard shortcut (Alt + w);
  • language mode can now be changed for untitled documents (and code coloringand code hints are now supported for such documents);
  • GitHub organizations can now own Brackets extensions and update them.

A complete changelog is available HERE.

Important! There are two issues with Brackets on Linux.
The first is that to close the application, you must click the close button twice.

And the second issue is that the official Brackets Debian / Ubuntu debs depend on libgcrypt11, which is not available in Ubuntu versions newer than 14.10.

This last issue is fixed if you install libgcrypt11 from an older Ubuntu version, if you upgraded from Ubuntu versions older than 15.04 (so libgcrypt11 is still installed on your system), or if use the WebUpd8 Brackets PPA (there are also direct PPA deb download links below), which should work in any Debian-based Linux distribution, including Ubuntu, Linux Mint and so on.
For more about Brackets, check out its website and wiki.

Download Brackets

(32bit and 64bit debs – only work with Ubuntu 14.10 or older unless you install libgcrypt11 manually or use the PPA -, MacOS and Windows binaries)

To install the latest Brackets in Ubuntu 17.04, 16.10, 16.04 or 14.04 / Linux Mint 18.x or 17.x / Debian 8+ (see how to add a PPA in Debian HERE) by using the WebUpd8 Brackets PPA, run the following commands:
sudo add-apt-repository ppa:webupd8team/brackets
sudo apt update
sudo apt install brackets

Alternatively, download the WebUpd8 Brackets PPA debs from HERE.

Fedora users can install Brackets by using an unofficial copr repository (not yet updated to version 1.9 at the time I’m posting this article).

Arch Linux users can install Brackets from AUR (not yet updated to version 1.9 at the time I’m posting this article).

Read More

Ubuntu Make 16.03 Released With Eclipse JEE And IntelliJ IDEA EAP Support, More

Ubuntu Make is a command line tool created by Canonical, which allows installing various development tools on Ubuntu. It can be used to install Android Studio, Unity3D, IntelliJ IDEA, Firefox Development Edition, Node.js and much more.

Ubuntu Make 16.03, released today, adds support for Eclipse JEE and IntelliJ IDEA EAP, as well as for the Kotlin compiler, along with various fixes, such as:

  • fix Unity3D on lts mesa;
  • fix VSCode license page due to server changes;
  • fix Android-NDK not working due to server changes (download is now for 64bit only);
  • fix Clang support due to server changes;
  • fix Intellij .desktop file.

A complete changelog can be found HERE.

Ubuntu Make Eclipse Java EE IDE

To install the the newly added Eclipse JEE in Ubuntu using the latest Ubuntu Make (after installing Ubuntu Make, obviously), use the following command:
umake ide eclipse-jee

For IntelliJ IDEA EAP, use:

umake ide idea --eap

To install the Kotlin language compiler, use:

umake kotlin kotlin-lang

If you want to remove any package installed using Ubuntu Make, simply append “–remove” to the command you used to install it. For example, to remove eclipse-jee, you would use:
umake ide eclipse-jee --remove

To see all Ubuntu Make can do, type:

umake --help
and
man umake

Install Ubuntu Make

Ubuntu Make is available in the official Ubuntu repositories (starting with Ubuntu 15.04) however, it’s not the latest version, as you can see HERE (though the latest Ubuntu Mate 16.03 will probably make it into Ubuntu 16.04 Xenial Xerus).

To install the latest Ubuntu Make, in Ubuntu (16.04, 15.10 and 14.04), Linux Mint 17.x and derivatives, you can use its PPA. Add the PPA and install Ubuntu Make by using the following commands:
sudo add-apt-repository ppa:ubuntu-desktop/ubuntu-make
sudo apt-get update
sudo apt-get install ubuntu-make

If you want to help with the Ubuntu Make development, report bugs, etc., check out its GitHub page.

Read More

Ubuntu Developer Tools Center 0.1 Released With Eclipse And Android ADT Support

Ubuntu Developer Tools Center (UDTC) 0.1 was released today and it includes support for Eclipse as a standalone IDE, Android ADT support (through Eclipse) and more. 

Ubuntu Developer Tools Center Eclipse

A couple of months ago, Canonical released Ubuntu Developer Tools Center (UDTC), a project to “enable quick and easy setup of common developers needs on Ubuntu”. Using it, you can easily install Android Studio and the Android SDK in Ubuntu and, with the latest version, Eclipse and Android ADT (for Eclipse).
In the release announcement, Didier Roche, Software Engineer at Canonical, mentioned that for now, Canonical is focusing on Android developers, but more will follow, like Go developers, web developers, Dart and more.

Changes in Ubuntu Developer Tools Center 0.1:

  • added Eclipse support as a standalone IDE. Usage: udtc ide eclipse;
  • added Android ADT support (through Eclipse). Usage: udtc android eclipse-adt;
  • adb and other Android tools are now added to user path while installing an Android framework;
  • UDTC now supports framework removal. If you installed a framework and want to remove it, just use: udtc android android-studio –remove;
  • enabled loading of local framework. They are controlled by UDTC_FRAMEWORKS env variable which can point to any path containing local frameworks;
  • added support for reinstallation in different folder than the origin one, cleaning the original directory;
  • DownloadCenter now support redirections;
  • added support for decompressing zip files in Decompressor;
  • new and refresh translations: de, en_AU, en_CA, en_GB, es, eu, fr, hr, it, pl, ru, te, zh_CN, zh_HK;
  • improved i18n support;
  • protect against mistyping with multiple frameworks;
  • framework support refactoring to avoid code duplication;
  • tests fixes and refactoring for better scalability;
  • fixed logging support during test runs;
  • reshape docker files to have fewer layers;
  • don’t raise any Exception for unexpected CLI args.

Install Ubuntu Developer Tools Center

The latest Ubuntu Developer Tools Center 0.1 is available in the Ubuntu 15.04 Vivid Vervet repositories. 
For Ubuntu 14.10 and 14.04, you can install the latest Ubuntu Developer Tools Center by using a PPA:
sudo add-apt-repository ppa:didrocks/ubuntu-developer-tools-center
sudo apt-get update
sudo apt-get install ubuntu-developer-tools-center

That’s it. You can now use UDTC to install Android Studio, Android SDK, Eclipse and add Android adt support (through eclipse).
Install Android Studio and Android SDK by using the following command:
udtc android
Then, choose the installation path (or use the default path), accept the license (“a”) and UDTC will do the rest, installing Android Studio and Android SDK. UDTC will even add Android Studio to the Unity Launcher.

To install Eclipse (Eclipse Luna 4.4 at the time I’m writing this article), simply use the command below:
udtc ide eclipse
After installing it (just like with Android Studio), UDTC will add Eclipse to the Unity Launcher.

For Android ADT support (through Eclipse), use the following command:

udtc android eclipse-adt

If you want to remove a framework, simply append “–remove” to the commands above. For example, to remove Eclipse, use the following command:
udtc ide eclipse --remove

If you want to help with the Ubuntu Developer Tools Center development, report bugs, etc., check out its GitHub page.

Read More

Easily Install The Latest golang Compiler, LiteIDE and Various Go-Related Tweaks In Ubuntu With A Script

Go (or golang) is a programming language initially developed by Google. It is a statically-typed language with syntax loosely derived from that of C, adding garbage collection, type safety, some dynamic-typing capabilities, additional built-in types such as variable-length arrays and key-value maps, and a large standard library. More information @ Wikipedia.
Until Canonical’s Ubuntu Developer Tools Center gets support for golang, you can use a script created by WebUpd8 reader +George, which can be used to set up everything Go-related in Ubuntu. The script downloads and installs the latest version of Go compiler and IDE (LiteIDE) in Ubuntu and it also automatically sets up most of the tings you’ll need:

  • creates a simple layout for the IDE;
  • sets the GOPATH;
  • lot of gophers use Monaco font so the script will install it for usage with LiteIDE;
  • adds the golang IDE (LiteIDE) shortcut to the Unity Launcher with a few of useful quicklists;
  • under other desktop environments, it adds the LiteIDE shortcut on the desktop (and of course, it can also be accessed from the menu);
  • adds Git support in the IDE on ctrl+` (you need to setup Git before using this though);
  • extended project templates.

LiteIDE golang Ubuntu
LiteIDE under Ubuntu 14.04 (Unity)

George says he initially created this script to help a kid who wanted to start learning Go to set up everything that was needed. However, the script got a few extra features since then and it can also be used by advanced users who should appreciate the easy and fast golang environment setup.

Download and setup

Download the golang compiler and LiteIDE installer / setup script from HERE

Once downloaded, extract the archive and simply double click on the “Install.sh” file and click “Run” (or run it via command line). Of course, feel free to checkout the script before running it to make sure it doesn’t do anything you don’t want/need.
Note that in recent Ubuntu versions, Nautilus doesn’t ask to run a script when double-clicked and instead, it opens it with a text editor by default. To change this behavior and set Nautilus to ask if it should run a script when double-clicked, use the following command:
gsettings set org.gnome.nautilus.preferences executable-text-activation ask

For Nemo, use:

gsettings set org.nemo.preferences executable-text-activation ask

Note: to update the golang compiler, LiteIDE, etc., simply run the script again.

Thanks to George for the tip!

Read More