From kdevelop-devel Thu Aug 03 12:13:54 2006 From: Matt Rogers Date: Thu, 03 Aug 2006 12:13:54 +0000 To: kdevelop-devel Subject: Re: Code Snippets in KDevelop4 Message-Id: <200608030713.54404.mattr () kde ! org> X-MARC-Message: https://marc.info/?l=kdevelop-devel&m=115460727417443 On Thursday 03 August 2006 02:14, Florian Hackenberger wrote: > On Thursday 03 August 2006 01:21, Matt Rogers wrote: > > > The idea behind the repositories is to have the ability to use snippets > > > stored in different locations. The default will be a repository in the > > > .kde directory of the user's home. Let's assume one uses KDevelop at > > > work. The company might keep a snippet repository for all workers on > > > one of their servers. To use it, the user can creates a samba-mount and > > > add the directory to his list of repositories. > > > > After hearing about the intended uses, I think it's a great idea now. I > > just wasn't understanding its full potential. :) > > As Robert stated, a plugin for koders.com would be a great idea. This > plugin should interface with the snippets sidebar and provide the user with > the ability to request (or should search in the background, depending on > the context, which could be code surrounding the cursor) code snippets. > Having tested the search on their website, it seems that we would have to > add some intelligence to the search functionality, as e.g. a search for > "runge kutta" (restricted to c++) brings up about 10 header files (which > are not of much value as a code snippet) before the first cpp file shows up > in the list. > > Regards, > Flo Perhaps we will be seeing a patch from you soon that creates such a plugin? -- Matt _______________________________________________ KDevelop-devel mailing list KDevelop-devel@barney.cs.uni-potsdam.de http://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel