Notepad++ is a pretty decent text editor which allows users to run arbitrary compilation codes right into its built-in command line.
To do so, first download NPPExec plugin in the Notepad++ program.
Then, go to Plugins->NppExec->Execute
Creating a new script, paste the following to the dialog box
npp_save
cd "$(CURRENT_DIRECTORY)"
C:\NASM\nasm.exe -f elf32 $(FILE_NAME)
ld -m i386pe -s -o $(NAME_PART).exe $(NAME_PART).o
$(NAME_PART).exe**Please note that you need to replace your NASM installation path (in my case it was C:\NASM)**
Then save it as a script
Additionally, you can map a shortcut to it by going to Plugins->NPPExec->Advanced Options
Select the Associated Script (Under Menu Item) and click Add/Modify
After this go to Settings->Shortcut Mapper->Plugin Commands
Then scroll to your NASM script and add a shortcut
Thats it