https://bugs.documentfoundation.org/show_bug.cgi?id=165785
Bug ID: 165785
Summary: Object browser for BASIC IDE
Product: LibreOffice
Version: unspecified
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: BASIC
Assignee: [email protected]
Reporter: [email protected]
Description:
Object browser is one of the features that script writers have requested for a
while.
For example in tdf#66185:
(In reply to Bubble from bug 66185 comment #8)
> VBA features: AutoComplete, Object browser, and auto change upper/lower-case
> are three features I pining for.
Users should be able to see all the available objects, both in globals, and
also in other libraries. This is helpful for the script writers as they can
understand what is available for coding.
Please note that this is different from:
* Object catalog, available as a sidebar in BASIC IDE editor
* Developer tools, available from "Tools > Development Tools".
A similar feature is available in MS VBA editor, which shows ~1000 modules
alongside their members. Categorization is very helpful.
VBA > Object Browser
https://learn.microsoft.com/en-us/office/vba/language/reference/user-interface-help/object-browser
In a LibreOffice BASIC object browser implementation, one should be able to
see:
* All the available globals, categorized by <globals>
* All the other available objects, and their members
Objects should be provided as a list, and respective members as a second level
list. At the bottom you should be able to see the usage. One should be able to
see at least these in the list of objects:
* Modules
* Classes
* Enums
And these in the list of members:
* Property
* Sub
* Function
* Const
For example, you should be able to see "MsgBox" as a member of <globals>.
This could be helpful:
MsgBox (Prompt As String [,Buttons = MB_OK [,Title As String]]) As Integer
MsgBox Function
https://help.libreoffice.org/latest/en-US/text/sbasic/shared/03010102.html?DbPAR=BASIC
MSO has these libraries: "Normal, Office, stdole, VBA, Word". "MsgBox" is a
member inside "Interaction" class, and is also available in "<globals>".
Search functionality is helpful, and that would a plus.
--
You are receiving this mail because:
You are the assignee for the bug.