Notepad++ is one the best tool for developers. Notepad++ is a free and powerful source code editor and Notepad replacement that supports several languages. There are 3rd party plugins available to extend the functionality of the Notepad++.
If you are using windows, you can simply go to this link and download exe file to install it.
If you want to use it on Ubuntu, you would need to make some changes. Good news is that Notepad++ is now (unofficially) available as a Snap package for Linux user.
Step#1 install snapd
check if you have snapd install on your machin by using following command
$ sudo apt list --installed | grep -i snapd WARNING: apt does not have a stable CLI interface. Use with caution in scripts. libsnapd-glib1/now 1.13-0ubuntu0.16.04.1 amd64 [installed,upgradable to: 1.33-0ubuntu0.16.04.1] snapd/xenial-updates,now 2.34.2 amd64 [installed,automatic] snapd-login-service/now 1.13-0ubuntu0.16.04.1 amd64 [installed,upgradable to: 1.33-0ubuntu0.16.04.1] snapd-xdg-open/xenial-updates,now 2.34.2 amd64 [installed]
If you don’t see last line “snapd-xdg-open”, please run following command
sudo apt-get install snapd snapd-xdg-open
Step#2 Install Notepad++
After snap installation is completed, you can install notepad++ using following command
sudo snap install notepad-plus-plus
it will take some time based on your network speed. in my case, it was stuck at following for lot longer
Automatically connect eligible plugs and slots of snap "notepad-plus-plus"
Once installation is complete, you can start using notepad++