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

Styling our code based on a new omnisharp config file #49

Merged
merged 5 commits into from
Feb 14, 2019

Conversation

juniorxsound
Copy link
Contributor

@juniorxsound juniorxsound commented Oct 25, 2018

Why:
Our code has different style conventions and as it grows, having a consistent style guide will help make it easier to read through and contribute to.

What changed
Reformatted the contents of Vimeo/Scripts using our new styling config

Tested against:

  • 2018.2.14f1
  • 2017.1.5f1
  • 5.6.4f1

Omnisharp formatting options options

Copy link
Contributor

@caseypugh caseypugh left a comment

Choose a reason for hiding this comment

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

Let's put omnisharp.json into the working directory, not your root folder. That way you dont even need to set this up and it Just Works.

See https://github.com/OmniSharp/omnisharp-roslyn/wiki/Configuration-Options

At startup, OmniSharp obtains the configuration options using the following (hierarchical) order:

  • its own hardcoded defaults
  • Environment variables
  • Command line arguments
  • An omnisharp.json file located in %USERPROFILE%/.omnisharp/
  • An omnisharp.json file located in the working directory which OmniSharp has been pointed at

@juniorxsound juniorxsound self-assigned this Oct 26, 2018
@juniorxsound juniorxsound added this to the 0.9.4 milestone Oct 26, 2018
@juniorxsound juniorxsound removed this from the 0.9.4 milestone Dec 13, 2018
@juniorxsound juniorxsound added this to the 0.9.5 milestone Feb 14, 2019
@juniorxsound juniorxsound merged commit 5ea8dad into master Feb 14, 2019
@juniorxsound juniorxsound deleted the style-guidelines branch February 14, 2019 17:58
juniorxsound added a commit that referenced this pull request Feb 14, 2019
Using this PR (#49) the current PR formats our code-base using the Omnisharp config file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants