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

(maint) Add visual ruler for line length #1359

Merged
merged 1 commit into from
Jun 12, 2018

Conversation

glennsarti
Copy link
Contributor

PR Summary

Previously it was a little difficult to know when your editing would exceed
the 120 line length limit. This commit modifies the project settings to add
a simple visual ruler at the 120 char limit.

PR Checklist

Note: Tick the boxes below that apply to this pull request by putting an x between the square brackets.
Please mark anything not applicable to this PR NA.

  • PR has a meaningful title
  • Summarized changes
  • This PR is ready to merge and is not work in progress
    • If the PR is work in progress, please add the prefix WIP: to the beginning of the title and remove the prefix when the PR is ready

@glennsarti
Copy link
Contributor Author

Hrmm odd. Appveyor ignored my [skip ci]

Copy link
Contributor

@rkeithhill rkeithhill left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. And good call. I have this setting in my user settings but the workspace settings file should have it as well.

@rkeithhill
Copy link
Contributor

Oh, one minor nit, would you mind moving this setting up by the other editor settings?

Copy link
Contributor

@rjmholt rjmholt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! (Modulo @rkeithhill's comment about moving the rule)

@glennsarti
Copy link
Contributor Author

Okay...so do I move it or not? got a +1 for both sides ...

@rkeithhill
Copy link
Contributor

Yes, please move it up to line 5 and then I'll merge this PR. Thanks!

Previously it was a little difficult to know when your editing would exceed
the 120 line length limit.  This commit modifies the project settings to add
a simple visual ruler at the 120 char limit.

[skip ci]
@glennsarti
Copy link
Contributor Author

Done. Also added an EOF line feed as it was missing.

@rjmholt
Copy link
Contributor

rjmholt commented Jun 12, 2018

Sorry I meant I'm in favour of @rkeithhill's proposed changes

@rkeithhill rkeithhill merged commit f029833 into PowerShell:master Jun 12, 2018
@rkeithhill
Copy link
Contributor

Thanks!

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.

3 participants