FOnline Development > Questions and Answers
Fonline SDK Code Completion?
Majin:
Howdy lads.
Was looking over the Fonline tutorials, for setting up the ol' computer for scripting, but the only tutorial for getting code completion, is for Fonline: Reloaded and Codeblocks.
So aye. Any chance of gettin' a lil' help on implementing this fer the Fonline TLA SDK?
devis:
What exactly do you want?
Majin:
If you take a gander over here, http://fodev.net/forum/index.php/topic,29789.msg260874.html#msg260874 the thread details on how to add code completion to an IDE, for the Fonline Reloaded SDK. However, it is incompatible with the official Fonline SDK (TLA), as stated by the thread author.
What I want ta do, is chuck in the same code completion to an IDE (doesn't have to be Code Blocks, I have Visual Studio 2013), but for the official SDK.
Probably should have clarified in me first post, me apologies.
devis:
Put this into your _define.fos
--- Code: ---#ifdef _MSC_VER
#ifdef __FONLINE_SOLUTION__
// here we put whatever will make intellisense smarter
// it is advisable to comment out these lines while running ProjectCreator to reduce the processing time
#ifdef __SERVER
#include "intellisense.h"
#endif
#ifdef __CLIENT
#include "intellisense_client.h"
#endif
#ifdef __MAPPER
#include "intellisense_mapper.h"
#endif
#define import extern
#define interface class
#define private
#endif
#endif
--- End code ---
devis:
Then generate your intellisense files following
http://fodev.net/forum/index.php?topic=28456.0
Navigation
[0] Message Index
[#] Next page
Go to full version