Partage
  • Partager sur Facebook
  • Partager sur Twitter

Display make compiler output for a Java compiled

    24 septembre 2021 à 8:26:09

    Hello Everyone, I am trying to get NeoVim to compile a simple Java program. The program itself has no ideas but I am not able to exactly output the compiled program. I have check this program on Interviewbit java compiler.

    I have this in my config:

    autocmd Filetype java set makeprg=javac\ %            
    set errorformat=%A%f:%l:\ %m,%-Z%p^,%-C%.%#           
    map <F9> :make<Return>:copen<Return>                  
    map <F10> :cprevious<Return>                          
    map <F11> :cnext<Return>



    Can anyone suggest me? I am able to see errors and compile but don't know how to see the output directly in NeoVim. Any way I can do so because I couldn't figure it out nor could find any useful information online.

    • Partager sur Facebook
    • Partager sur Twitter

    Display make compiler output for a Java compiled

    × Après avoir cliqué sur "Répondre" vous serez invité à vous connecter pour que votre message soit publié.
    × Attention, ce sujet est très ancien. Le déterrer n'est pas forcément approprié. Nous te conseillons de créer un nouveau sujet pour poser ta question.
    • Editeur
    • Markdown