Change folder location of auto-completion
from "<NPP_INST>\plugins\APIs\" to "<NPP_INST>\autoCompletion\"
This commit is contained in:
parent
699b9b08ed
commit
d6f5b7b13a
@ -30,127 +30,127 @@ SectionGroup "Auto-completion Files" autoCompletionComponent
|
|||||||
SetOverwrite off
|
SetOverwrite off
|
||||||
|
|
||||||
${MementoSection} "C" C
|
${MementoSection} "C" C
|
||||||
SetOutPath "$INSTDIR\plugins\APIs"
|
SetOutPath "$INSTDIR\autoCompletion"
|
||||||
File ".\APIs\c.xml"
|
File ".\APIs\c.xml"
|
||||||
${MementoSectionEnd}
|
${MementoSectionEnd}
|
||||||
|
|
||||||
${MementoSection} "C++" C++
|
${MementoSection} "C++" C++
|
||||||
SetOutPath "$INSTDIR\plugins\APIs"
|
SetOutPath "$INSTDIR\autoCompletion"
|
||||||
File ".\APIs\cpp.xml"
|
File ".\APIs\cpp.xml"
|
||||||
${MementoSectionEnd}
|
${MementoSectionEnd}
|
||||||
|
|
||||||
${MementoSection} "Java" Java
|
${MementoSection} "Java" Java
|
||||||
SetOutPath "$INSTDIR\plugins\APIs"
|
SetOutPath "$INSTDIR\autoCompletion"
|
||||||
File ".\APIs\java.xml"
|
File ".\APIs\java.xml"
|
||||||
${MementoSectionEnd}
|
${MementoSectionEnd}
|
||||||
|
|
||||||
${MementoSection} "C#" C#
|
${MementoSection} "C#" C#
|
||||||
SetOutPath "$INSTDIR\plugins\APIs"
|
SetOutPath "$INSTDIR\autoCompletion"
|
||||||
File ".\APIs\cs.xml"
|
File ".\APIs\cs.xml"
|
||||||
${MementoSectionEnd}
|
${MementoSectionEnd}
|
||||||
|
|
||||||
${MementoSection} "HTML" HTML
|
${MementoSection} "HTML" HTML
|
||||||
SetOutPath "$INSTDIR\plugins\APIs"
|
SetOutPath "$INSTDIR\autoCompletion"
|
||||||
File ".\APIs\html.xml"
|
File ".\APIs\html.xml"
|
||||||
${MementoSectionEnd}
|
${MementoSectionEnd}
|
||||||
|
|
||||||
${MementoSection} "RC" RC
|
${MementoSection} "RC" RC
|
||||||
SetOutPath "$INSTDIR\plugins\APIs"
|
SetOutPath "$INSTDIR\autoCompletion"
|
||||||
File ".\APIs\rc.xml"
|
File ".\APIs\rc.xml"
|
||||||
${MementoSectionEnd}
|
${MementoSectionEnd}
|
||||||
|
|
||||||
${MementoSection} "SQL" SQL
|
${MementoSection} "SQL" SQL
|
||||||
SetOutPath "$INSTDIR\plugins\APIs"
|
SetOutPath "$INSTDIR\autoCompletion"
|
||||||
File ".\APIs\sql.xml"
|
File ".\APIs\sql.xml"
|
||||||
${MementoSectionEnd}
|
${MementoSectionEnd}
|
||||||
|
|
||||||
${MementoSection} "PHP" PHP
|
${MementoSection} "PHP" PHP
|
||||||
SetOutPath "$INSTDIR\plugins\APIs"
|
SetOutPath "$INSTDIR\autoCompletion"
|
||||||
File ".\APIs\php.xml"
|
File ".\APIs\php.xml"
|
||||||
${MementoSectionEnd}
|
${MementoSectionEnd}
|
||||||
|
|
||||||
${MementoSection} "CSS" CSS
|
${MementoSection} "CSS" CSS
|
||||||
SetOutPath "$INSTDIR\plugins\APIs"
|
SetOutPath "$INSTDIR\autoCompletion"
|
||||||
File ".\APIs\css.xml"
|
File ".\APIs\css.xml"
|
||||||
${MementoSectionEnd}
|
${MementoSectionEnd}
|
||||||
|
|
||||||
${MementoSection} "VB" VB
|
${MementoSection} "VB" VB
|
||||||
SetOutPath "$INSTDIR\plugins\APIs"
|
SetOutPath "$INSTDIR\autoCompletion"
|
||||||
File ".\APIs\vb.xml"
|
File ".\APIs\vb.xml"
|
||||||
${MementoSectionEnd}
|
${MementoSectionEnd}
|
||||||
|
|
||||||
${MementoSection} "Perl" Perl
|
${MementoSection} "Perl" Perl
|
||||||
SetOutPath "$INSTDIR\plugins\APIs"
|
SetOutPath "$INSTDIR\autoCompletion"
|
||||||
File ".\APIs\perl.xml"
|
File ".\APIs\perl.xml"
|
||||||
${MementoSectionEnd}
|
${MementoSectionEnd}
|
||||||
|
|
||||||
${MementoSection} "JavaScript" JavaScript
|
${MementoSection} "JavaScript" JavaScript
|
||||||
SetOutPath "$INSTDIR\plugins\APIs"
|
SetOutPath "$INSTDIR\autoCompletion"
|
||||||
File ".\APIs\javascript.xml"
|
File ".\APIs\javascript.xml"
|
||||||
${MementoSectionEnd}
|
${MementoSectionEnd}
|
||||||
|
|
||||||
${MementoSection} "Python" Python
|
${MementoSection} "Python" Python
|
||||||
SetOutPath "$INSTDIR\plugins\APIs"
|
SetOutPath "$INSTDIR\autoCompletion"
|
||||||
File ".\APIs\python.xml"
|
File ".\APIs\python.xml"
|
||||||
${MementoSectionEnd}
|
${MementoSectionEnd}
|
||||||
|
|
||||||
${MementoSection} "ActionScript" ActionScript
|
${MementoSection} "ActionScript" ActionScript
|
||||||
SetOutPath "$INSTDIR\plugins\APIs"
|
SetOutPath "$INSTDIR\autoCompletion"
|
||||||
File ".\APIs\actionscript.xml"
|
File ".\APIs\actionscript.xml"
|
||||||
${MementoSectionEnd}
|
${MementoSectionEnd}
|
||||||
|
|
||||||
${MementoSection} "LISP" LISP
|
${MementoSection} "LISP" LISP
|
||||||
SetOutPath "$INSTDIR\plugins\APIs"
|
SetOutPath "$INSTDIR\autoCompletion"
|
||||||
File ".\APIs\lisp.xml"
|
File ".\APIs\lisp.xml"
|
||||||
${MementoSectionEnd}
|
${MementoSectionEnd}
|
||||||
|
|
||||||
${MementoSection} "VHDL" VHDL
|
${MementoSection} "VHDL" VHDL
|
||||||
SetOutPath "$INSTDIR\plugins\APIs"
|
SetOutPath "$INSTDIR\autoCompletion"
|
||||||
File ".\APIs\vhdl.xml"
|
File ".\APIs\vhdl.xml"
|
||||||
${MementoSectionEnd}
|
${MementoSectionEnd}
|
||||||
|
|
||||||
${MementoSection} "TeX" TeX
|
${MementoSection} "TeX" TeX
|
||||||
SetOutPath "$INSTDIR\plugins\APIs"
|
SetOutPath "$INSTDIR\autoCompletion"
|
||||||
File ".\APIs\tex.xml"
|
File ".\APIs\tex.xml"
|
||||||
${MementoSectionEnd}
|
${MementoSectionEnd}
|
||||||
|
|
||||||
${MementoSection} "DocBook" DocBook
|
${MementoSection} "DocBook" DocBook
|
||||||
SetOutPath "$INSTDIR\plugins\APIs"
|
SetOutPath "$INSTDIR\autoCompletion"
|
||||||
File ".\APIs\xml.xml"
|
File ".\APIs\xml.xml"
|
||||||
${MementoSectionEnd}
|
${MementoSectionEnd}
|
||||||
|
|
||||||
${MementoSection} "NSIS" NSIS
|
${MementoSection} "NSIS" NSIS
|
||||||
SetOutPath "$INSTDIR\plugins\APIs"
|
SetOutPath "$INSTDIR\autoCompletion"
|
||||||
File ".\APIs\nsis.xml"
|
File ".\APIs\nsis.xml"
|
||||||
${MementoSectionEnd}
|
${MementoSectionEnd}
|
||||||
|
|
||||||
${MementoSection} "CMAKE" CMAKE
|
${MementoSection} "CMAKE" CMAKE
|
||||||
SetOutPath "$INSTDIR\plugins\APIs"
|
SetOutPath "$INSTDIR\autoCompletion"
|
||||||
File ".\APIs\cmake.xml"
|
File ".\APIs\cmake.xml"
|
||||||
${MementoSectionEnd}
|
${MementoSectionEnd}
|
||||||
|
|
||||||
${MementoSection} "BATCH" BATCH
|
${MementoSection} "BATCH" BATCH
|
||||||
SetOutPath "$INSTDIR\plugins\APIs"
|
SetOutPath "$INSTDIR\autoCompletion"
|
||||||
File ".\APIs\batch.xml"
|
File ".\APIs\batch.xml"
|
||||||
${MementoSectionEnd}
|
${MementoSectionEnd}
|
||||||
|
|
||||||
${MementoSection} "CoffeeScript" CoffeeScript
|
${MementoSection} "CoffeeScript" CoffeeScript
|
||||||
SetOutPath "$INSTDIR\plugins\APIs"
|
SetOutPath "$INSTDIR\autoCompletion"
|
||||||
File ".\APIs\coffee.xml"
|
File ".\APIs\coffee.xml"
|
||||||
${MementoSectionEnd}
|
${MementoSectionEnd}
|
||||||
|
|
||||||
${MementoSection} "BaanC" BaanC
|
${MementoSection} "BaanC" BaanC
|
||||||
SetOutPath "$INSTDIR\plugins\APIs"
|
SetOutPath "$INSTDIR\autoCompletion"
|
||||||
File ".\APIs\baanc.xml"
|
File ".\APIs\baanc.xml"
|
||||||
${MementoSectionEnd}
|
${MementoSectionEnd}
|
||||||
|
|
||||||
${MementoSection} "Lua" Lua
|
${MementoSection} "Lua" Lua
|
||||||
SetOutPath "$INSTDIR\plugins\APIs"
|
SetOutPath "$INSTDIR\autoCompletion"
|
||||||
File ".\APIs\lua.xml"
|
File ".\APIs\lua.xml"
|
||||||
${MementoSectionEnd}
|
${MementoSectionEnd}
|
||||||
|
|
||||||
${MementoSection} "AutoIt" AutoIt
|
${MementoSection} "AutoIt" AutoIt
|
||||||
SetOutPath "$INSTDIR\plugins\APIs"
|
SetOutPath "$INSTDIR\autoCompletion"
|
||||||
File ".\APIs\autoit.xml"
|
File ".\APIs\autoit.xml"
|
||||||
${MementoSectionEnd}
|
${MementoSectionEnd}
|
||||||
SectionGroupEnd
|
SectionGroupEnd
|
||||||
@ -160,103 +160,128 @@ SectionGroupEnd
|
|||||||
SectionGroup un.autoCompletionComponent
|
SectionGroup un.autoCompletionComponent
|
||||||
Section un.PHP
|
Section un.PHP
|
||||||
Delete "$INSTDIR\plugins\APIs\php.xml"
|
Delete "$INSTDIR\plugins\APIs\php.xml"
|
||||||
|
Delete "$INSTDIR\autoCompletion\php.xml"
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section un.CSS
|
Section un.CSS
|
||||||
Delete "$INSTDIR\plugins\APIs\css.xml"
|
Delete "$INSTDIR\plugins\APIs\css.xml"
|
||||||
|
Delete "$INSTDIR\autoCompletion\css.xml"
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section un.HTML
|
Section un.HTML
|
||||||
Delete "$INSTDIR\plugins\APIs\html.xml"
|
Delete "$INSTDIR\plugins\APIs\html.xml"
|
||||||
|
Delete "$INSTDIR\autoCompletion\html.xml"
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section un.SQL
|
Section un.SQL
|
||||||
Delete "$INSTDIR\plugins\APIs\sql.xml"
|
Delete "$INSTDIR\plugins\APIs\sql.xml"
|
||||||
|
Delete "$INSTDIR\autoCompletion\sql.xml"
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section un.RC
|
Section un.RC
|
||||||
Delete "$INSTDIR\plugins\APIs\rc.xml"
|
Delete "$INSTDIR\plugins\APIs\rc.xml"
|
||||||
|
Delete "$INSTDIR\autoCompletion\rc.xml"
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section un.VB
|
Section un.VB
|
||||||
Delete "$INSTDIR\plugins\APIs\vb.xml"
|
Delete "$INSTDIR\plugins\APIs\vb.xml"
|
||||||
|
Delete "$INSTDIR\autoCompletion\vb.xml"
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section un.Perl
|
Section un.Perl
|
||||||
Delete "$INSTDIR\plugins\APIs\perl.xml"
|
Delete "$INSTDIR\plugins\APIs\perl.xml"
|
||||||
|
Delete "$INSTDIR\autoCompletion\perl.xml"
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section un.C
|
Section un.C
|
||||||
Delete "$INSTDIR\plugins\APIs\c.xml"
|
Delete "$INSTDIR\plugins\APIs\c.xml"
|
||||||
|
Delete "$INSTDIR\autoCompletion\c.xml"
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section un.C++
|
Section un.C++
|
||||||
Delete "$INSTDIR\plugins\APIs\cpp.xml"
|
Delete "$INSTDIR\plugins\APIs\cpp.xml"
|
||||||
|
Delete "$INSTDIR\autoCompletion\cpp.xml"
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section un.Java
|
Section un.Java
|
||||||
Delete "$INSTDIR\plugins\APIs\java.xml"
|
Delete "$INSTDIR\plugins\APIs\java.xml"
|
||||||
|
Delete "$INSTDIR\autoCompletion\java.xml"
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section un.C#
|
Section un.C#
|
||||||
Delete "$INSTDIR\plugins\APIs\cs.xml"
|
Delete "$INSTDIR\plugins\APIs\cs.xml"
|
||||||
|
Delete "$INSTDIR\autoCompletion\cs.xml"
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section un.JavaScript
|
Section un.JavaScript
|
||||||
Delete "$INSTDIR\plugins\APIs\javascript.xml"
|
Delete "$INSTDIR\plugins\APIs\javascript.xml"
|
||||||
|
Delete "$INSTDIR\autoCompletion\javascript.xml"
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section un.Python
|
Section un.Python
|
||||||
Delete "$INSTDIR\plugins\APIs\python.xml"
|
Delete "$INSTDIR\plugins\APIs\python.xml"
|
||||||
|
Delete "$INSTDIR\autoCompletion\python.xml"
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section un.ActionScript
|
Section un.ActionScript
|
||||||
Delete "$INSTDIR\plugins\APIs\actionscript.xml"
|
Delete "$INSTDIR\plugins\APIs\actionscript.xml"
|
||||||
|
Delete "$INSTDIR\autoCompletion\actionscript.xml"
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section un.LISP
|
Section un.LISP
|
||||||
Delete "$INSTDIR\plugins\APIs\lisp.xml"
|
Delete "$INSTDIR\plugins\APIs\lisp.xml"
|
||||||
|
Delete "$INSTDIR\autoCompletion\lisp.xml"
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section un.VHDL
|
Section un.VHDL
|
||||||
Delete "$INSTDIR\plugins\APIs\vhdl.xml"
|
Delete "$INSTDIR\plugins\APIs\vhdl.xml"
|
||||||
|
Delete "$INSTDIR\autoCompletion\vhdl.xml"
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section un.TeX
|
Section un.TeX
|
||||||
Delete "$INSTDIR\plugins\APIs\tex.xml"
|
Delete "$INSTDIR\plugins\APIs\tex.xml"
|
||||||
|
Delete "$INSTDIR\autoCompletion\tex.xml"
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section un.DocBook
|
Section un.DocBook
|
||||||
Delete "$INSTDIR\plugins\APIs\xml.xml"
|
Delete "$INSTDIR\plugins\APIs\xml.xml"
|
||||||
|
Delete "$INSTDIR\autoCompletion\xml.xml"
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section un.NSIS
|
Section un.NSIS
|
||||||
Delete "$INSTDIR\plugins\APIs\nsis.xml"
|
Delete "$INSTDIR\plugins\APIs\nsis.xml"
|
||||||
|
Delete "$INSTDIR\autoCompletion\nsis.xml"
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section un.CMAKE
|
Section un.CMAKE
|
||||||
Delete "$INSTDIR\plugins\APIs\cmake.xml"
|
Delete "$INSTDIR\plugins\APIs\cmake.xml"
|
||||||
|
Delete "$INSTDIR\autoCompletion\cmake.xml"
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section un.BATCH
|
Section un.BATCH
|
||||||
Delete "$INSTDIR\plugins\APIs\batch.xml"
|
Delete "$INSTDIR\plugins\APIs\batch.xml"
|
||||||
|
Delete "$INSTDIR\autoCompletion\batch.xml"
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section un.CoffeeScript
|
Section un.CoffeeScript
|
||||||
Delete "$INSTDIR\plugins\APIs\coffee.xml"
|
Delete "$INSTDIR\plugins\APIs\coffee.xml"
|
||||||
|
Delete "$INSTDIR\autoCompletion\coffee.xml"
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section un.BaanC
|
Section un.BaanC
|
||||||
Delete "$INSTDIR\plugins\APIs\baanc.xml"
|
Delete "$INSTDIR\plugins\APIs\baanc.xml"
|
||||||
|
Delete "$INSTDIR\autoCompletion\baanc.xml"
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section un.Lua
|
Section un.Lua
|
||||||
Delete "$INSTDIR\plugins\APIs\lua.xml"
|
Delete "$INSTDIR\plugins\APIs\lua.xml"
|
||||||
|
Delete "$INSTDIR\autoCompletion\lua.xml"
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
|
|
||||||
Section un.autoit
|
Section un.autoit
|
||||||
Delete "$INSTDIR\plugins\APIs\autoit.xml"
|
Delete "$INSTDIR\plugins\APIs\autoit.xml"
|
||||||
|
Delete "$INSTDIR\autoCompletion\autoit.xml"
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
SectionGroupEnd
|
SectionGroupEnd
|
||||||
|
@ -768,7 +768,7 @@ bool AutoCompletion::setLanguage(LangType language) {
|
|||||||
TCHAR path[MAX_PATH];
|
TCHAR path[MAX_PATH];
|
||||||
::GetModuleFileName(NULL, path, MAX_PATH);
|
::GetModuleFileName(NULL, path, MAX_PATH);
|
||||||
PathRemoveFileSpec(path);
|
PathRemoveFileSpec(path);
|
||||||
lstrcat(path, TEXT("\\plugins\\APIs\\"));
|
lstrcat(path, TEXT("\\autoCompletion\\"));
|
||||||
lstrcat(path, getApiFileName());
|
lstrcat(path, getApiFileName());
|
||||||
lstrcat(path, TEXT(".xml"));
|
lstrcat(path, TEXT(".xml"));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user