Rubberduck icon indicating copy to clipboard operation
Rubberduck copied to clipboard

Annotations not working

Open pcarnet opened this issue 1 year ago • 2 comments

Rubberduck version information The info below can be copy-paste-completed from the first lines of Rubberduck's log or the About box:

Version 2.5.9.6291 OS: Microsoft Windows NT 6.2.9200.0, x64 Host Product: Microsoft Office 2010 x86 Host Version: 14.0.7268.5000 Host Executable: EXCEL.EXE

Description Some Annotations ("@Folder", "@ModuleAttribute", ''@ModuleDescription") and others where you need to type a value don't work.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'Annotate, Selected Module'
  2. Click on 'Annotation to add'
  3. Scroll down to '@Folder'
  4. See error

Expected behavior I expect to be able to type a value.

Screenshots imagen

Logfile Rubberduck generates extensive logging in TRACE-Level. If no log was created at %APPDATA%\Rubberduck\Logs, check your settings. Include this log for bug reports about the behavior of Rubberduck.

Additional context Add any other context about the problem here. RubberduckLog.txt

pcarnet avatar Oct 04 '23 12:10 pcarnet

Thanks for the report! As a (perhaps annoying if you like using the UI) workaround in the meantime note that you can always simply type '@Folder Parent.Child at the top of a module to add a folder annotation.

The following variants are also valid:

  • '@Folder("Parent.Child")
  • '@Folder "Parent.Child"

retailcoder avatar Oct 04 '23 21:10 retailcoder

I cannot reproduce this with the latest build. Is this still happening with the latest prerelease?

MDoerner avatar Oct 22 '23 22:10 MDoerner