Skip to content

Commit

Permalink
removed 'private' option, classes cannot be private lol
Browse files Browse the repository at this point in the history
  • Loading branch information
somedeveloper00 committed May 19, 2024
1 parent 77f0b08 commit 6c3f3f5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,19 +90,16 @@
"enum": [
"public",
"internal",
"private",
"none"
],
"enumItemLabels": [
"public",
"internal",
"private",
"empty (internal)"
],
"markdownEnumDescriptions": [
"[Access is not restricted.](https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/public)",
"[Access is limited to the current assembly.](https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/internal)",
"[Access is limited to the containing type.](https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/private)",
"Uses nothing which lets C# use the default [(internal)](https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/class) option."
]
},
Expand Down
2 changes: 1 addition & 1 deletion src/model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export const DEST_PATH = 'snippets/snippets.json';
export const ISSUES_URL = 'https://github.com/kleber-swf/vscode-unity-code-snippets/issues';

export type IndentationStyle = 'kr' | 'allman';
export type ClassAccessibilityLevel = 'public' |'internal' |'private' | 'none';
export type ClassAccessibilityLevel = 'public' |'private' | 'none';

export type ReplaceType = 'PRIVATE' | 'CLASS_ACCESSIBILITY_LEVEL' | 'LINE_BREAK' | 'TAB';
export type Replaces = Record<ReplaceType, string>;
Expand Down

0 comments on commit 6c3f3f5

Please sign in to comment.