Notepad

From ElectroDragon Wiki

Plugin

Header text tested use
NPPAstyle V7.56 alt+Z to format
Coolformat V7.56 Example
Example Example Example

Run C++ for command "g++ cpp-class.cpp -o cpp-class"

cmd /k cd /d "$(CURRENT_DIRECTORY)" & gcc "$(FILE_NAME)" -o "$(NAME_PART)" & "$(NAME_PART).exe"
  • cd into folder
  • g++ compile
  • run XXX.exe

GCC: cmd /k cd /d "$(CURRENT_DIRECTORY)" & gcc "$(FILE_NAME)" -o "$(NAME_PART)" & "$(NAME_PART).exe"


添加中文支持

cmd /k cd /d "$(CURRENT_DIRECTORY)" & chcp 65001 & g++ "$(FILE_NAME)" -o "$(NAME_PART)" & "$(NAME_PART).exe"