Menu

Add Compiler

2006-07-03
2012-11-13
  • Nobody/Anonymous

    Dear Sir,

    My request is add compile of all programming language in Notepad++, so it will be much easier to work in single editor and to compile the source code here and to get the output. Instead of goind to other program to compile & to run it.
    I like to work in it. Just add compile for compiling and running the program in this only.

    Regards,
    K.Satya

     
    • adam1213

      adam1213 - 2006-07-03

      It would be a lot easier just to launch a compiler with the options needed. However some compilers can be integrated, to show compile info and let you double click on errors to go to the line of the error, adding this would be really good but hard. Also the fact that there are so many compilers, would mean that only a limited number would get support, however it would expand.

       
      • Martin Trautmann

        Is there any chance to combine language and compiler options?

        Is there any kind of if/else scripting which could be used here?

         
    • Salocin Delbab

      Salocin Delbab - 2007-08-15

      Guys,

      it is time you try the excellent plugin from DV_ called NppExec. It has the big advantage to execute what ever script, and batch from Npp and to give the console output in a Npp Window. For the one using gcc, you can even double click on the errors and warnings and it opens the file on the proper line.... The next version of that plugin will even give you the capacity to define your own colorization.

       
    • Nobody/Anonymous

      Why you just cannot use shortcuts?
      Click F5 and create one.
      http://notepad-plus.sourceforge.net/uk/run-HOWTO.php - should help you.

       
    • adam1213

      adam1213 - 2006-07-05

      To compile c for a pic16f877 using hitech compiler just from the run command would start something like:

      cmd.exe /c "cd "$(CURRENT_DIRECTORY)" cmd /c md Junk & "C:\Program Files\HI-TECH Software\PICC-Lite\9.50\BIN\PICL.EXE" -C "$(FILE_NAME)" -

      I have attempted the rest of it and it does the first compile but does not go past that. But if I only needed to compile one thing it would of worked with not that much effort.

      I have written a batch file and made an exe that can run the commands needed to compile using the hi-tech compiler. If anyone wants a copy of either program let me know.