fodev.net
FOnline Development => Share Your Work => Tools => Topic started by: remake on December 26, 2017, 01:33:19 pm
-
Preparing
1. Download and install the latest Notepad++ release from here: https://notepad-plus-plus.org/
2. Download this package: https://files.fonline-aftertimes.net/tools/integration_with_npp.zip
3. Download and unpack to C:\Program Files\Notepad++\ with all subdirectories this package: https://files.fonline-aftertimes.net/tools/PluginManager_v1.4.9_x64.zip
Code marks
1. Unpack foat.xml and forld.xml files to C:\Program Files\Notepad++\autoCompletion\ directory.
2. Unpack userDefineLang.xml file to C:\Documents and Settings\<UserName>\Application Data\Notepad++ (for Windows XP) or C:\Users\<UserName>\AppData\Roaming\Notepad++ (for Windows Vista or Windows 7).
Running
1. Open any *.fos file by doubleclick.
2. In "Open with..." table select Notepad++.exe (from c:\Program Files\Notepad++\)
3. You should see similar window:
(https://img.fonline-aftertimes.net/closedbeta/integration_with_npp/npp01.png)
Compilator
1. Unpack ASCompiler.exe file to any place on your hard disk drive (f.ex. D:\ASCompiler\)
2. Run Notepad++, go to menu Plugins -> Plugin Manager -> Show Plugin Manager, find and install NppExec plugin.
(https://img.fonline-aftertimes.net/closedbeta/integration_with_npp/npp02.png)
3. After install and Notepad++'s restart press F6 button on your keyboard. You should see this small window:
(https://img.fonline-aftertimes.net/closedbeta/integration_with_npp/npp03.png)
4. Now write there:
npp_save
D:\ASCompiler\ASCompiler.exe "$(FULL_CURRENT_PATH)"
5. Click Save... button, name it as CompileServer and click on Save button. You should get this:
(https://img.fonline-aftertimes.net/closedbeta/integration_with_npp/npp04.png)
6. Do the same for client and mapper script compilations:
npp_save
D:\ASCompiler\ASCompiler.exe "$(FULL_CURRENT_PATH)" -client
and save it as CompileClient
npp_save
D:\ASCompiler\ASCompiler.exe "$(FULL_CURRENT_PATH)" -mapper
and save it as CompileMapper
7. Test it - open *.fos file, press F6, select proper compile script. In case of error you can click the error line and go to error place in the script.
(https://img.fonline-aftertimes.net/closedbeta/integration_with_npp/npp05.png)
Configure the compilator's results
1. Press Shift + F6 combination keys to run the NppExec Console Filters window.
2. Configure highlights for:
%FILE%(%LINE%) : INFO*
%FILE%(%LINE%) : ERROR*
%FILE%(%LINE%) : WARNING*
Success*
Unable to build*
(https://img.fonline-aftertimes.net/closedbeta/integration_with_npp/npp06.png)
3. And now results will be like:
(https://img.fonline-aftertimes.net/closedbeta/integration_with_npp/npp07.png)
or
(https://img.fonline-aftertimes.net/closedbeta/integration_with_npp/npp08.png)
Function List
1. Unpack functionList.xml file to C:\Users\<UserName>\AppData\Roaming\Notepad++\ and overwrite (or if you have it customized then merge with) existing one.
Note: My file is already merged with original one from Notepad++ package. If you don't have it customized for your preferences then you don't have to worry about it and just overwrite existing one.
2. Select from menu View -> Function List
3. When you'll open some *.fos file then you'll see.
(https://img.fonline-aftertimes.net/closedbeta/integration_with_npp/npp09.png)
-
...
2. Download this package: http://files.fonline-aftertimes.net/tools/integration_with_npp.zip
3. Download and unpack to C:\Program Files\Notepad++\ with all subdirectories this package: http://files.fonline-aftertimes.net/tools/PluginManager_v1.4.9_x64.zip
...
can you update these links? not working anymore.
thanks
-
Reuploaded.
-
In > 7.9.1 notepad++ version function list files are separated, so need add only one fos.xml file in functionList folder and add it to overrideMap.xml.
This is actual for me simple) :)
-
In > 7.9.1 notepad++ version function list files are separated, so need add only one fos.xml file in functionList folder and add it to overrideMap.xml.
This is actual for me simple) :)
Sure, I'll look to it in some free time.