Revision 873638

Go back to digest for 26th October 2008

Features in Development Tools

Jakob Petsovits committed changes in /trunk/playground/devtools:

Initial commit of the autobrace KTextEditor extension.
Inserts a closing brace on pressing Enter when your current line ends on an opening brace ("{").


void blah() {
if (foo) {<cursor>

On pressing Enter, this gets you:

void blah() {
if (foo) {

The new line with <cursor> is indented according to current indent script, the autobrace extension has no influence on that.

File Changes

Added 5 files
  • /trunk/playground/devtools/kte_autobrace
  •   /autobrace.cpp
  •   /autobrace.h
  •   /CMakeLists.txt
  •   /ktexteditor_autobrace.desktop
Modified 1 files
  • /trunk/playground/devtools/CMakeLists.txt
6 files changed in total