You_are_my_chemistry's blog

By You_are_my_chemistry, 21 month(s) ago, In English

I use Sublime Text 4 for C++ coding. I prefer this because it's great and simple to code. Which IDE do you prefer and why?

  • Vote: I like it
  • +30
  • Vote: I do not like it

| Write comment?
»
21 month(s) ago, # |
  Vote: I like it +3 Vote: I do not like it

I use Visual Studio Code because of the cool extensions that it has and also it's free :-)

  • »
    »
    21 month(s) ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    Which extensions does it have?

  • »
    »
    21 month(s) ago, # ^ |
      Vote: I like it -25 Vote: I do not like it

    VS Code... The well known malware?

    • »
      »
      »
      21 month(s) ago, # ^ |
        Vote: I like it +1 Vote: I do not like it

      I don't understand why you think VSCode is a malware. It's free and powerful, and i think it also have a good UI :)

»
21 month(s) ago, # |
  Vote: I like it +30 Vote: I do not like it

notepad

»
21 month(s) ago, # |
  Vote: I like it +9 Vote: I do not like it

Use VIM with plugins and receive +20 extra rating points every contest :)

  • »
    »
    21 month(s) ago, # ^ |
      Vote: I like it -8 Vote: I do not like it

    What do you mean by extra 20 points? Could you elaborate?

    • »
      »
      »
      21 month(s) ago, # ^ |
        Vote: I like it +6 Vote: I do not like it

      Extra rating? Just kidding. But seriously, in my opinion full-featured IDE is useless for competitive programming. Lightweight editors with useful text editing features like vim, sublime, etc is the best choice

»
21 month(s) ago, # |
  Vote: I like it +10 Vote: I do not like it

I have created my own one. It's a bunch of scripts designed to work in any terminal. I use VS code as a code editor because it's nice.

»
21 month(s) ago, # |
  Vote: I like it +14 Vote: I do not like it

Try Neovim, and you will never come back

»
21 month(s) ago, # |
  Vote: I like it +25 Vote: I do not like it

Neovim is pretty good, although I still don't know like 95% of its functionality

  • »
    »
    21 month(s) ago, # ^ |
      Vote: I like it +3 Vote: I do not like it

    how do you map keys to compile and run code in neovim

    • »
      »
      »
      21 month(s) ago, # ^ |
        Vote: I like it 0 Vote: I do not like it

      I think you put it in keymaps.lua. At least that's what I did.

      -- build
      vim.cmd([[
          auto filetype cpp nnoremap <F8> :w <bar> !g++-12 -std=c++17 - -Wall -Wshadow -Wextra -fmax-errors=2 -D_GLIBCXX_DEBUG -DLOCAL -O3 % -o %:r<CR>
      ]])
      
      -- run
      vim.cmd([[
          auto filetype cpp nnoremap <F9> :vsplit <bar> term ./%:r<CR> 
      ]])
      
      
»
21 month(s) ago, # |
Rev. 2   Vote: I like it 0 Vote: I do not like it

I use CP Editor because it is specially designed for competitive programming.

»
21 month(s) ago, # |
  Vote: I like it +6 Vote: I do not like it

GNU Emacs! It's free software (as in freedom), and also very customizable (I guess more than any other editor on the planet).

  • »
    »
    21 month(s) ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    Vim users entered the chat

  • »
    »
    21 month(s) ago, # ^ |
      Vote: I like it +8 Vote: I do not like it

    It is a good OS but a bad editor (not to mention impending Carpal Tunnel Syndrome).

    • »
      »
      »
      21 month(s) ago, # ^ |
      Rev. 4   Vote: I like it 0 Vote: I do not like it

      Other editors: I don't like this. — So what? Either use the editor or switch to something else.

      Emacs: I don't like this. — OK, just write a few lines of Emacs Lisp code to make it what you want. (If you hate the keybindings, install Vim keybindings with the Evil package.)

»
21 month(s) ago, # |
  Vote: I like it +5 Vote: I do not like it

CP Editor. It can work perfectly with the extension competitive-companion. They can get all the samples of all problems with a simple click on the problem page. Also, the internal interface of this software is very convenient to use.

