npp_msvc_ide
npp_msvc_ide copied to clipboard
Turn your Notepad++ into powerful Visual Studio replacement!
Notepad++ MSVC IDE
Compile any .cpp
file instantly with the press of a button:

Get pretty error/warning/note output:

Featuring custom debugger:

How to setup:
- Install
Customize Toolbar
plugin - Use
shortcuts.xml
and.btn
file inplugins/
to set up custom buttons - Install Build Tools for Visual Studio 2022 or if you have Visual Studio installed, skip
- Set up environment variables, launch
C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\Tools\VsDevCmd.bat
-
echo %path%
,echo %include%
,echo %lib%
,echo %libpath%
- Copy to
set_vcc_symblink_path.cmd
to set them permanently - Alternative to steps 4-6 - use
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvars64.bat
to set up variables every time you build a file, if you don't want to mess with global environment (the cost - slower builds). - Fix up
msvc_build.cmd
and/or setup your folder structure so that it can find all needed files/programs - You are ready for rapid C/C++ development in Notepad++!
You can control compilation easily from the sourcefile itself by including comment in the top of your source file like this:
// CONSOLE DBG NOPT
CONSOLE
- compile program as console application (default - SUBSYSTEM:WINDOWS
)
DSEH
- disable C++ STD SEH handling (if you need to __try() __except()
in functions with objects)
NOPT
- disable all optimisations
NW
- disable all warnings
SLIB
- compile as static library
ASM
- instead of compiling to .exe
file, opem MASM code created by the compiler in Notepad++ (aka. your own Compiler Explorer)
DBG
- compile in debug mode and launch resulting executable with sddbg
debugger
NLAUNCH
- just compile, don't lauch the executable