In the Basic IDE, if you place: Option Compatible Option ClassModule At the header of a Basic Module, double clicking method names on this module will stop working in the Object Catalog. For instance, consider these macros in Module1: Sub Macro1 'Dummy Macro MsgBox "Dummy 1" End Sub Sub Macro2 'Dummy Macro MsgBox "Dummy 2" End Sub Sub Macro3 'Dummy Macro MsgBox "Dummy 3" End Sub Sub Macro4 'Dummy Macro MsgBox "Dummy 4" End Sub If you create them in Module1, it is possible to navigate the macros using the Object Catalog and double-clicking their names will move the cursor to the beginning of the macro definition. However, after adding "Option ClassModule" at the top of the module and compiling the module, double-clicking will stop working. System info Version: 24.2.0.0.alpha1+ (X86_64) / LibreOffice Community Build ID: 07036eea5089feae511145412d7105cb76c1955a CPU threads: 16; OS: Linux 6.5; UI render: default; VCL: gtk3 Locale: pt-BR (pt_BR.UTF-8); UI: en-US Calc: CL threaded
Repro already with 4.2.0 alpha1 on Windows.
- still an issue on a side note: if you out-comment "Option ClassModule" and restart libreoffice, navigation will work again. that is, simply closing and re-opening the basic ide is insufficient. Version: 24.8.0.3 (X86_64) / LibreOffice Community Build ID: 0bdf1299c94fe897b119f97f3c613e9dca6be583 CPU threads: 4; OS: Linux 5.15; UI render: default; VCL: gtk3 Locale: de-DE (en_US.UTF-8); UI: en-US Calc: threaded