-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Add description of recommended settings for VS Code #4054
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
Conversation
CI OSX temporary failed |
|
||
By using the steps in the previous paragraph you can add onfiguration settings in `settings.json`. | ||
|
||
We recommend the following configuration settings for Visual Studio Code: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like a double space between following
and configuration
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed.
"editor.renderWhitespace": "all", | ||
"editor.renderControlCharacters": true, | ||
"omnisharp.projectLoadTimeout": 120, | ||
"files.trimTrailingWhitespace": true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should we just limit this to resx and powershell script files for now or are all the c# files clean?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
C# files was fixed in #3001 by lzybkr.
But we stiil have about 350 files with tabs.
.github/CONTRIBUTING.md
Outdated
@@ -61,6 +61,10 @@ To run the spellchecker, follow the steps as follows: | |||
|
|||
## Contributing to Code | |||
|
|||
### Code Editors | |||
|
|||
[You can use multiplatform Visual Studio Code (VS Code)][use-vscode-editor] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it should say: You should use the multi-platform ...
And make just the Visual Studio Code (VSCode)
the hyperlink instead of the whole line
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@rkeithhill Any thoughts? |
@iSazonov The problem with putting this in the docs is that few people read the docs. That said, it's better to have in the docs than nowhere. :-) But at some point, I suggest we either add a This brings me to my next suggestion. Consider adding a
|
@rkeithhill Thanks for great feedback! I think we should be more conservative - other developers might have their preferences and we shouldn't overwrite them. |
Keep in mind that the use of a "workspace" specific settings file only overrides "user" specific settings for that workspace. And that is typically what you want. That is, a user might prefer tabs to spaces but this project uses spaces. So adding that setting to an editor config file will ensure that spaces are used for this user in only this workspace. In his own projects, tabs will still be used. |
@rkeithhill The PR is for docs only. I believe your suggestions is great for new PR. Could you please open it? |
No description provided.