We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cfa8a39 commit ef235b0Copy full SHA for ef235b0
src/CodeSnippetService.ts
@@ -165,7 +165,7 @@ export class CodeSnippetService {
165
166
duplicateNameExists(newName: string): void {
167
for (const snippet of this.codeSnippetList) {
168
- if (snippet.name === newName) {
+ if (snippet.name.toLowerCase() === newName.toLowerCase()) {
169
throw Error('Duplicate Name of Code Snippet');
170
}
171
0 commit comments