Intellisense and Code Browser
by Ian Smithers · in Torsion · 01/10/2009 (5:02 am) · 4 replies
Hi, if this is already possible please ignore this, I'm fairly new to it but so far have not found a way to:
A) Search the Code Browser. ie Type in the starts of things we think it may be called, and have it flick through to match our text as we type.
B) Script function descriptions in the intellisense. For the most part it tells you the syntax, but not what the script command does, only for a very very few. Could we get some descriptions in place, and possibly also a way to edit and add our own?
Thanks!
Ian
A) Search the Code Browser. ie Type in the starts of things we think it may be called, and have it flick through to match our text as we type.
B) Script function descriptions in the intellisense. For the most part it tells you the syntax, but not what the script command does, only for a very very few. Could we get some descriptions in place, and possibly also a way to edit and add our own?
Thanks!
Ian
#2
A) That still seems to search the main project files. I mean the little code browser window in the right hand side, where all the commands, datablocks, functions, variables and namespaces are listed. Big list. Is there a way to search -that- list? Or perhaps I misunderstand, is that list generated from the project files?
B) Do you mean I add that in my script file and it will appear in the intellisense?
Apologies for my newbieness, I'm not quite understanding your instructions I don't think. That's for the reply though!
01/13/2009 (12:43 am)
Hey Tom o/A) That still seems to search the main project files. I mean the little code browser window in the right hand side, where all the commands, datablocks, functions, variables and namespaces are listed. Big list. Is there a way to search -that- list? Or perhaps I misunderstand, is that list generated from the project files?
B) Do you mean I add that in my script file and it will appear in the intellisense?
Apologies for my newbieness, I'm not quite understanding your instructions I don't think. That's for the reply though!
#3
01/14/2009 (12:10 pm)
If you click somewhere in the codebrowser list to give it focus you can just start typing to do an incremental search.
#4
01/16/2009 (8:03 pm)
<3 James. Thanks, I guess that must seem obvious to everyone, but that was exactly what I wanted. Now do you know a way to add more detail to the commands there? So if I find something without a description, I can add my own? Is that possible?
Associate Tom Spilman
Sickhead Games
> A) Search the Code Browser
There is a "find symbol" feature in the menu... Edit->Find and Replace->Find Symbol or Ctrl+Shift+Y.
> B) Script function descriptions in the intellisense.
It can only describe what has existing documentation. You can always add documentation to your own script functions and it will appear in the ScriptSense.
/// This is a special comment which will appear /// as part of the ScriptSense tooltip. function test() { }