 xdude
Member
|
hi2all. I’ve just downloaded the v2 editor, and cannot find an auto-indentation option anywhere in the configuration. I wonder if it is available in this editor. By auto-indent I mean an option which allows to insert indentation automatically after I type an opening brace “{” and unindent after a closing brace “}”. Just like here:
if ($a)
{
print “Yes, it worksn”;
};
print “bla-bla…n”;
|
 simon
Key Master
|
Hi, currently Programmer’s Notepad maintains indentation but doesn’t do auto-indent. This is being added at the moment, with experimental Python support in the PyPN extension for the development build.
Expect this to be better in the next release.
|
 Stormtrooper
Member
|
Has anything changed since this topic was initially posted? I’m trying out PN and I find this is the only feature I’m really, really missing from my old editor.
|
 simon
Key Master
|
Still a work in progress, all this stuff is much more stable and has been regularly released (with python support) so a few more builds and we should be able to have some good indenters for other languages. You could always take a look at the python one and try to add a C++ one yourself?
|