Supported code editors

Code editors allow you to create or manipulate plain text computer files. These are used to write, view, and edit code. HackerEarth Recruit supports the following code editors:

  • Normal
  • Vim
  • Emacs
What is autocomplete?

Autocomplete is a feature in which the code editor predicts and displays the name of the related functions, methods, standard classes and objects, or operators that you are typing.  

You can click the displayed suggestions to complete the line of code.

S. No.

Supported editors

Description

Supported features

1

Normal

  • Acts as a plain text editor with different language modes
  • Works as any normal text editor

Autocomplete

2

Vim

  • vi code editor program for Unix
  • An improved version of the vi editor distributed with most features of Unix systems
  • Use / to search for patterns in your code
  • Use h l k j key combinations for basic movements
  • Use v for visual mode
  • Use o to exchange cursor position

3

Emacs

  • Used mainly on Unix-based systems by programmers, engineers, and students

Same as Vim

Switching between themes

To switch between themes, follow these steps:

  1. Click .
  2. Select the required theme.

You have successfully changed your theme.

Toggling between editor modes

To toggle between editor modes, follow these steps:

  1. Click .
  2. Select the required mode.

You have successfully switched your editor mode.

Setting your favorite language

To set your favorite language, follow these steps:

  1. Select the language that you want as your favorite, from the drop-down, for example, Python.
  2. Click Set Python as favorite.
    edited_modes.png

You have successfully set your favorite language.