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

Generate Stream Output Operator #23

Merged
merged 19 commits into from
Mar 31, 2021
Merged

Generate Stream Output Operator #23

merged 19 commits into from
Mar 31, 2021

Conversation

BigBahss
Copy link
Owner

Adds a command/code-action Generate Stream Output Operator, accessible through the Refactor... menu within a class or struct. Generates a friend operator<< that outputs to an ostream. Prompts the user to select base classes and member variables to output to the ostream. Works very similar to Generate Equality Operators.

Additionally, if ostream or iostream is not directly included in the file, then #include <ostream> will be added to the file.

@BigBahss BigBahss merged commit a1d5e4a into master Mar 31, 2021
@BigBahss BigBahss deleted the stream-output-operator branch March 31, 2021 08:54
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

Successfully merging this pull request may close these issues.

1 participant