This is an old revision of the document!

Editors and IDEs

On our clusters we support a number of editors. If you think your favorite one is missing, please let us know.

The following list is not exhaustive nor complete. Particularly, vi and emacs are not described. There is plenty of documentation on the web – including flame wars.

gedit is a nice and simple to use editor with syntax highlighting for a number of languages. Due to its simplicity it is the favorite tool for some of our courses.

Turning off Gtk Warnings

gedit issues a number of (annoying and meaningless) Gtk warnings. They can be turned off by placing this snippet in ones .bashrc.

suppress-gnome-warnings() {
    # $1 is the name which should appear on history but is otherwise unused.
    if [ -n "$*" ]; then
	# write the real command to history without the prefix
	history -s "$historyName ${@:2}"
	# catch the command output
	errorMsg=$( $* 2>&1 )
	# check if the command output contains not a (one of two) GTK-Warnings
	if ! $(echo $errorMsg | grep -q 'Gtk-WARNING\|connect to accessibility bus'); then
	    echo $errorMsg
gedit() {
   suppress-gnome-warnings $FUNCNAME $(which $FUNCNAME) $@

''atom'' is a widely used IDE, favored by many developers, which supports all the widespread programming languages and provides a plug-in scheme for most purposes.

Running Locally and Editing Remote Files

atom can be installed on various platforms. Please refer to the installation guide (see the top tap for platforms other than Linux).

If you would like to develop on our HPC-Systems, you can edit the source code files stored there. We recommend using the ftp-remote-edit package. Select: FilePreferencesInstall to select this package.

After installing ftp-remote-edit you can select it in the Packages drop-down menue and select Toggle. You will be asked for a password, which is actually a passphrase you may choose at will. Thereafter, selecting Toggle will give you the remote pane with a Edit Servers button. Select it and enter settings according to this template:

  • development/ides_and_editors.1579900396.txt.gz
  • Last modified: 2020/01/24 22:13
  • by meesters