-
Notifications
You must be signed in to change notification settings - Fork 315
Open
Labels
difficulty-01-ducklingIssue where no particularly involved knowledge of the internal API is needed.Issue where no particularly involved knowledge of the internal API is needed.enhancementFeature requests, or enhancements to existing features. Ideas. Anything within the project's scope.Feature requests, or enhancements to existing features. Ideas. Anything within the project's scope.feature-refactoringsgood first issueWant to contribute? That's a good place to start!Want to contribute? That's a good place to start!hacktoberfestTags issues for Hacktoberfest 2019Tags issues for Hacktoberfest 2019up-for-grabsUse this label in conjunction with a difficulty level label, e.g. difficulty-02-duckyUse this label in conjunction with a difficulty level label, e.g. difficulty-02-ducky
Description
The refactoring tool "Move Closer to Usage" doesn't honor indenter settings. For example, when using the tool on variable varToMove:
Sub test()
Dim varToMove As String ' indented
Dim j As Long
Debug.Print varToMove
End Sub
It ends up like this:
Sub test()
Dim j As Long
Dim varToMove As String ' not indented
Debug.Print varToMove
End Sub
It would make sense to either have this tool honor the indenter settings or just keep the same indentation on the declaration line the same as before it was moved.
Version 2.2.0.3762
OS: Microsoft Windows NT 6.1.7601 Service Pack 1, x64
Host Product: Microsoft Outlook x86
Host Version: 16.0.4717.1000
Host Executable: OUTLOOK.EXE
retailcoder
Metadata
Metadata
Assignees
Labels
difficulty-01-ducklingIssue where no particularly involved knowledge of the internal API is needed.Issue where no particularly involved knowledge of the internal API is needed.enhancementFeature requests, or enhancements to existing features. Ideas. Anything within the project's scope.Feature requests, or enhancements to existing features. Ideas. Anything within the project's scope.feature-refactoringsgood first issueWant to contribute? That's a good place to start!Want to contribute? That's a good place to start!hacktoberfestTags issues for Hacktoberfest 2019Tags issues for Hacktoberfest 2019up-for-grabsUse this label in conjunction with a difficulty level label, e.g. difficulty-02-duckyUse this label in conjunction with a difficulty level label, e.g. difficulty-02-ducky