nppexec

How to compile and run C files from within Notepad++ using NppExec plugin?

让人想犯罪 __ 提交于 2019-11-27 04:03:00
问题 How can I configure the NppExec plugin for Notepad++? I would like NppExec to compile my C files, run them, and show their output, all within Notepad++. 回答1: Here's a procedure for Perl, just adapt it for C. Hope it helps. Open Notepad++ Type F6 to open the execute window Write the following commands: npp_save <-- Saves the current document CD $(CURRENT_DIRECTORY) <-- Moves to the current directory perl.exe -c -w "$(FILE_NAME)" <-- executes the command perl.exe -c -w , example: perl.exe -c -w

How do you run a python script from within notepad++? [duplicate]

独自空忆成欢 提交于 2019-11-26 08:04:13
问题 This question already has an answer here: How to Execute a Python File in Notepad ++? 19 answers When I\'m using textmate, I simply hit \"apple+r\" and the program gets interpreted. How can I run a program from within notepad++? I see that F5 is for \"Run\", but pointing that to Python.exe simply opens up a terminal with python running. It does not run my script. 回答1: Plugins NppExec Execute ( F6 ) is much more powerful than plain Run ( F5 ). Install NppExec via Plugins, Plugin Manager. Then