Re: equivalent of indent-region?
hw <[email protected]> Thu, 19 Sep 2019 17:06:01 +0200
| Newsgroups | gmane.comp.kde.users.kdevelop |
|---|---|
| Message-ID | <[email protected]> |
On Wednesday, 18 September 2019 20:14:01 CEST René J.V. Bertin wrote: > On Wednesday September 18 2019 16:16:29 hw wrote: > >Indentation, particularly in perl, seems to be required to be done > >manually. Can't kdevelop don't do indentation? > > No, on the contrary 8-) > > I don't know anything about special indentation requirements for perl and > KDevelop indeed doesn't seem to have particular support for perl built in. > But under Tools/Indentation you can select different indentation types > which may be sufficient for your needs. Which one should I use? I'm assuming that "normal" means that an indentation is being used which is suited to the contents of the buffer. In case for perl, it is doing the highlighting as can be expected. This indicates that the editor has figured out that the buffer contents are perl, so it can do the normal indentation suited to it. What else should I expect? Indentation is normal, as well as --- since quite time now --- syntax highlighting. > Why are you using KDevelop to develop in perl? You should get the same > editor features in the more light-weight Kate editor which also has a > project management feature, and maybe someone already wrote a plugin with > additional perl support for it (but a quick search suggests that demand is > low for this kind of thing - https://www.google.com/search?q=perl+ide) Why shouldn't I use KDevelop? It seemed to me that KDevelop is like an adorned version of kate in that it has added features some of which could be useful. There is reason not to use kate because KDevelop allows one to easily to set up and to access programs that do stuff with the contents of a buffer. That allows, for example, to use perltidy on perl buffers every couple lines --- or should I say it forces me to use perltidy every couple lines, because the editor doesn't do indentation and lacks indent-region. It's ok for playing around with it, and it won't work at all for actually programming something. Since I'm trying out KDE again, I also decided to look at editors again, particularly more modern ones which go well with the rest of KDE. First I tried kate and then KDevelop. I can try out some more, and I would settle for one eventually as I don't want to have to use several editors. Before I would be looking for a project management plugin for perl, I am looking for basic functionality. Basic functionality shouldn't be missing. Since kate is lacking features and since I shouldn't use KDevelop, which editor should I use instead of Emacs?