Skip to content

ParameterCanBePassedByVal quickfix and RemoveParametersRefactoring hotfix

Compare
Choose a tag to compare
@retailcoder retailcoder released this 08 Jul 06:24
· 12981 commits to next since this release

This version fixes the following (minor) issues:

  • Quickfix for inspection result "Parameter can be passed by value" no longer breaks code when parameter is explicitly passed by reference (previous 1.4 releases would result in a parameter with both ByRef and ByVal modifiers).
  • "Remove parameters" refactoring no longer allows breaking the code by removing the last parameter of a Property Let or Property Set class member.
  • Added a few French translations that were missing, in the ToDo Exporer feature.

Installation

  • If this is a new install, simply download and run the setup executable.
  • If you already have a previous version of Rubberduck, please uninstall it before proceeding; this installer will not automatically remove a previous installed version.
  • If you're running an anti-virus software, you may need to authorize this executable to run on your computer.
  • Administrative privileges are required for proper registration of the COM-visible API that enables unit testing and other API's.

Installation will register the add-in for the administrator account. If you want to use Rubberduck from a non-admin account, you need to run the following PowerShell commands to create the registry keys for your user:

Set-ExecutionPolicy -ExecutionPolicy RemoteSigned

New-Item -Path 'HKCU:\Software\Microsoft\VBA\VBE\6.0\AddIns\Rubberduck.Extension' -Force

New-ItemProperty -Path 'HKCU:\Software\Microsoft\VBA\VBE\6.0\AddIns\Rubberduck.Extension' -Name Description -PropertyType String -Value 'Rubberduck'

New-ItemProperty -Path 'HKCU:\Software\Microsoft\VBA\VBE\6.0\AddIns\Rubberduck.Extension' -Name FriendlyName -PropertyType String -Value 'Rubberduck'

New-ItemProperty -Path 'HKCU:\Software\Microsoft\VBA\VBE\6.0\AddIns\Rubberduck.Extension' -Name LoadBehavior -PropertyType DWord -Value 3

See version 1.4 release notes for more information.