<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to feature-requests</title><link>https://sourceforge.net/p/sourceswitch/feature-requests/</link><description>Recent changes to feature-requests</description><atom:link href="https://sourceforge.net/p/sourceswitch/feature-requests/feed.rss" rel="self"/><language>en</language><lastBuildDate>Tue, 24 Sep 2013 19:44:14 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/sourceswitch/feature-requests/feed.rss" rel="self" type="application/rss+xml"/><item><title>#7 Add multiple top levels support</title><link>https://sourceforge.net/p/sourceswitch/feature-requests/7/?limit=25#e70e</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi Joshua,&lt;/p&gt;
&lt;p&gt;No problem. I understand what you're trying to accomplish now and you should be able to do this using the 'SourcePaths' feature. It's my fault for being lax with documentation. Basically, the additional SourcePath directories will be searched in the event that the 'Open included file' functionality doesn't find the file within the top level directory tree.&lt;/p&gt;
&lt;p&gt;I set up my directory structure as follows:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;    &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;Joshua&lt;/span&gt; 
     &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;GameImplementation&lt;/span&gt;
      &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;trunk&lt;/span&gt;
       &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;source&lt;/span&gt;
        &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;folder&lt;/span&gt;
         &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;header1&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;h&lt;/span&gt;
     &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;GameEngine&lt;/span&gt;
      &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;trunk&lt;/span&gt;
       &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;source&lt;/span&gt;
        &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;uniquefolder&lt;/span&gt;
         &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;uniqueheader&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;h&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;I then set my top level directory as C:\Joshua\GameImplementation and added the GameEngine as an additional source directory so that my configuration looks like the following:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="k"&gt;[TopLevel]&lt;/span&gt;
&lt;span class="na"&gt;topLevel&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;C:\Joshua\GameImplementation&lt;/span&gt;
&lt;span class="k"&gt;[DefaultSwitch]&lt;/span&gt;
&lt;span class="k"&gt;[SourcePaths]&lt;/span&gt;
&lt;span class="na"&gt;SourcePath&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;C:\Joshua\GameEngine&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;The SourcePath settings have to be added manually, as there's no explicit menu option to do this. You'll also need to manually reload the SourceSwitch configuration (Plugins-&amp;gt;SourceSwitch-&amp;gt;Reload configuration) or restart Notepad++ for the additional SourcePaths to be read.&lt;/p&gt;
&lt;p&gt;My header1.h and uniqueheader.h look like this:&lt;/p&gt;
&lt;p&gt;header1.h&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="cm"&gt;/*&lt;/span&gt;
&lt;span class="cm"&gt; * Header 1&lt;/span&gt;
&lt;span class="cm"&gt; */&lt;/span&gt;

&lt;span class="p"&gt;#&lt;/span&gt;&lt;span class="k"&gt;include&lt;/span&gt; &lt;span class="s"&gt;&amp;quot;uniquefolder/uniqueheader.h&amp;quot;&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;uniqueheader.h&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="cm"&gt;/*&lt;/span&gt;
&lt;span class="cm"&gt; * My Unique header.&lt;/span&gt;
&lt;span class="cm"&gt; */&lt;/span&gt;

&lt;span class="p"&gt;#&lt;/span&gt;&lt;span class="k"&gt;include&lt;/span&gt; &lt;span class="s"&gt;&amp;quot;header1.h&amp;quot;&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;From within header.h, if I place the cursor on the #include line, selecting 'Open included file' (or whatever short cut key is set up), this opens uniqueheader.h. Conversely I can do the same with header1.h from within uniqueheader.h&lt;/p&gt;
&lt;p&gt;Hopefully this helps solve the issue you're having. If this isn't clear, or this still doesn't do what you're looking for, let me know.&lt;/p&gt;
&lt;p&gt;Cheers,&lt;br /&gt;
Dave&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dave A</dc:creator><pubDate>Tue, 24 Sep 2013 19:44:14 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net6dc11c0ca2f931438f1bad2c85d83db9d326b0da</guid></item><item><title>#7 Add multiple top levels support</title><link>https://sourceforge.net/p/sourceswitch/feature-requests/7/?limit=25#1a79</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi Dave,&lt;/p&gt;
&lt;p&gt;Sorry about the late response. The solution you proposed is quite what I was expecting. Sometimes I include files and reference them based on the way I configure my top level folders in gcc. For instance, I may have two directory structures like so:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;GameImplementation&lt;/span&gt;
 &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;trunk&lt;/span&gt;
  &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;source&lt;/span&gt;
   &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;folder&lt;/span&gt;
    &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;header1&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;h&lt;/span&gt;
&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;GameEngine&lt;/span&gt;
 &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;trunk&lt;/span&gt;
  &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;source&lt;/span&gt;
   &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;uniquefolder&lt;/span&gt;
    &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;uniqueheader&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;h&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;In header1.h, I can do #include "uniquefolder/uniquefolder.h" and it will include the GameEngine header file indicated above, as long as I configure gcc to also treat \GameEngine\trunk\source as an addition top level directory.&lt;/p&gt;
