[Differential] [Request, 109 lines] D4537: EditorConfig support

Grzegorz Szymaszek noreply at phabricator.kde.org
Thu Feb 9 20:19:03 UTC 2017


gszymaszek created this revision.
gszymaszek added a reviewer: KTextEditor.
gszymaszek set the repository for this revision to R39 KTextEditor.
Restricted Application added subscribers: Frameworks, kwrite-devel.
Restricted Application added a project: Frameworks.

REVISION SUMMARY
  This diff enables support for reading configurations from `.editorconfig` files, as an alternative to already supported `.kateconfig`. EditorConfig <http://editorconfig.org/> is supported in many other editors and IDEs. In case of KTextEditor it’s done using editorconfig-core-c <https://github.com/editorconfig/editorconfig-core-c> library that I’ve added to `CMakeLists.txt` and `katedocument.h`. A disadvantage of my approach is that this library became a KTextEditor’s dependency, maybe it should be made optional?
  Fixes bug 330843 <https://bugs.kde.org/show_bug.cgi?id=330843>.

REPOSITORY
  R39 KTextEditor

REVISION DETAIL
  https://phabricator.kde.org/D4537

AFFECTED FILES
  src/CMakeLists.txt
  src/document/katedocument.cpp
  src/document/katedocument.h

EMAIL PREFERENCES
  https://phabricator.kde.org/settings/panel/emailpreferences/

To: gszymaszek, #ktexteditor
Cc: kwrite-devel, #frameworks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20170209/e16693f3/attachment.html>


More information about the Kde-frameworks-devel mailing list