Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Additional "Insert" menu option for toggling #1054

Open
B00MxHartShotx opened this issue May 24, 2024 · 0 comments
Open

Additional "Insert" menu option for toggling #1054

B00MxHartShotx opened this issue May 24, 2024 · 0 comments

Comments

@B00MxHartShotx
Copy link

Thank you for the time and potential consideration; this is my first step into Open Source contribution.

Environment

  • Visual Studio version: Visual Studio 2022
  • CodeMaid version: 12.0.300
  • Code language: C#

Description

You'll have to excuse my lack of a code sample as this is something beyond my capabilities. I'm a self-taught Unity developer that has just been recommended CodeMaid only yesterday and I love it. I feel that it offloads the organization of my code and has already kept me more on task as such.

I use expression body methods within my codebase for organization. When I was perusing the available options for CodeMaid, under Cleaning -> Insert to be more specific, I was able to find a toggle for blank line padding before&&after methods. This is fantastic with block body methods, as it gives the eyes space to separate, but removes the option to stack my one-liners. Would a toggle for block body methods && a toggle for expression body methods be a possibility?

Steps to recreate

  1. Block body methods are awesome when spaced
  2. Expression body methods are awesome when !spaced
  3. Would love 2 toggles
  4. Instead of 1 toggle?

Current behavior

I believe that I've outlined above, but currently there is a single toggle in Cleaning -> Insert options for space before/after methods

Expected (wished) behavior

I believe that I've outlined above, I wish there were two toggles in Cleaning -> Insert options for space before/after methods - breaking the existing one for block/expression body methods

Thank you again. Be safe!

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

No branches or pull requests

1 participant