»
21 month(s) ago, # |
  Vote: I like it +9 Vote: I do not like it

I use CLion by JetBrains. I love JetBrains IDE (PyCharm, IntelliJ Idea, CLion)

»
21 month(s) ago, # |
  Vote: I like it +5 Vote: I do not like it

Cp editor — we can sumbit problem to codeforces from the editor itself.

»
21 month(s) ago, # |
  Vote: I like it +5 Vote: I do not like it

Last time, I was planning to use** Visual Studio Code**, but now I'm using DEV C++, because my friend spoke " I use DEV C++ and if you will use you can learn C++ easy ".

»
21 month(s) ago, # |
  Vote: I like it +5 Vote: I do not like it
»
21 month(s) ago, # |
  Vote: I like it +8 Vote: I do not like it

I code on mobile and i use programize :)

»
21 month(s) ago, # |
  Vote: I like it +5 Vote: I do not like it

CLion from jetbrains, it gives me a good themes "which I super like", also a good coding assistance, the most feature I like "don't know if you can find it in other IDEs" that it gives me the time that a code took to run, which leads to complexity optimization. It's up to you in the end, just enjoy your Cp journey & good luck!

»
21 month(s) ago, # |
  Vote: I like it +5 Vote: I do not like it

sublime text 3 cuz sublime text 4 autocompletion system was so bad when I first tried it (not sure if they've updated it since).

  • »
    »
    21 month(s) ago, # ^ |
      Vote: I like it +15 Vote: I do not like it

    Do you have some problems with auto tab detection? In both 3 and 4 (checked recently) I have ridiculous behavior:

    • »
      »
      »
      21 month(s) ago, # ^ |
        Vote: I like it 0 Vote: I do not like it

      Some code formats say that there should be a {} after for statement, whether it controls a single statement. I think this autocompletion system accept this specification by default.

      • »
        »
        »
        »
        21 month(s) ago, # ^ |
          Vote: I like it 0 Vote: I do not like it

        Its... great, but how turn it off?

        • »
          »
          »
          »
          »
          21 month(s) ago, # ^ |
            Vote: I like it 0 Vote: I do not like it

          Sorry but I don't know :( Maybe you can open an issue for it.

»
21 month(s) ago, # |
  Vote: I like it +9 Vote: I do not like it

I use Visual Studio Code, mainly because I like the extension "CPH".

»
21 month(s) ago, # |
  Vote: I like it +5 Vote: I do not like it

I use Code::Blocks mostly, because it's simple and easy-to-use. Also I started using CodeLite recently because I failed to configure Code::Blocks on linux :)

»
21 month(s) ago, # |
  Vote: I like it +5 Vote: I do not like it

I use c_lion because it's very helpful make suggestion for enhancement in my code showing me if I missed something like infinite loop or recursion calls specially when make a class I learn form it alot

»
21 month(s) ago, # |
  Vote: I like it +10 Vote: I do not like it

i use Geany, there is a video where errichto shows how to install. it's very light, that's why i use it.

»
21 month(s) ago, # |
  Vote: I like it +5 Vote: I do not like it

I use onlinegdb because its the best online compiler I found for java and I use my school computer to code cause I don’t have a computer.

»
21 month(s) ago, # |
  Vote: I like it 0 Vote: I do not like it

I also like Sublime Text,because it can use easily and doesn't have much memory use.

Well,if you are Chinese and want to use sublime,I think you can read this.

»
21 month(s) ago, # |
  Vote: I like it 0 Vote: I do not like it

Sublime Text 4 as well. I like a package(extension) called FastOlympicCoding. It's similar to cph in VS Code, mainly used to manage and run testcases.

»
21 month(s) ago, # |
  Vote: I like it +8 Vote: I do not like it

I use vim. Here you can find my setup as well as reasons why I think it is nice.

»
21 month(s) ago, # |
  Vote: I like it +6 Vote: I do not like it

I use Sublime Text 4 too, with the package called FastOlympicCoding. I wrote a small package to make the code editor interactive with Competitive Companion and my own app of CodeForces.

»
21 month(s) ago, # |
  Vote: I like it 0 Vote: I do not like it

I prefer CP Editor to coding.CP Editor is beatiful and comfortable.