[Differential] [Commented On] D4490: WIP: Some KDevelop specific file templates

Kevin Funk noreply at phabricator.kde.org
Fri Feb 17 08:20:14 UTC 2017


kfunk added a comment.


  [09:16:23] <frinring> kfunk: as the file template supports injecting code into existing files, when you choose an output filename that matches an existing one, the workflow I followed when using these templates was: having an existing kdevplugin class, I had to enter the matching class name in the option page or manually fix the filename. then the snippets were added to the right files already (as currently you have no preview to correctly select the injection 
  [09:16:25] <frinring> position). then I moved the snippets to the right place in the file
  [09:17:15] <kfunk> okay, I didn't know it supports injection...
  [09:17:37] <kfunk> and I don't suspect our users know it either. I'd still find it cumbersome to use personally
  
  Seems like frinring & me don't agree on this:
  
  - me: have one big kdev_plugin template with most commonly used features
  - frinring: minimal kdev_plugin template, extra features (context menu extension, main window actions) in separate templates
  
  Other opinions/ideas?

REPOSITORY
  R32 KDevelop

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

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

To: kossebau, #kdevelop
Cc: kfunk, kdevelop-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20170217/5e861224/attachment-0001.html>


More information about the KDevelop-devel mailing list