UnrealScript-Language-Service
UnrealScript-Language-Service copied to clipboard
[Bug]: Can't find .uc files in the same folder
Can't find .uc files next to the opened file
The program can't detect the files next to the .uc file I'm using (I'm currently modding killing floor 2). And all the classes should be right next to each other, but the program throws an error anyways. I won't be using this program for building anything, because there's a compiler for that. The point is, the program doesn't realize that these files are next to it. I'm guessing that's because there's a "classes" folder.
Screenshots
Are those diagnostics occurring in the defaultproperties code block? If so, there's currently a bug where it will not lookup the file for class types that are referenced within a defaultproperties block.
Nonetheless, you can enable "Index all documents" as a work around, or manually re-open the .uc documents that have not been found.
The files are referenced in a function, and not in defaultproperties.
Indexing everything removed the errors, but introduced this new error.
(This code was tested using the game compiler, and this "`" symbol might be something the developers of the game modified to the code or something..I'm not sure)
Closing this, the remaining errors are caused by issues with the macro preprocessor see #10