Ich habe selber schon mit SciTe und C / C++ gearbeitet, weil ich auch mit anderen Editoren so meine Schwierigkeiten habe...
Ich habe einfach in der 'SciTEUser.properties' folgende Befehle mit eingesetzt:
Spoiler anzeigen
# 40 Compile C
command.40.*.c="$(scriptdir)\Build.exe"
command.name.40.*.c=Compile C
command.save.before.40.*.c=1
command.shortcut.40.*.c=F5
# 41 Compile C
command.41.*.h="$(scriptdir)\Build.exe"
command.name.41.*.h=Compile C
command.save.before.41.*.h=1
command.shortcut.41.*.h=F5
# 42 Compile Cpp
command.42.*.cpp="$(scriptdir)\Build.exe"
command.name.42.*.cpp=Compile Cpp
command.save.before.42.*.cpp=1
command.shortcut.42.*.cpp=F5
# 43 Compile Cpp
command.43.*.hpp="$(scriptdir)\Build.exe"
command.name.43.*.hpp=Compile Cpp
command.save.before.43.*.hpp=1
command.shortcut.43.*.hpp=F5
Build.exe:
Spoiler anzeigen
#AutoIt3Wrapper_Version=beta
#AutoIt3Wrapper_UseX64=n
#AutoIt3Wrapper_outfile=Build.exe
#cs ----------------------------------------------------------------------------
AutoIt Version: 3.3.1.1 (beta)
Author: Techmix
Script: Build.exe
Script Function:
Run´s C / C++ makefile in SciTe
#ce ----------------------------------------------------------------------------
[/autoit] [autoit][/autoit] [autoit]Local $data = @ScriptDir
[/autoit] [autoit][/autoit] [autoit]RunWait("make clean", $data & "\")
RunWait("make", $data & "\")
Und das Programm: 'Build.exe' habe ich auch selber Kompiliert und es macht nichts anderes als über CMD die build Datei aufzufrufen.
Wenn du so arbeiten willst musst du nur die 'Build.exe' zusammen mit deinen 'Projekt-Dateien' in einem Ordner haben, und in SciTe einfach über F5 ausführen. So wie mit AU3 eben ![]()
Grüsse!
P.S:
Die Datei: 'SciTEUser.properties' kam erst nach Installation der OrganizeIncludes!!