Sunday, March 4, 2007, 6:34:20 PM, James Cuenod wrote:
JC> example in java, you type, "stringname.substring" a small box
JC> (much like the autocomplete box) would tell you the required
JC> parameters with data types. Is this possible? 

On July, 14 I offered the decision of this problem with lua-script.
The script has been advanced.
Now he works as follows:
Inputting of the symbol set in autocomplete.[lexer].start.characters
causes the popup list of properties and methods of object. They
undertake from corresponding api-file.
The object is a word beginning from start of a line (or from the left
separator).
That means, what in "WScript.StdOut" "StdOut" is an object,
properties and methods of which will appear after putting dot.
In the same case inputting of a space or a separator changes the case
of symbols in object's name according to a api-file. For example
"ucase" is automatically replaced on "UCase".
All standard opportunities of SciTE, namely "Complete Word" on
Ctrl+Enter and the "Show Calltip" on Ctrl+Shift+Space work as usually.
For a normal work of this service it is necessary to have a correct
api-file, containing all properties and methods of all objects. If you
need Calltip you have to include them in this file.
It works well for programming languages containing small number of
properties and methods. For example LUA, WSH, etc.
It is hard work to make api-file with languages containing many
operators, properties and methods.
This script is available here
 <http://scite.ruteam.ru/engine/upfiles/mozers/AutocompleteObject.zip>.
It is connected and supplied full api-files in SciTE-Ru Pack
 <http://scite.ruteam.ru/engine/upfiles/mozers/SciTE_172_31Ru_160107.zip>.
Don't hurry to download it, because new version is coming soon.
I'll be glad if you will improve this script.
I'm going to add automatic definition and addition in the list of
properties and methods of the user's objects.

-- 
mozers
<http://scite.ruteam.ru>

_______________________________________________
Scite-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scite-interest

Reply via email to