DIV ARENA FORUMS

Alternative source code editor

dom cook - 16-2-2019 at 05:31 AM

Does anyone use an alternative source editor e.g. Notepad++?
I'm wondering about using it instead of the built in editor.
I see that it allows custom highlighting and folding which would be nice but would take some setting up. If anyone is already using it (or something similar), would they be willing to share their files.

Also, if I do start using it, will I need to save .prg in Notepad++ then reopen inside DIV in order to run?

Thanks.

CicTec - 16-2-2019 at 01:12 PM

Hello dom,

You can use the notepad or any other editor with sintax highlight to create and edit the PRG, you just have to be careful to save the file in an appropriate format, do not save in UNICODE format, otherwise the compiler will not recognize the code probably, save it in western format ( codepage windows 1252) or anyway ASCII compatible with the latter.

The compiler can be invoked at the command line (by opening a command line window in windows) but it seems that the latest builds have a bug that prevents this, so to compile and test the game you should enter the DIV environment.

[Edited on 16-2-2019 by CicTec]