spences10 / VBA-IDE-Code-Export

Export & Import VBA code for use with Git (or any VCS)
MIT License
119 stars 34 forks source link

Recommend using .gitattributes, .editorconfig and .gitignore files #75

Open mattpalermo opened 7 years ago

mattpalermo commented 7 years ago

These files can be found in the CodeExport project directory. The .gitattributes file is important for fixing bugs which arise in Excel due to using Unix style line terminations. The other files help in other less serious ways.

spences10 commented 7 years ago

This is so that how to use then gets documented?

Bc I have no idea how to use editor config 🙃

mattpalermo commented 7 years ago

I don't think the developer even needs to know much about them. At the very least, they just need to know that it will make things work smoother. Editor config is quite simple. Any decent, modern text editor will automatically see the file and adjust its behaviour accordingly. I use the Atom text editor and it works well for me.

spences10 commented 7 years ago

VS Code here, :heart: it :+1:

mattpalermo commented 7 years ago

Nice! I remember now, I saw some VBA language plugin for vs code on your github. I've heard good things about it. I'll try it out one day.

On 10 Mar 2017 7:40 PM, "Scott Spence" notifications@github.com wrote:

VS Code here, ❤️ it 👍

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/spences10/VBA-IDE-Code-Export/issues/75#issuecomment-285622987, or mute the thread https://github.com/notifications/unsubscribe-auth/AP4EuGMu65mAbIUuMFZhOFLK8_b7TGRaks5rkRp2gaJpZM4MYwpN .

spences10 commented 7 years ago

Yeah I had a play around with making some snippets and then syntax highlighting and then some icons for the editor:

syntax highlighting https://github.com/spences10/vscode-vba

snippets https://github.com/spences10/vba-snippets

icons https://github.com/spences10/vscode-vba-icons

If you're interested :smile: :ok_hand:

Anyhoo

Back to #75 does this need to be mentioned in the documentation somewhere?

mattpalermo commented 7 years ago

Yea, I think it does need to be documented. Probably the "Using" section of the README is the best place?