title: How to Change #include Default File Path for Sub Folders
body: <h2><strong>Context:</strong></h2>
  <p>I was following a tutorial in UE4.23 and at one point, we create sub-files in the <code>Source/ProjectName/</code> file.  Then, inside of the .cpp/.h files, we simply wrote <code>#include &quot;Subfolder/File.h&quot;</code> and it was recognized.  However, when working on my own project to practice (in UE4.26), I have to do this: <code>#include &quot;../Subfolder/File.h&quot;</code> to go up from the subfile, which tells me the include path is defaulting inside of the folder the file is in.</p>
  <p>This causes annoying issues where Unreal will create a class and assume we start our path in the upper folder, causing a compile error with every new class until I manually change the include.</p>
  <h2><strong>Question:</strong></h2>
  <p>How do I change the default include path of sub-folder files to start from the main folder?</p>
  <p><strong>Example of desired result:</strong> Setting default path to <code>&quot;../Project/Source/ProjectName/&quot;</code></p>
  <pre><code>//thisclass.cpp file inside of &quot;Source/ProjectName/Test/thisclass.cpp&quot;
  
  /* &quot;Source/ProjectName/Framework/&quot; */
  #include &quot;Framework/GameState.h&quot; 
  
  /* &quot;Source/ProjectName/Player/&quot; */
  #include &quot;Player/CharacterController.h&quot;
  
  //Must enter sub-folders as well, even though it's in the same subfolder
  #include &quot;Test/thisclass.h&quot;
  </code></pre>
  <h2><strong>Side Notes:</strong></h2>
  <ul>
  <li>My attempts to google the solution kept showing results for changing the project location, not changing directories or include paths.</li>
  <li>I'm pretty sure this is a Visual Studio issue, but I'm using it with Unreal, so I tagged both.</li>
  </ul>