Jump to content

[Mod Buddy] Intellisense Scripts


Albeoris

Recommended Posts

Hello ladies and gentlemen, I was able to import a third-party extensions to ModBuddy.

 

http://i.imgur.com/pKz7Uec.png?1

 

 

0) Set SDK Path: Settings->XCOM2->General->XCOM 2 User Path

1) Close ModBuddy.

2) Do back up of "..\steamapps\common\XCOM 2 SDK\Binaries\Win32\ModBuddy\Extensions\Application" to the different location!

3) Download a new extension: https://yadi.sk/d/N0ww-ifioaaHi

4) Unpack it to "..\steamapps\common\XCOM 2 SDK\Binaries\Win32\ModBuddy\Extensions\Application" and replace original files.

5) Run ModBuddy.

 

Limitation:

Classes that are not in SrcOrig, will not be recognized automatically. They need to describe manualy. For example, `log and `XCOMHISTORY

 

About:

I get started with this article.

And used extension from this IDE (2012 alpha), parser and scaner generators.

 

Sources: https://yadi.sk/d/0cpJh9bFoabTV

Guys, I've never written VS-extensions. I've never written language services. The original extension was not written very nicely, and linked to the UDK. I apologize for the trash in the production package and sources, but I do not have time to bring it to the divine form. If you have the time to fix it please get sources, create a project on GitHub and make it beautiful. (:

Also I would like to apologize to the 2K-developers. They wrote a very clean and beautiful extension. The only pity is that without the support CodeSense. )=
If you have questions try to ask иut I cannot promise I can answer.

 

Link to comment
Share on other sites

Workaround:

Ctrl+A, Ctrl+X, Ctrl+V, Ctrl+S

 

It looks like a bug. If the line has not been fully updated, the old classified is stored.

 

Update:

Type: UnrealScriptSource

Method: private bool FullParser(IVsTextLines textLines)

 

It is parse lines and raise updates. It is working on format but not always when editing. I do not know why - very dirty code. -_-

Link to comment
Share on other sites

yeah i am, this is so weird, it should work- i tried to revert the binaries back and then install again but it dosnt work for me for some reason

 

Wait what software is that icon that is on your .UC files from? i dont have it- that might be the problem

 

Notepad++

But it does not matter. Just icon.
1) Are you don't specify a match for the extension .uc in TextEditor->File extension?
2) Can you delete (while ModBuddy is open) \XCOM 2 SDK\Binaries\Win32\ModBuddy\Extensions\Application\UnrealScriptPackage1_0.dll ? If you can it's not used as extension.

3) Can you press Ctrl+Space after dot? Not working?

4) Can you see any popups in the your file or not?

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...