UnrealScript-Language-Service icon indicating copy to clipboard operation
UnrealScript-Language-Service copied to clipboard

[Bug]: Can't find .uc files in the same folder

Open humam2104 opened this issue 1 year ago • 3 comments

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

image

humam2104 avatar May 30 '23 01:05 humam2104

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.

EliotVU avatar May 30 '23 16:05 EliotVU

The files are referenced in a function, and not in defaultproperties. image

humam2104 avatar May 30 '23 17:05 humam2104

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) image

humam2104 avatar May 30 '23 17:05 humam2104