Browse Source

Add VSC workspace rule

* The root workspace limits the ruler to 120 characters for member documentations and excludes folders such as 'samples' and 'docs'.
* The docs workspace limits the ruler to 70 characters for standard conceptual article to comply with documentation's CONTRIBUTING.md rule, and excludes temprorary folders created by DocFX.
pull/1161/head
Still Hsu 7 years ago
parent
commit
04c31501e6
No known key found for this signature in database GPG Key ID: 8601A145FDA95209
2 changed files with 43 additions and 0 deletions
  1. +23
    -0
      Discord.Net.code-workspace
  2. +20
    -0
      docs/Discord.Net.Docs.code-workspace

+ 23
- 0
Discord.Net.code-workspace View File

@@ -0,0 +1,23 @@
{
"folders": [
{
"path": "."
}
],
"settings": {
"editor.rulers": [
120
],
"files.exclude": {
"**/.git": true,
"**/.svn": true,
"**/.hg": true,
"**/CVS": true,
"**/.DS_Store": true,
"docs/": true,
"**/obj": true,
"**/bin": true,
"samples/": true,
}
}
}

+ 20
- 0
docs/Discord.Net.Docs.code-workspace View File

@@ -0,0 +1,20 @@
{
"folders": [
{
"path": "."
}
],
"settings": {
"editor.rulers": [
70
],
"files.exclude": {
"**/.git": true,
"**/.svn": true,
"**/.hg": true,
"**/CVS": true,
"**/.DS_Store": true,
"obj/": true
}
}
}

Loading…
Cancel
Save