Notepad

From ElectroDragon Wiki
Revision as of 18:25, 19 May 2021 by Chao (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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"