Coder Social home page Coder Social logo

Comments (8)

Xymanek avatar Xymanek commented on July 22, 2024

Xcom2 modders here - we would really appreciate the same thing!

from unrealscript-language-service.

EliotVU avatar EliotVU commented on July 22, 2024

I recommend that you create a workspace of your mod's folder, and add the SDK source as a workspace folder, you can find this under "File->Add Folder to Workspace...", and restart VS Code to ensure that everything will be loaded in properly. Let me know if this is holds any other issues 👍

from unrealscript-language-service.

Xymanek avatar Xymanek commented on July 22, 2024

I've tried it - and it partially worked. The key word is partially, as some classes were parsed perfectly, while others were covered in red... Let me know what kind of logs you will need to debug this. Also, here are the files if you want to try yourself:

Note that the X2WOTCCommunityHighlander submodule in the mod has files inside XComGame package, just as the SDK does. This is expected - the patched files in the project override the ones in the SDK

from unrealscript-language-service.

Xymanek avatar Xymanek commented on July 22, 2024

Actually I just found the "UnrealScript LS" output channel. Here is the full log after opening VSCode (warning: it's massive): https://gist.githubusercontent.com/Xymanek/f73d021224a8891313647bf30ef4cfa3/raw/1e1ff08f1add286a27edd070a9a303a02865f082/gistfile1.txt

from unrealscript-language-service.

Steverman avatar Steverman commented on July 22, 2024

Thanks @EliotVU! It seems to partially work as @Xymanek mentioned.

This can seen when class A extends from another class B that extends from class C. Class A will show unresolved references to C.

from unrealscript-language-service.

Xymanek avatar Xymanek commented on July 22, 2024

It seems that the published version is outdated:
image

Perhaps the problems was fixed in one of the recent commits?

from unrealscript-language-service.

EliotVU avatar EliotVU commented on July 22, 2024

@Xymanek The current build is not ready yet for release. This build also does not fix the issues you are having.

It appears that these issues are (at least partially) caused by the preprocessor macros used in SDK, I'll open an issue with for that particular feature.

from unrealscript-language-service.

EliotVU avatar EliotVU commented on July 22, 2024

See issue #10. If you encounter any other issues in the SDK files that may have lead to the massive amount of errors thrown, let me know by opening another issue!

from unrealscript-language-service.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.