Comments (8)
Xcom2 modders here - we would really appreciate the same thing!
from unrealscript-language-service.
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.
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:
- The mod itself: https://github.com/WOTCStrategyOverhaul/CovertInfiltration
- The SDK: https://1drv.ms/u/s!Ai3-udmyFDxOgvBnQ8UrPuKWcfPMMA?e=TXa9w0
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.
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.
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.
It seems that the published version is outdated:
Perhaps the problems was fixed in one of the recent commits?
from unrealscript-language-service.
@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.
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)
- [Bug 0.6.3]: Expression does not evaluate to an iteratable HOT 2
- [Bug 0.6.3]: Delegates in `defaultproperties` / `sub objects` are not processed properly HOT 1
- [Bug 0.6]: Type checking error when passing an Enum object to a function as argument
- [Bug 0.6]: Enum tag reference in a condition expression produces an error when type checking is enabled
- [Bug 0.6]: Type not found when assigning to a sub object if using an object literal
- [Bug 0.6.3]: [Error - 9:40:23 PM] Request textDocument/documentSymbol failed. HOT 1
- [Bug]: Objects and Subobjects show errors in defaultproperties HOT 2
- [Bug]: Server crashing during glob HOT 6
- [Feature Request]: Publish to Open VSX HOT 2
- [Feature Request]: struct modifier HOT 2
- [Feature Request]: Show `const` hints for strings HOT 2
- [Bug]: Can't find .uc files in the same folder HOT 3
- [Bug]: Extension Can't find a function from another .uc file HOT 4
- [Bug]: Casting to a class may mismatch a package (or class) of the same name HOT 1
- [Bug]: Missing highlighting in v0.6.5+ HOT 2
- [Bug]: Declaring static array size from variable fails in some cases HOT 1
- [Bug]: [v0.7.1] highlight source code as comment by mistake. HOT 1
- [Bug]: Error: cannot consume EOF HOT 1
- [Bug]: [v0.7.1] highlight source code as comment by mistake HOT 5
- [Bug]: "mismatched input 'if' expecting 'until'"
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from unrealscript-language-service.