&lt;p&gt;I work with a lot of situations like this, so I was hoping that if I tried to do an open include file from header1.h, it would find uniqueheader.h. I envisioned this happening by setting two top level directories: \GameImplementation\trunk\source;\GameEngine\trunk\source\&lt;/p&gt;
&lt;p&gt;Thanks,&lt;br /&gt;
Joshua&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Joshua Holland</dc:creator><pubDate>Tue, 24 Sep 2013 18:47:21 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net6ef92cc2fd0828628c0ebb82f0771c1648a335c4</guid></item><item><title>#7 Add multiple top levels support</title><link>https://sourceforge.net/p/sourceswitch/feature-requests/7/?limit=25#4e89</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi Joshua,&lt;/p&gt;
&lt;p&gt;Thanks for the feature request. Can you indicate how you might see this feature working?&lt;/p&gt;
&lt;p&gt;I'm thinking something along the lines of a menu option called 'Manage Top Level Directories'. Within that you could add/edit/delete entries, as well as selecting the active top level directory.&lt;/p&gt;
&lt;p&gt;Would this be useful to you?&lt;/p&gt;
&lt;p&gt;Dave&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dave A</dc:creator><pubDate>Sun, 08 Sep 2013 09:50:51 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net8af9ac247492af1c733903b239d8962f98f50e29</guid></item><item><title>Add multiple top levels support</title><link>https://sourceforge.net/p/sourceswitch/feature-requests/7/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Can you add support for multiple top level folders? This is especially useful if you commonly pass many folders to gcc as the top level (http://gcc.gnu.org/onlinedocs/gccint/Top-Level.html).&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Joshua Holland</dc:creator><pubDate>Thu, 05 Sep 2013 18:28:48 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net4b8a073155e21e4f699b8b6c8145da7b2032632d</guid></item><item><title>sNsrFBxqx</title><link>https://sourceforge.net/p/sourceswitch/feature-requests/6/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I want to say thanks!, &lt;a href="http://www.gravatar.com/bearinbeercoolera" rel="nofollow"&gt;http://www.gravatar.com/bearinbeercoolera&lt;/a&gt; bear in beer cooler here,  &amp;gt;:P, &lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Fri, 29 Apr 2011 11:35:43 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net85458821cfc042062285ea94557d0eede78ab854</guid></item><item><title>pzxrGOUnnSlv</title><link>https://sourceforge.net/p/sourceswitch/feature-requests/5/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;really great sites, thank you, &lt;a href="http://www.gravatar.com/pursehandlese" rel="nofollow"&gt;http://www.gravatar.com/pursehandlese&lt;/a&gt; purse handles information,  epui, &lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Fri, 29 Apr 2011 06:11:20 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net1d371231664584d8488d418e0a5d380c94f3b7cd</guid></item><item><title>qkwaICBfp</title><link>https://sourceforge.net/p/sourceswitch/feature-requests/4/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;What is it, &lt;a href="http://www.crunchyroll.com/user/stopforeclosuree" rel="nofollow"&gt;http://www.crunchyroll.com/user/stopforeclosuree&lt;/a&gt; stop foreclosure,  sybqdt, &lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Thu, 28 Apr 2011 00:20:18 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net4b9949f2440d2d6681eb0565fb41c0d76245b13c</guid></item><item><title>bKtKVvmhbe</title><link>https://sourceforge.net/p/sourceswitch/feature-requests/3/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Nise site, &lt;a href="http://www.crunchyroll.com/user/iamlookingfordiscoue" rel="nofollow"&gt;http://www.crunchyroll.com/user/iamlookingfordiscoue&lt;/a&gt; i am looking for discount airline tickets here,  acmqq, &lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Wed, 27 Apr 2011 23:00:35 -0000</pubDate><guid isPermaLink="false">https://sourceforge.netbd11d53b396b7b465833cf3a6eade452ab3e7131</guid></item><item><title>eNusoPht</title><link>https://sourceforge.net/p/sourceswitch/feature-requests/2/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Only, &lt;a href="http://www.crunchyroll.com/user/airlinediscountticko" rel="nofollow"&gt;http://www.crunchyroll.com/user/airlinediscountticko&lt;/a&gt; airline discount ticket military now,  fzqdpa, &lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Tue, 26 Apr 2011 05:43:51 -0000</pubDate><guid isPermaLink="false">https://sourceforge.netbb107bb3792f3c1204c4686df461a6f47f377538</guid></item><item><title>add PHP source switching</title><link>https://sourceforge.net/p/sourceswitch/feature-requests/1/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Please add PHP source switching.&lt;br /&gt;
here is an example showing how one PHP file is added/attached in another PHP file:&lt;br /&gt;
require_once 'include/database.php';&lt;br /&gt;
here the 'require_once' is a PHP function and a filepath is passed as an argument to this function.&lt;br /&gt;
argument can also be passed in between double quotes : require_once "include/database.php";&lt;br /&gt;
it is also possible to enclose the argument in round brackets : require_once("include/database.php");&lt;br /&gt;
other three functions are also for almost same use and follow the same syntax: include(), include_once(), require()&lt;br /&gt;
you do not need to understand the functions in depth presently.&lt;br /&gt;
so the following are some of the valid examples:&lt;br /&gt;
include ("../file1.php");&lt;br /&gt;
require '../include/hello.inc.php';&lt;br /&gt;
require_once "include/header.php";&lt;br /&gt;
there are many other ways to include/attach files than the above described basic and widely used structures.&lt;br /&gt;
so, what i specially and simply want is, when i select the filepath in the function's argument, and then i press a shortcut key, the file should get opened in the editor&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Sun, 11 Jul 2010 22:10:36 -0000</pubDate><guid isPermaLink="false">https://sourceforge.netd6392ceef34dab1fa6fba3fa93cfc387c03f461d</guid></item></channel></rss>