mirror of
				https://github.com/Ed94/gencpp.git
				synced 2025-10-30 14:30:53 -07:00 
			
		
		
		
	Changed how editor intellisense directives are handled for compoenents and dependencies
Didn't like the way I was processing them in scan_file.
This commit is contained in:
		| @@ -1,5 +1,7 @@ | ||||
| #pragma once | ||||
| #include "macros.hpp" | ||||
| #ifdef GEN_INTELLISENSE_DIRECTIVES | ||||
| #	pragma once | ||||
| #	include "macros.hpp" | ||||
| #endif | ||||
|  | ||||
| #pragma region Basic Types | ||||
|  | ||||
|   | ||||
| @@ -1,5 +1,7 @@ | ||||
| #pragma once | ||||
| #include "printing.hpp" | ||||
| #ifdef GEN_INTELLISENSE_DIRECTIVES | ||||
| #	pragma once | ||||
| #	include "printing.hpp" | ||||
| #endif | ||||
|  | ||||
| #pragma region Containers | ||||
|  | ||||
|   | ||||
| @@ -1,4 +1,6 @@ | ||||
| #pragma once | ||||
| #ifdef GEN_INTELLISENSE_DIRECTIVES | ||||
| #	pragma once | ||||
| #endif | ||||
|  | ||||
| #pragma region Debug | ||||
|  | ||||
|   | ||||
| @@ -1,5 +1,7 @@ | ||||
| #pragma once | ||||
| #include "basic_types.hpp" | ||||
| #ifdef GEN_INTELLISENSE_DIRECTIVESj | ||||
| #	pragma once | ||||
| #	include "basic_types.hpp" | ||||
| #endif | ||||
|  | ||||
| #pragma region Debug | ||||
|  | ||||
|   | ||||
| @@ -1,5 +1,7 @@ | ||||
| #pragma once | ||||
| #include "strings.cpp" | ||||
| #ifdef GEN_INTELLISENSE_DIRECTIVES | ||||
| #	pragma once | ||||
| #	include "strings.cpp" | ||||
| #endif | ||||
|  | ||||
| #pragma region File Handling | ||||
|  | ||||
|   | ||||
| @@ -1,5 +1,7 @@ | ||||
| #pragma once | ||||
| #include "strings.hpp" | ||||
| #ifdef GEN_INTELLISENSE_DIRECTIVES | ||||
| #	pragma once | ||||
| #	include "strings.hpp" | ||||
| #endif | ||||
|  | ||||
| #pragma region File Handling | ||||
|  | ||||
|   | ||||
| @@ -1,5 +1,7 @@ | ||||
| #pragma once | ||||
| #include "memory.cpp" | ||||
| #ifdef GEN_INTELLISENSE_DIRECTIVES | ||||
| #	pragma once | ||||
| #	include "memory.cpp" | ||||
| #endif | ||||
|  | ||||
| #pragma region Hashing | ||||
|  | ||||
|   | ||||
| @@ -1,5 +1,7 @@ | ||||
| #ifdef GEN_INTELLISENSE_DIRECTIVES | ||||
| #pragma once | ||||
| #include "containers.hpp" | ||||
| #endif | ||||
|  | ||||
| #pragma region Hashing | ||||
|  | ||||
|   | ||||
| @@ -1,5 +1,7 @@ | ||||
| #pragma once | ||||
| #include "header_start.hpp" | ||||
| #ifdef GEN_INTELLISENSE_DIRECTIVES | ||||
| #	pragma once | ||||
| #	include "header_start.hpp" | ||||
| #endif | ||||
|  | ||||
| #pragma region Macros | ||||
|  | ||||
|   | ||||
| @@ -1,5 +1,7 @@ | ||||
| #pragma once | ||||
| #include "printing.cpp" | ||||
| #ifdef GEN_INTELLISENSE_DIRECTIVES | ||||
| #	pragma once | ||||
| #	include "printing.cpp" | ||||
| #endif | ||||
|  | ||||
| #pragma region Memory | ||||
|  | ||||
|   | ||||
| @@ -1,5 +1,7 @@ | ||||
| #pragma once | ||||
| #include "debug.hpp" | ||||
| #ifdef GEN_INTELLISENSE_DIRECTIVES | ||||
| #	pragma once | ||||
| #	include "debug.hpp" | ||||
| #endif | ||||
|  | ||||
| #pragma region Memory | ||||
|  | ||||
|   | ||||
| @@ -1,4 +1,6 @@ | ||||
| #pragma once | ||||
| #ifdef GEN_INTELLISENSE_DIRECTIVES | ||||
| #	pragma once | ||||
| #endif | ||||
|  | ||||
| #pragma region ADT | ||||
|  | ||||
|   | ||||
| @@ -1,4 +1,6 @@ | ||||
| #pragma once | ||||
| #ifdef GEN_INTELLISENSE_DIRECTIVES | ||||
| #	pragma once | ||||
| #endif | ||||
|  | ||||
| #pragma region ADT | ||||
|  | ||||
|   | ||||
| @@ -1,5 +1,7 @@ | ||||
| #pragma once | ||||
| #include "string_ops.cpp" | ||||
| #ifdef GEN_INTELLISENSE_DIRECTIVES | ||||
| #	pragma once | ||||
| #	include "string_ops.cpp" | ||||
| #endif | ||||
|  | ||||
| #pragma region Printing | ||||
|  | ||||
|   | ||||
| @@ -1,5 +1,7 @@ | ||||
| #pragma once | ||||
| #include "string_ops.hpp" | ||||
| #ifdef GEN_INTELLISENSE_DIRECTIVES | ||||
| #	pragma once | ||||
| #	include "string_ops.hpp" | ||||
| #endif | ||||
|  | ||||
| #pragma region Printing | ||||
|  | ||||
|   | ||||
| @@ -1,5 +1,7 @@ | ||||
| #pragma once | ||||
| #include "debug.cpp" | ||||
| #ifdef GEN_INTELLISENSE_DIRECTIVES | ||||
| #	pragma once | ||||
| #	include "debug.cpp" | ||||
| #endif | ||||
|  | ||||
| #pragma region String Ops | ||||
|  | ||||
|   | ||||
| @@ -1,5 +1,7 @@ | ||||
| #pragma once | ||||
| #include "memory.hpp" | ||||
| #ifdef GEN_INTELLISENSE_DIRECTIVES | ||||
| #	pragma once | ||||
| #	include "memory.hpp" | ||||
| #endif | ||||
|  | ||||
| #pragma region String Ops | ||||
|  | ||||
|   | ||||
| @@ -1,5 +1,7 @@ | ||||
| #pragma once | ||||
| #include "hashing.cpp" | ||||
| #ifdef GEN_INTELLISENSE_DIRECTIVES | ||||
| #	pragma once | ||||
| #	include "hashing.cpp" | ||||
| #endif | ||||
|  | ||||
| #pragma region String | ||||
|  | ||||
|   | ||||
| @@ -1,5 +1,7 @@ | ||||
| #pragma once | ||||
| #include "hashing.hpp" | ||||
| #ifdef GEN_INTELLISENSE_DIRECTIVES | ||||
| #	pragma once | ||||
| #	include "hashing.hpp" | ||||
| #endif | ||||
|  | ||||
| #pragma region Strings | ||||
|  | ||||
|   | ||||
| @@ -1,5 +1,7 @@ | ||||
| #pragma once | ||||
| #include "filesystem.cpp" | ||||
| #ifdef GEN_INTELLISENSE_DIRECTIVES | ||||
| #	pragma once | ||||
| #	include "filesystem.cpp" | ||||
| #endif | ||||
|  | ||||
| #pragma region Timing | ||||
|  | ||||
|   | ||||
| @@ -1,5 +1,7 @@ | ||||
| #pragma once | ||||
| #include "filesystem.hpp" | ||||
| #ifdef GEN_INTELLISENSE_DIRECTIVES | ||||
| #	pragma once | ||||
| #	include "filesystem.hpp" | ||||
| #endif | ||||
|  | ||||
| #pragma region Timing | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user