Skip to content
This repository has been archived by the owner on Sep 1, 2022. It is now read-only.

Code "formatter" to fix whitespace issues #53

Open
mattpalermo opened this issue Feb 21, 2017 · 0 comments
Open

Code "formatter" to fix whitespace issues #53

mattpalermo opened this issue Feb 21, 2017 · 0 comments

Comments

@mattpalermo
Copy link
Collaborator

There are a few different "whitespace errors" that are introduced to the VBA when the code is imported (and exported?). Issues #22 and #45 are two of these whitespace errors.

I have also recently experienced a whitespace error where a trailing space will be added to line 2 of a form module. This is the line that looks like this:

Begin {C62A69F0-16DC-11CE-9E98-00AA00574A4F} MyFormName

To solve these problems, the code should be run through a "formatter" on import (and on export?). It is important that this formatter is non-destructive. I think it would be best to only do enough manipulation to fix the whitespace errors and not get carried away with an other formatting.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants