Skip to content

Version 1.21 Bug Fixes & UI Improvements

Compare
Choose a tag to compare
@retailcoder retailcoder released this 17 Mar 05:20

Rubberduck is now licensed under GPL3; you will be prompted to accept the license terms when installing.

Installing

  • Download and use the x86 installer for 32 bit versions of Office
  • Download and use the x64 installer for 64 bit versions of Office

This installer requires administrative privileges.

Issue with x64 installer

The x64 installer is trying to prepare the ground for a per-user install without admin rights, and will register the COM classes under HKEY_CURRENT_USER; as a result, you could be seeing this message when starting Excel (or your favorite Office application):

add-in could not be loaded

It appears the keys have to be registered under HKEY_LOCAL_MACHINE (which means installing will require admin rights no matter what). To fix this, you will have to run this command from an administrative command prompt:

c:\windows\microsoft.net\framework64\v4.0.30319\regasm.exe c:\users\{username}\appdata\roaming\rubberduck.install\rubberduck.dll /codebase /tlb

Future releases will not require that step.


System Requirements:

  • Windows Vista, 7, or 8
  • .Net Framework 4.5
  • Microsoft Office

Note about supported Office Versions:

We've had users report successful installations on versions of Office as old as 97 and as new as 2013, but the only officially supported versions are 2007 and 2010.

We've had some issues reported with the 2013 environment. If you'd like to join the team and help us add support for Office 2013, please respond to issue #316.

Changes

  • Code Explorer now not only has class module icons and proper sorting (#267), it also displays an icon for document (Office) objects, user forms, and optionally regroups object types into folders like the VBE's Project Explorer - folders can be toggled, and the treeview can also display full signatures (and declarations) instead of just method/member names.
  • Unit Testing now supports setup & teardown methods with @ModuleInitialize, @ModuleCleanup, @TestInitialize and @TestCleanup attributes/magic-comments, respectively for methods to execute once before all tests in a test module, after all tests in a test module, before each test and after each test (#293).
  • Error-handling in test method stubs has been simplified (#271), and adding a test module also adds method stubs for the setup & teardown methods.
  • Completely redesigned "About" window, now linking to rubberduck-vba.com and our social media accounts; design is more in line with our official website, too (#308).
  • Code Inspection results can now be copied to clipboard.
  • Added a DeleteBranch method to the API

See the MileStone for a Complete List of Closed Issues.

Bug Fixes

  • Protected workbooks no longer crash the parser (#289) and are now displayed in the Code Explorer with a padlock icon.
  • Used variables no longer cause "variable not used" false positives in Code Inspections (#282).
  • Navigating to a deleted code module no longer crashes Code Explorer (#279).
  • Multiple identically named projects no longer crashes Code Explorer navigation (#280) - navigating may not activate the expected module though, but then there's only so much we can do: best solution is to actually name your VBA projects.
  • Various bug fixes with Extract Method refactoring (#275, #276).
  • TODO Explorer is no longer loaded empty when there are TODO items to be displayed (#285).

Click Here for a complete list of bugs fixed in this release.