Hi Niko,<br>In deed I'll need a connection. Here's what I have at the moment. I created a new project template and I'm starting a SQL language support. <br><br>I'm still a little green on the kdevelop architecture so bare with me for a while and please guide a bit(saying where I'm wrong or point me to documentation)...<br>
<br>For now, I need to add some options, specific for database management...but I think these options should only be available to the template I created. Is there a way to do this?<br><br>Another question is, I'll need to create some environment vars. How can I access them from my language support class?<br>
<br>As for c++ project(and other project types or templates), of course they need databases :) but not inside the c++ project itself, I guess. That would probably mess up kdevelop a bit. What I'm proposing is a separate database project to manage a database only. I think it will make it cleaner then giving database support for already existing templates.<br>
<br>Thanx for all your help<br><br><div class="gmail_quote">On Fri, Feb 3, 2012 at 8:28 PM, Miguel Tadeu <span dir="ltr"><<a href="mailto:mtadeunet@gmail.com">mtadeunet@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>during the development, I felt the need to implement a ILanguageSupport class. I'm now overriding the contextMenuExtension method.<br><br>One problem arises, here. I want to add new functionality for a project template that contains the specific structure for a database schema. But when I right click on some other project( like a c++ or php project ) I can't decide wether to add the items(specific database operations) or not.<br>
<br>I'm figuring I should need to know which project type is selected, but I don't know how.<br><br>Can anyone guide me a bit on this subject?<br><br>Thanx to all,<span class="HOEnZb"><font color="#888888"><br>Miguel Tadeu<br>
</font></span></blockquote></div><br>