Meeuws, Dimitri wrote:
Thee problem with the API for vbscript and scintilla is that you cannot get a drop down list of the possible methods and properties if it is not
In the API file


For instance:
If you type oFso. you get a list of possible methods and properties of the filesystem object


But when you do this:
Set oFileSystemObject = CreateObject(“Scripting.FileSystemObject”)

And then type oFileSystemObject. You DO NOT get a list of possible methods and properties.

This is a limitation of scintilla. It actually should automatically get all properties and methods of each object in your script. I’ve asked the developer of scintilla but they don’t want to do this. Primalscript is a scripteditor that do this automatically but this tool is not freeware.

Well, it is too deeply dependent on the script language, needing to actually parse it and track each and every variable/function definition, so that's why it cannot take place in Scintilla.
It is more the job of the client, which can be as generic as SciTE (which would be bloated if it need to support thusly every language) or as specialized as PrimalScript.


Why is it hard?
Because if I write set fso = oFileSystemObject, I expect to get the API for fso too. So I need to notice and understand the set, to store the two variables and their type and how they connect to the API file...


Likewise, in Lua, I would like to have different tooltips on file:write( than on socket:write(...

Perhaps Eclipse is a better IDE for this kind of thing... But its built-in editor is far far inferior to Scintilla, alas.

--
Philippe Lhoste
--  (near) Paris -- France
--  http://Phi.Lho.free.fr
--  --  --  --  --  --  --  --  --  --  --  --  --  --
_______________________________________________
Scite-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scite-interest

Reply via email to