├── .editorconfig ├── .gitattributes ├── .github ├── FUNDING.yml └── workflows │ └── build.yml ├── .gitignore ├── .vscode └── settings.json ├── CODEOWNERS ├── CONTRIBUTING.md ├── ChangeLog.md ├── LICENSE.txt ├── README.md ├── docs └── README.md ├── images ├── snippetica-logo-large.png ├── snippetica-logo-small.png └── snippetica.ai ├── src ├── .vscode │ └── settings.json ├── Directory.Build.props ├── Snippetica.CodeGeneration.Common │ ├── EnumerableExtensions.cs │ ├── EnvironmentKind.cs │ ├── EnvironmentKindExtensions.cs │ ├── IO │ │ └── IOUtility.cs │ ├── KeywordDefinition.cs │ ├── KeywordDefinitionCollection.cs │ ├── KnownNames.cs │ ├── KnownTags.cs │ ├── LanguageDefinition.cs │ ├── LanguageExtensions.cs │ ├── LiteralIdentifiers.cs │ ├── ModifierDefinition.cs │ ├── ModifierDefinitionCollection.cs │ ├── ModifierKind.cs │ ├── Properties │ │ └── AssemblyInfo.cs │ ├── ShortcutInfo.cs │ ├── ShortcutKind.cs │ ├── ShortcutKindExtensions.cs │ ├── SnippetDirectory.cs │ ├── SnippetExtensions.cs │ ├── Snippetica.CodeGeneration.Common.csproj │ ├── TagInfo.cs │ ├── TypeDefinition.cs │ ├── TypeDefinitionCollection.cs │ ├── Validations │ │ ├── CustomSnippetValidator.cs │ │ ├── RegexHelper.cs │ │ └── Validator.cs │ └── Xml │ │ ├── XAttributeExtensions.cs │ │ └── XElementExtensions.cs ├── Snippetica.CodeGeneration.DocumentationGenerator │ ├── DocumentationGenerator.csproj │ ├── MarkdownGenerator.cs │ ├── Program.cs │ └── Properties │ │ └── launchSettings.json ├── Snippetica.CodeGeneration.Metadata │ ├── Data │ │ ├── html-elements.xml │ │ ├── html.md │ │ ├── metadata.json │ │ └── xaml.md │ ├── Properties │ │ └── AssemblyInfo.cs │ ├── Snippetica.CSharp │ │ ├── AttributeClass.snippet │ │ ├── Attributes │ │ │ ├── Attribute.snippet │ │ │ ├── AttributeUsageAttribute.snippet │ │ │ ├── ConditionalAttribute.snippet │ │ │ ├── DebuggerDisplayAttribute.snippet │ │ │ ├── DebuggerStepThroughAttribute.snippet │ │ │ ├── DefaultValueAttribute.snippet │ │ │ ├── DescriptionAttribute.snippet │ │ │ ├── FlagsAttribute.snippet │ │ │ ├── ObsoleteAttribute.snippet │ │ │ ├── RequiredAttribute.snippet │ │ │ └── TypeConverterAttribute.snippet │ │ ├── AutoGeneration │ │ │ ├── Abstract │ │ │ │ └── Method.snippet │ │ │ ├── ArrayOfTVariable.snippet │ │ │ ├── AutoProperty.snippet │ │ │ ├── AutoPropertyWithPrivateSet.snippet │ │ │ ├── Class.snippet │ │ │ ├── Const.snippet │ │ │ ├── Constructor.snippet │ │ │ ├── Delegate.snippet │ │ │ ├── Enum.snippet │ │ │ ├── Event.snippet │ │ │ ├── Field.snippet │ │ │ ├── Indexer.snippet │ │ │ ├── Interface.snippet │ │ │ ├── InterfaceMethod.snippet │ │ │ ├── Method.snippet │ │ │ ├── NewVariable.snippet │ │ │ ├── ReadOnlyAutoProperty.snippet │ │ │ ├── ReadOnlyField.snippet │ │ │ ├── ReadOnlyIndexer.snippet │ │ │ ├── ReadOnlyRecordStruct.snippet │ │ │ ├── ReadOnlyStruct.snippet │ │ │ ├── Record.snippet │ │ │ ├── RecordStruct.snippet │ │ │ ├── Struct.snippet │ │ │ ├── Type.snippet │ │ │ └── Variable.snippet │ │ ├── BooleanVariable.snippet │ │ ├── Braces.snippet │ │ ├── Catch.snippet │ │ ├── CollectionOfTClass.snippet │ │ ├── ConditionalOperator.snippet │ │ ├── ConditionalOperatorEqualToNull.snippet │ │ ├── ConditionalOperatorNotEqualToNull.snippet │ │ ├── ContainingTypeName.snippet │ │ ├── DateTimeOffsetType.snippet │ │ ├── DateTimeType.snippet │ │ ├── DebugAssert.snippet │ │ ├── DebugWriteLine.snippet │ │ ├── DefaultKeyword.snippet │ │ ├── Dev │ │ │ ├── AssemblyAttribute.snippet │ │ │ ├── AutoGeneration │ │ │ │ └── LocalFunction.snippet │ │ │ ├── AwaitForEach.snippet │ │ │ ├── BreakStatement.snippet │ │ │ ├── ConditionalOperatorNotStringIsNullOrEmpty.snippet │ │ │ ├── ConditionalOperatorNotStringIsNullOrWhiteSpace.snippet │ │ │ ├── ConditionalOperatorStringIsNullOrEmpty.snippet │ │ │ ├── ConditionalOperatorStringIsNullOrWhiteSpace.snippet │ │ │ ├── DebugAssertIsNotNull.snippet │ │ │ ├── DebugAssertIsNull.snippet │ │ │ ├── IfNotStringIsNullOrEmpty.snippet │ │ │ ├── IfNotStringIsNullOrWhiteSpace.snippet │ │ │ ├── IfStringIsNullOrEmpty.snippet │ │ │ ├── IfStringIsNullOrWhiteSpace.snippet │ │ │ ├── OverrideModifier.snippet │ │ │ ├── ReturnAwait.snippet │ │ │ ├── ReturnDefault.snippet │ │ │ ├── ReturnNew.snippet │ │ │ ├── StringBuilderVariable.snippet │ │ │ ├── ThrowStatement.snippet │ │ │ ├── TimeSpan.snippet │ │ │ └── YieldReturnNew.snippet │ │ ├── DictionaryOfTKeyTValueClass.snippet │ │ ├── DisposableClass.snippet │ │ ├── Dispose.snippet │ │ ├── Do.snippet │ │ ├── DoWhileNotNull.snippet │ │ ├── DoWhileNull.snippet │ │ ├── Else.snippet │ │ ├── ElseIf.snippet │ │ ├── EnumeratorClass.snippet │ │ ├── EqualToNull.snippet │ │ ├── EqualsAndGetHashCode.snippet │ │ ├── EqualsAndGetHashCodeForValueType.snippet │ │ ├── ExceptionClass.snippet │ │ ├── ExplicitCastOperator.snippet │ │ ├── Finally.snippet │ │ ├── For.snippet │ │ ├── ForEach.snippet │ │ ├── ForReversed.snippet │ │ ├── GenericTypeConstraint.snippet │ │ ├── IComparerClass.snippet │ │ ├── IComparerOfTClass.snippet │ │ ├── IEqualityComparerClass.snippet │ │ ├── IEqualityComparerOfTClass.snippet │ │ ├── If.snippet │ │ ├── IfEqualToNull.snippet │ │ ├── IfNot.snippet │ │ ├── IfNotEqualToNull.snippet │ │ ├── IfNotTryGetValue.snippet │ │ ├── IfNotTryParse.snippet │ │ ├── IfTryGetValue.snippet │ │ ├── IfTryParse.snippet │ │ ├── Int32Variable.snippet │ │ ├── InterfaceEvent.snippet │ │ ├── InterfaceIndexer.snippet │ │ ├── InterfaceProperty.snippet │ │ ├── InterfaceReadOnlyProperty.snippet │ │ ├── KeyValuePair.snippet │ │ ├── KeyValuePairCreate.snippet │ │ ├── LambdaExpression.snippet │ │ ├── LambdaExpressionWithTwoParameters.snippet │ │ ├── LambdaExpressionWithoutParameters.snippet │ │ ├── NameOfOperator.snippet │ │ ├── NotEqualToNull.snippet │ │ ├── NotStringIsNullOrEmpty.snippet │ │ ├── NotStringIsNullOrWhiteSpace.snippet │ │ ├── ObjectKeyword.snippet │ │ ├── ObservableCollectionOfTClass.snippet │ │ ├── OverloadedOperatorAmpersand.snippet │ │ ├── OverloadedOperatorAsterisk.snippet │ │ ├── OverloadedOperatorCaret.snippet │ │ ├── OverloadedOperatorEquality.snippet │ │ ├── OverloadedOperatorExclamationMark.snippet │ │ ├── OverloadedOperatorExplicit.snippet │ │ ├── OverloadedOperatorGreaterThan.snippet │ │ ├── OverloadedOperatorGreaterThanGreaterThan.snippet │ │ ├── OverloadedOperatorGreaterThanOrEqual.snippet │ │ ├── OverloadedOperatorImplicit.snippet │ │ ├── OverloadedOperatorLessThan.snippet │ │ ├── OverloadedOperatorLessThanLessThan.snippet │ │ ├── OverloadedOperatorLessThanOrEqual.snippet │ │ ├── OverloadedOperatorMinus.snippet │ │ ├── OverloadedOperatorMinusMinus.snippet │ │ ├── OverloadedOperatorPercent.snippet │ │ ├── OverloadedOperatorPlus.snippet │ │ ├── OverloadedOperatorPlusPlus.snippet │ │ ├── OverloadedOperatorSlash.snippet │ │ ├── OverloadedOperatorTilde.snippet │ │ ├── OverloadedOperatorTrueFalse.snippet │ │ ├── OverloadedOperatorVerticalBar.snippet │ │ ├── ParameterArray.snippet │ │ ├── PreprocessorDirectiveIf.snippet │ │ ├── PreprocessorDirectiveIfElse.snippet │ │ ├── PreprocessorDirectiveRegion.snippet │ │ ├── ReadOnlyCollectionOfTClass.snippet │ │ ├── ReturnFalse.snippet │ │ ├── ReturnKeyword.snippet │ │ ├── ReturnNull.snippet │ │ ├── ReturnTrue.snippet │ │ ├── SingletonClass.snippet │ │ ├── StaticConstructor.snippet │ │ ├── StringIsNullOrEmpty.snippet │ │ ├── StringIsNullOrWhiteSpace.snippet │ │ ├── StringKeyword.snippet │ │ ├── StringVariable.snippet │ │ ├── SwitchExpression.snippet │ │ ├── SwitchStatement.snippet │ │ ├── ThrowNew.snippet │ │ ├── ThrowNewArgumentException.snippet │ │ ├── ThrowNewArgumentNullException.snippet │ │ ├── ThrowNewArgumentOutOfRangeException.snippet │ │ ├── ThrowNewInvalidCastException.snippet │ │ ├── ThrowNewInvalidOperationException.snippet │ │ ├── ThrowNewNotImplementedException.snippet │ │ ├── ThrowNewNotSupportedException.snippet │ │ ├── ThrowNewObjectDisposedException.snippet │ │ ├── TodoComment.snippet │ │ ├── TryCatch.snippet │ │ ├── TryCatchFinally.snippet │ │ ├── TryFinally.snippet │ │ ├── TypeOfOperator.snippet │ │ ├── UsingDeclaration.snippet │ │ ├── UsingStatement.snippet │ │ ├── UsingStatic.snippet │ │ ├── Variable.snippet │ │ ├── VariableWithExplicitCast.snippet │ │ ├── While.snippet │ │ ├── WhileNot.snippet │ │ ├── WhileNotNull.snippet │ │ ├── WhileNull.snippet │ │ ├── YieldBreak.snippet │ │ └── YieldReturn.snippet │ ├── Snippetica.CodeGeneration.Metadata.csproj │ ├── Snippetica.Cpp │ │ ├── Attribute.snippet │ │ ├── AutoGeneration │ │ │ ├── ArrayOfTVariable.snippet │ │ │ ├── Class.snippet │ │ │ ├── Constructor.snippet │ │ │ ├── CopyConstructor.snippet │ │ │ ├── Destructor.snippet │ │ │ ├── Enum.snippet │ │ │ ├── EnumClass.snippet │ │ │ ├── EnumStruct.snippet │ │ │ ├── ExplicitConstructor.snippet │ │ │ ├── Function.snippet │ │ │ ├── MoveConstructor.snippet │ │ │ ├── Struct.snippet │ │ │ └── Variable.snippet │ │ ├── Braces.snippet │ │ ├── Catch.snippet │ │ ├── ConditionalOperator.snippet │ │ ├── ConstCast.snippet │ │ ├── ConstClass.snippet │ │ ├── ConstStruct.snippet │ │ ├── Dev │ │ │ ├── BoolVariable.snippet │ │ │ ├── BreakStatement.snippet │ │ │ ├── ClassWithInlineConstructorDestructor.snippet │ │ │ ├── ContinueStatement.snippet │ │ │ ├── IntVariable.snippet │ │ │ ├── LambdaExpressionMinimal.snippet │ │ │ ├── ReturnFalse.snippet │ │ │ ├── ReturnStatement.snippet │ │ │ ├── ReturnTrue.snippet │ │ │ ├── StringType.snippet │ │ │ └── StringVariable.snippet │ │ ├── DoWhile.snippet │ │ ├── DynamicCast.snippet │ │ ├── Else.snippet │ │ ├── ElseIf.snippet │ │ ├── For.snippet │ │ ├── ForRangeBased.snippet │ │ ├── ForReversed.snippet │ │ ├── If.snippet │ │ ├── IfConstExpr.snippet │ │ ├── InlineNamespace.snippet │ │ ├── Interface.snippet │ │ ├── LambdaExpression.snippet │ │ ├── MultilineComment.snippet │ │ ├── Namespace.snippet │ │ ├── OverloadedOperatorCopyAssignment.snippet │ │ ├── OverloadedOperatorCopyAssignmentWithConst.snippet │ │ ├── OverloadedOperatorExplicit.snippet │ │ ├── OverloadedOperatorExplicitWithConst.snippet │ │ ├── OverloadedOperatorImplicit.snippet │ │ ├── OverloadedOperatorImplicitWithConst.snippet │ │ ├── OverloadedOperatorMoveAssignment.snippet │ │ ├── PreprocessorDirectiveDefine.snippet │ │ ├── PreprocessorDirectiveError.snippet │ │ ├── PreprocessorDirectiveIf.snippet │ │ ├── PreprocessorDirectiveIfElse.snippet │ │ ├── PreprocessorDirectiveIfdef.snippet │ │ ├── PreprocessorDirectiveIfndef.snippet │ │ ├── PreprocessorDirectiveInclude.snippet │ │ ├── PreprocessorDirectiveLine.snippet │ │ ├── PreprocessorDirectiveRegion.snippet │ │ ├── PreprocessorDirectiveUndef.snippet │ │ ├── PreprocessorDirectiveUsing.snippet │ │ ├── PureVirtualFunction.snippet │ │ ├── ReinterpretCast.snippet │ │ ├── StaticAssert.snippet │ │ ├── StaticCast.snippet │ │ ├── Switch.snippet │ │ ├── Template.snippet │ │ ├── TemplateWithTwoParameters.snippet │ │ ├── TryCatch.snippet │ │ ├── TypeDefDeclaration.snippet │ │ ├── Union.snippet │ │ ├── UsingDeclaration.snippet │ │ ├── UsingNamespace.snippet │ │ └── While.snippet │ ├── Snippetica.Html │ │ ├── AutoGeneration │ │ │ ├── a.snippet │ │ │ ├── abbr.snippet │ │ │ ├── acronym.snippet │ │ │ ├── address.snippet │ │ │ ├── applet.snippet │ │ │ ├── area.snippet │ │ │ ├── article.snippet │ │ │ ├── aside.snippet │ │ │ ├── audio.snippet │ │ │ ├── b.snippet │ │ │ ├── base.snippet │ │ │ ├── basefont.snippet │ │ │ ├── bdi.snippet │ │ │ ├── bdo.snippet │ │ │ ├── big.snippet │ │ │ ├── blockquote.snippet │ │ │ ├── body.snippet │ │ │ ├── br.snippet │ │ │ ├── button.snippet │ │ │ ├── canvas.snippet │ │ │ ├── caption.snippet │ │ │ ├── center.snippet │ │ │ ├── cite.snippet │ │ │ ├── code.snippet │ │ │ ├── col.snippet │ │ │ ├── colgroup.snippet │ │ │ ├── datalist.snippet │ │ │ ├── dd.snippet │ │ │ ├── del.snippet │ │ │ ├── details.snippet │ │ │ ├── dfn.snippet │ │ │ ├── dialog.snippet │ │ │ ├── dir.snippet │ │ │ ├── div.snippet │ │ │ ├── dl.snippet │ │ │ ├── dt.snippet │ │ │ ├── em.snippet │ │ │ ├── embed.snippet │ │ │ ├── fieldset.snippet │ │ │ ├── figure.snippet │ │ │ ├── font.snippet │ │ │ ├── footer.snippet │ │ │ ├── form.snippet │ │ │ ├── frame.snippet │ │ │ ├── frameset.snippet │ │ │ ├── h1.snippet │ │ │ ├── h2.snippet │ │ │ ├── h3.snippet │ │ │ ├── h4.snippet │ │ │ ├── h5.snippet │ │ │ ├── h6.snippet │ │ │ ├── head.snippet │ │ │ ├── header.snippet │ │ │ ├── hr.snippet │ │ │ ├── html.snippet │ │ │ ├── i.snippet │ │ │ ├── iframe.snippet │ │ │ ├── img.snippet │ │ │ ├── input.snippet │ │ │ ├── ins.snippet │ │ │ ├── kbd.snippet │ │ │ ├── keygen.snippet │ │ │ ├── label.snippet │ │ │ ├── legend.snippet │ │ │ ├── li.snippet │ │ │ ├── link.snippet │ │ │ ├── main.snippet │ │ │ ├── map.snippet │ │ │ ├── mark.snippet │ │ │ ├── menu.snippet │ │ │ ├── menuitem.snippet │ │ │ ├── meta.snippet │ │ │ ├── meter.snippet │ │ │ ├── nav.snippet │ │ │ ├── noframes.snippet │ │ │ ├── noscript.snippet │ │ │ ├── object.snippet │ │ │ ├── ol.snippet │ │ │ ├── optgroup.snippet │ │ │ ├── option.snippet │ │ │ ├── output.snippet │ │ │ ├── p.snippet │ │ │ ├── param.snippet │ │ │ ├── pre.snippet │ │ │ ├── progress.snippet │ │ │ ├── q.snippet │ │ │ ├── region.snippet │ │ │ ├── rp.snippet │ │ │ ├── rt.snippet │ │ │ ├── ruby.snippet │ │ │ ├── s.snippet │ │ │ ├── samp.snippet │ │ │ ├── script.snippet │ │ │ ├── section.snippet │ │ │ ├── select.snippet │ │ │ ├── small.snippet │ │ │ ├── source.snippet │ │ │ ├── span.snippet │ │ │ ├── strike.snippet │ │ │ ├── strong.snippet │ │ │ ├── style.snippet │ │ │ ├── sub.snippet │ │ │ ├── summary.snippet │ │ │ ├── sup.snippet │ │ │ ├── table.snippet │ │ │ ├── tbody.snippet │ │ │ ├── td.snippet │ │ │ ├── textarea.snippet │ │ │ ├── tfoot.snippet │ │ │ ├── th.snippet │ │ │ ├── thead.snippet │ │ │ ├── time.snippet │ │ │ ├── title.snippet │ │ │ ├── tr.snippet │ │ │ ├── track.snippet │ │ │ ├── tt.snippet │ │ │ ├── u.snippet │ │ │ ├── ul.snippet │ │ │ ├── var.snippet │ │ │ ├── video.snippet │ │ │ └── wbr.snippet │ │ ├── Dev │ │ │ ├── div_class.snippet │ │ │ ├── div_id.snippet │ │ │ ├── meta_viewport.snippet │ │ │ ├── span_class.snippet │ │ │ ├── span_id.snippet │ │ │ └── table_with_sections.snippet │ │ └── del_ins.snippet │ ├── Snippetica.Json │ │ ├── Array.snippet │ │ ├── ArrayWithContent.snippet │ │ ├── FalseValue.snippet │ │ ├── NullValue.snippet │ │ ├── Object.snippet │ │ ├── ObjectWithContent.snippet │ │ ├── Pair.snippet │ │ ├── PairWithArray.snippet │ │ ├── PairWithArrayWithContent.snippet │ │ ├── PairWithFalseValue.snippet │ │ ├── PairWithNullValue.snippet │ │ ├── PairWithObject.snippet │ │ ├── PairWithObjectWithContent.snippet │ │ ├── PairWithStringValue.snippet │ │ ├── PairWithTrueValue.snippet │ │ ├── PairWithZeroValue.snippet │ │ ├── StringValue.snippet │ │ └── TrueValue.snippet │ ├── Snippetica.Markdown │ │ ├── Bold.snippet │ │ ├── CodeBlock.snippet │ │ ├── CodeBlockWithContent.snippet │ │ ├── CodeInline.snippet │ │ ├── Dev │ │ │ ├── BoldItalic.snippet │ │ │ ├── ItalicBold.snippet │ │ │ └── TableWithoutHeader.snippet │ │ ├── Header1.snippet │ │ ├── Header2.snippet │ │ ├── Header3.snippet │ │ ├── Header4.snippet │ │ ├── Header5.snippet │ │ ├── Header6.snippet │ │ ├── HorizontalRule.snippet │ │ ├── Image.snippet │ │ ├── Italic.snippet │ │ ├── Link.snippet │ │ ├── OrderedListItem.snippet │ │ ├── OrderedListItemLevel2.snippet │ │ ├── OrderedListItemLevel3.snippet │ │ ├── OrderedListItems.snippet │ │ ├── OrderedListItemsLevel2.snippet │ │ ├── OrderedListItemsLevel3.snippet │ │ ├── Quote.snippet │ │ ├── StrikeThrough.snippet │ │ ├── Table.snippet │ │ ├── Table2.snippet │ │ ├── Table3.snippet │ │ ├── TaskListItem.snippet │ │ ├── UnorderedListItem.snippet │ │ ├── UnorderedListItemLevel2.snippet │ │ ├── UnorderedListItemLevel3.snippet │ │ ├── UnorderedListItems.snippet │ │ ├── UnorderedListItemsLevel2.snippet │ │ └── UnorderedListItemsLevel3.snippet │ ├── Snippetica.VisualBasic │ │ ├── AttributeClass.snippet │ │ ├── AutoGeneration │ │ │ ├── Abstract │ │ │ │ └── Method.snippet │ │ │ ├── ArrayOfTVariable.snippet │ │ │ ├── AutoProperty.snippet │ │ │ ├── Class.snippet │ │ │ ├── Constant.snippet │ │ │ ├── Constructor.snippet │ │ │ ├── Delegate.snippet │ │ │ ├── Enum.snippet │ │ │ ├── Event.snippet │ │ │ ├── Field.snippet │ │ │ ├── Indexer.snippet │ │ │ ├── Interface.snippet │ │ │ ├── InterfaceMethod.snippet │ │ │ ├── Method.snippet │ │ │ ├── Module.snippet │ │ │ ├── NewVariable.snippet │ │ │ ├── ReadOnlyAutoProperty.snippet │ │ │ ├── ReadOnlyField.snippet │ │ │ ├── ReadOnlyIndexer.snippet │ │ │ ├── Struct.snippet │ │ │ ├── Type.snippet │ │ │ └── TypeVariable.snippet │ │ ├── BooleanVariable.snippet │ │ ├── CTypeOperator.snippet │ │ ├── Catch.snippet │ │ ├── CollectionClass.snippet │ │ ├── ContainingTypeName.snippet │ │ ├── DateTimeType.snippet │ │ ├── DebugAssert.snippet │ │ ├── DebugWriteLine.snippet │ │ ├── Dev │ │ │ ├── StringBuilderVariable.snippet │ │ │ ├── ThrowStatement.snippet │ │ │ └── YieldKeyword.snippet │ │ ├── DictionaryOfTKeyTValueClass.snippet │ │ ├── DisposableClass.snippet │ │ ├── Dispose.snippet │ │ ├── Do.snippet │ │ ├── Else.snippet │ │ ├── ElseIf.snippet │ │ ├── EqualsAndGetHashCode.snippet │ │ ├── ExceptionClass.snippet │ │ ├── For.snippet │ │ ├── ForEach.snippet │ │ ├── ForReversed.snippet │ │ ├── GetTypeOperator.snippet │ │ ├── IComparerClass.snippet │ │ ├── IComparerOfTClass.snippet │ │ ├── IEqualityComparerClass.snippet │ │ ├── IEqualityComparerOfTClass.snippet │ │ ├── If.snippet │ │ ├── IfIsNotNothing.snippet │ │ ├── IfIsNothing.snippet │ │ ├── IfNot.snippet │ │ ├── IfNotTryParse.snippet │ │ ├── IfTryCastIsNotNothing.snippet │ │ ├── IfTryCastIsNothing.snippet │ │ ├── IfTryParse.snippet │ │ ├── Int32Variable.snippet │ │ ├── InterfaceEvent.snippet │ │ ├── InterfaceIndexer.snippet │ │ ├── InterfaceProperty.snippet │ │ ├── InterfaceReadOnlyProperty.snippet │ │ ├── IsNotNothing.snippet │ │ ├── IsNothing.snippet │ │ ├── KeyValuePair.snippet │ │ ├── KeyValuePairCreate.snippet │ │ ├── LambdaExpression.snippet │ │ ├── LambdaExpressionWithTwoParameters.snippet │ │ ├── LambdaExpressionWithoutParameters.snippet │ │ ├── NameOfOperator.snippet │ │ ├── NotStringIsNullOrEmpty.snippet │ │ ├── NotStringIsNullOrWhiteSpace.snippet │ │ ├── ObjectKeyword.snippet │ │ ├── ObservableCollectionClass.snippet │ │ ├── OverloadedOperatorAmpersand.snippet │ │ ├── OverloadedOperatorAnd.snippet │ │ ├── OverloadedOperatorAsterisk.snippet │ │ ├── OverloadedOperatorBackslash.snippet │ │ ├── OverloadedOperatorCType.snippet │ │ ├── OverloadedOperatorCaret.snippet │ │ ├── OverloadedOperatorEquality.snippet │ │ ├── OverloadedOperatorGreaterThan.snippet │ │ ├── OverloadedOperatorGreaterThanGreaterThan.snippet │ │ ├── OverloadedOperatorGreaterThanOrEqual.snippet │ │ ├── OverloadedOperatorIsFalse.snippet │ │ ├── OverloadedOperatorIsTrue.snippet │ │ ├── OverloadedOperatorLessThan.snippet │ │ ├── OverloadedOperatorLessThanLessThan.snippet │ │ ├── OverloadedOperatorLessThanOrEqual.snippet │ │ ├── OverloadedOperatorLike.snippet │ │ ├── OverloadedOperatorMinus.snippet │ │ ├── OverloadedOperatorMod.snippet │ │ ├── OverloadedOperatorNot.snippet │ │ ├── OverloadedOperatorOr.snippet │ │ ├── OverloadedOperatorPlus.snippet │ │ ├── OverloadedOperatorSlash.snippet │ │ ├── OverloadedOperatorXor.snippet │ │ ├── ParameterArray.snippet │ │ ├── PreprocessorDirectiveIf.snippet │ │ ├── PreprocessorDirectiveIfElse.snippet │ │ ├── PreprocessorDirectiveRegion.snippet │ │ ├── ReadOnlyCollectionClass.snippet │ │ ├── ReturnFalse.snippet │ │ ├── ReturnKeyword.snippet │ │ ├── ReturnNothing.snippet │ │ ├── ReturnTrue.snippet │ │ ├── SelectCase.snippet │ │ ├── SingletonClass.snippet │ │ ├── StaticConstructor.snippet │ │ ├── StringIsNullOrEmpty.snippet │ │ ├── StringIsNullOrWhiteSpace.snippet │ │ ├── StringKeyword.snippet │ │ ├── StringVariable.snippet │ │ ├── ThrowNew.snippet │ │ ├── ThrowNewArgumentException.snippet │ │ ├── ThrowNewArgumentNullException.snippet │ │ ├── ThrowNewArgumentOutOfRangeException.snippet │ │ ├── ThrowNewInvalidCastException.snippet │ │ ├── ThrowNewInvalidOperationException.snippet │ │ ├── ThrowNewNotImplementedException.snippet │ │ ├── ThrowNewNotSupportedException.snippet │ │ ├── ThrowNewObjectDisposedException.snippet │ │ ├── TodoComment.snippet │ │ ├── TryCatch.snippet │ │ ├── TryCatchFinally.snippet │ │ ├── TryFinally.snippet │ │ ├── UsingStatement.snippet │ │ ├── Variable.snippet │ │ ├── VariableWithDirectCast.snippet │ │ ├── While.snippet │ │ ├── WhileIsNotNothing.snippet │ │ ├── WhileIsNothing.snippet │ │ └── WhileNot.snippet │ ├── Snippetica.Xaml │ │ ├── AutoGeneration │ │ │ ├── Button.snippet │ │ │ ├── Canvas.snippet │ │ │ ├── CheckBox.snippet │ │ │ ├── ColumnDefinition.snippet │ │ │ ├── ComboBox.snippet │ │ │ ├── ContentControl.snippet │ │ │ ├── ContextMenu.snippet │ │ │ ├── ControlTemplate.snippet │ │ │ ├── DataGrid.snippet │ │ │ ├── DataGridCheckBoxColumn.snippet │ │ │ ├── DataGridComboBoxColumn.snippet │ │ │ ├── DataGridTextColumn.snippet │ │ │ ├── DataTemplate.snippet │ │ │ ├── DockPanel.snippet │ │ │ ├── DockPanelDock.snippet │ │ │ ├── DockPanelLastChildFill.snippet │ │ │ ├── Grid.snippet │ │ │ ├── GridSplitterHorizontal.snippet │ │ │ ├── GridSplitterVertical.snippet │ │ │ ├── GridViewColumn.snippet │ │ │ ├── GroupBox.snippet │ │ │ ├── HierarchicalDataTemplate.snippet │ │ │ ├── Image.snippet │ │ │ ├── KeyBinding.snippet │ │ │ ├── Label.snippet │ │ │ ├── ListBox.snippet │ │ │ ├── ListView.snippet │ │ │ ├── MenuItem.snippet │ │ │ ├── RowDefinition.snippet │ │ │ ├── Setter.snippet │ │ │ ├── StackPanel.snippet │ │ │ ├── StackPanelHorizontal.snippet │ │ │ ├── StackPanelVertical.snippet │ │ │ ├── TabControl.snippet │ │ │ ├── TabItem.snippet │ │ │ ├── TextBlock.snippet │ │ │ ├── TextBox.snippet │ │ │ ├── UniformGrid.snippet │ │ │ ├── WrapPanel.snippet │ │ │ ├── WrapPanelHorizontal.snippet │ │ │ └── WrapPanelVertical.snippet │ │ └── Dev │ │ │ ├── Canvas.snippet │ │ │ ├── DockPanel.snippet │ │ │ ├── Grid.snippet │ │ │ ├── GridRowGridColumn.snippet │ │ │ ├── ListBoxItem.snippet │ │ │ ├── StackPanel.snippet │ │ │ ├── StackPanelHorizontal.snippet │ │ │ ├── StackPanelVertical.snippet │ │ │ ├── ToolBarTray.snippet │ │ │ ├── UniformGrid.snippet │ │ │ ├── WrapPanel.snippet │ │ │ ├── WrapPanelHorizontal.snippet │ │ │ └── WrapPanelVertical.snippet │ ├── Snippetica.Xml.CodeSnippet │ │ ├── Code.snippet │ │ ├── CodeSnippet.snippet │ │ ├── CodeSnippetCPlusPlus.snippet │ │ ├── CodeSnippetCSharp.snippet │ │ ├── CodeSnippetHtml.snippet │ │ ├── CodeSnippetJavaScript.snippet │ │ ├── CodeSnippetSql.snippet │ │ ├── CodeSnippetVisualBasic.snippet │ │ ├── CodeSnippetXml.snippet │ │ ├── CodeSnippets.snippet │ │ ├── Declarations.snippet │ │ ├── Import.snippet │ │ ├── Imports.snippet │ │ ├── Keyword.snippet │ │ ├── Keywords.snippet │ │ ├── Literal.snippet │ │ ├── LiteralWithEditableAttribute.snippet │ │ ├── LiteralWithFunction.snippet │ │ ├── SnippetType.snippet │ │ ├── SnippetTypeExpansion.snippet │ │ ├── SnippetTypeSurroundsWith.snippet │ │ └── SnippetTypes.snippet │ └── SnippeticaMetadata.cs ├── Snippetica.CodeGeneration.SnippetGenerator │ ├── Program.cs │ ├── Properties │ │ └── launchSettings.json │ └── SnippetGenerator.csproj ├── Snippetica.CodeGeneration │ ├── Commands │ │ ├── AbstractCommand.cs │ │ ├── AccessModifierCommand.cs │ │ ├── BasicTypeCommand.cs │ │ ├── Command.cs │ │ ├── CommandKind.cs │ │ ├── CommandUtility.cs │ │ ├── ConstCommand.cs │ │ ├── ConstExprCommand.cs │ │ ├── DeclarationCommand.cs │ │ ├── DefinitionCommand.cs │ │ ├── GenerateAlternativeShortcutCommand.cs │ │ ├── HtmlWithContentCommand.cs │ │ ├── HtmlWithoutContentCommand.cs │ │ ├── InitializerCommand.cs │ │ ├── InlineCommand.cs │ │ ├── ModifierCommand.cs │ │ ├── MultiCommand.cs │ │ ├── MultiCommandCollection.cs │ │ ├── PrefixTitleCommand.cs │ │ ├── ShortcutToLowercaseCommand.cs │ │ ├── SnippetCommand.cs │ │ ├── StaticCommand.cs │ │ ├── SuffixFileNameCommand.cs │ │ ├── TypeCommand.cs │ │ └── VirtualCommand.cs │ ├── EnvironmentExecutionContext.cs │ ├── ExecutionContext.cs │ ├── HtmlSnippetGenerator.cs │ ├── Json │ │ ├── JsonHelper.cs │ │ ├── JsonUtility.cs │ │ └── Package │ │ │ ├── BugInfo.cs │ │ │ ├── PackageInfo.cs │ │ │ ├── RepositoryInfo.cs │ │ │ └── SnippetInfo.cs │ ├── LanguageExecutionContext.cs │ ├── LanguageSnippetGenerator.cs │ ├── Placeholders.cs │ ├── Properties │ │ └── AssemblyInfo.cs │ ├── SnippetCodeBuilder.cs │ ├── SnippetEnvironment.cs │ ├── SnippetGenerator.cs │ ├── SnippetGeneratorResult.cs │ ├── Snippetica.CodeGeneration.csproj │ ├── StringExtensions.cs │ ├── VisualStudio │ │ ├── EnvironmentSnippetGenerator.cs │ │ ├── PkgDefGenerator.cs │ │ ├── ProjectDocument.cs │ │ ├── VisualStudioEnvironment.cs │ │ └── VisualStudioSnippetGenerator.cs │ ├── VisualStudioCode │ │ ├── VisualStudioCodeEnvironment.cs │ │ └── VisualStudioCodeSnippetGenerator.cs │ ├── XamlSnippetGenerator.cs │ └── XmlSnippetGenerator.cs ├── Snippetica.TestFiles │ ├── Properties │ │ └── AssemblyInfo.cs │ ├── TestFiles.csproj │ ├── cpp.cpp │ ├── cs.cs │ ├── html.html │ ├── vb.vb │ └── xaml.xaml ├── Snippetica.VisualStudio.Vsix.Dev │ ├── .gitignore │ ├── LICENSE.txt │ ├── Properties │ │ └── AssemblyInfo.cs │ ├── Snippetica.VisualStudio.Dev.snk │ ├── Snippetica.VisualStudio.Vsix.Dev.csproj │ ├── Snippetica.ico │ ├── SnippeticaPreview.png │ ├── regedit.pkgdef │ ├── snippets.xml │ └── source.extension.vsixmanifest ├── Snippetica.VisualStudio.Vsix │ ├── .gitignore │ ├── LICENSE.txt │ ├── Overview.md │ ├── Properties │ │ └── AssemblyInfo.cs │ ├── Shortcuts.xml │ ├── Snippetica.VisualStudio.Vsix.csproj │ ├── Snippetica.VisualStudio.snk │ ├── Snippetica.ico │ ├── SnippeticaPreview.png │ ├── manifest.json │ ├── regedit.pkgdef │ ├── snippets.xml │ └── source.extension.vsixmanifest ├── Snippetica.VisualStudio │ ├── Comparers │ │ ├── NamespaceComparer.cs │ │ ├── SnippetAssemblyReferenceDeepEqualityComparer.cs │ │ ├── SnippetComparer.cs │ │ ├── SnippetDeepEqualityComparer.cs │ │ ├── SnippetLiteralComparer.cs │ │ └── SnippetLiteralDeepEqualityComparer.cs │ ├── EnumerableExtensions.cs │ ├── Language.cs │ ├── SaveOptions.cs │ ├── Serialization │ │ ├── CodeElement.cs │ │ ├── CodeSnippetElement.cs │ │ ├── CodeSnippetsElement.cs │ │ ├── DeclarationsElement.cs │ │ ├── HeaderElement.cs │ │ ├── ImportElement.cs │ │ ├── LanguageMapper.cs │ │ ├── LiteralElement.cs │ │ ├── ObjectElement.cs │ │ ├── ReferenceElement.cs │ │ ├── SerializationContext.cs │ │ ├── SnippetElement.cs │ │ └── SnippetMapper.cs │ ├── Snippet.cs │ ├── SnippetAssemblyReference.cs │ ├── SnippetCode.cs │ ├── SnippetContextKind.cs │ ├── SnippetExtensions.cs │ ├── SnippetFile.cs │ ├── SnippetFileSearcher.cs │ ├── SnippetLiteral.cs │ ├── SnippetLiteralList.cs │ ├── SnippetPlaceholder.cs │ ├── SnippetPlaceholderList.cs │ ├── SnippetSerializer.cs │ ├── SnippetTypes.cs │ ├── Snippetica.VisualStudio.csproj │ ├── Validations │ │ ├── ResultImportance.cs │ │ ├── Rules │ │ │ ├── AssemblyReferenceValidationRule.cs │ │ │ ├── CodeValidationRule.cs │ │ │ ├── DescriptionValidationRule.cs │ │ │ ├── FormatVersionValidationRule.cs │ │ │ ├── LiteralValidationRule.cs │ │ │ ├── NamespaceValidationRule.cs │ │ │ ├── ShortcutValidationRule.cs │ │ │ ├── SnippetTypeValidationRule.cs │ │ │ └── TitleValidationRule.cs │ │ ├── SnippetValidationContext.cs │ │ ├── SnippetValidationResult.cs │ │ ├── SnippetValidator.cs │ │ └── ValidationRule.cs │ └── docs │ │ └── NuGetReadme.md ├── Snippetica.VisualStudioCode.Vsix.Dev │ ├── .gitignore │ ├── Snippetica.CSharp.Dev │ │ └── package │ │ │ ├── .vscode │ │ │ └── launch.json │ │ │ ├── CHANGELOG.md │ │ │ ├── LICENSE.txt │ │ │ ├── README.md │ │ │ ├── images │ │ │ └── icon.png │ │ │ └── package.json │ ├── Snippetica.Cpp.Dev │ │ └── package │ │ │ ├── .vscode │ │ │ └── launch.json │ │ │ ├── CHANGELOG.md │ │ │ ├── LICENSE.txt │ │ │ ├── README.md │ │ │ ├── images │ │ │ └── icon.png │ │ │ └── package.json │ ├── Snippetica.Html.Dev │ │ └── package │ │ │ ├── .vscode │ │ │ └── launch.json │ │ │ ├── CHANGELOG.md │ │ │ ├── LICENSE.txt │ │ │ ├── README.md │ │ │ ├── images │ │ │ └── icon.png │ │ │ └── package.json │ ├── Snippetica.Markdown.Dev │ │ └── package │ │ │ ├── .vscode │ │ │ └── launch.json │ │ │ ├── CHANGELOG.md │ │ │ ├── LICENSE.txt │ │ │ ├── README.md │ │ │ ├── images │ │ │ └── icon.png │ │ │ └── package.json │ ├── Snippetica.VisualBasic.Dev │ │ └── package │ │ │ ├── .vscode │ │ │ └── launch.json │ │ │ ├── CHANGELOG.md │ │ │ ├── LICENSE.txt │ │ │ ├── README.md │ │ │ ├── images │ │ │ └── icon.png │ │ │ └── package.json │ ├── Snippetica.VisualStudioCode.Dev.projitems │ └── Snippetica.VisualStudioCode.Vsix.Dev.shproj ├── Snippetica.VisualStudioCode.Vsix │ ├── .gitignore │ ├── Snippetica.CSharp │ │ └── package │ │ │ ├── .vscode │ │ │ └── launch.json │ │ │ ├── CHANGELOG.md │ │ │ ├── LICENSE.txt │ │ │ ├── README.md │ │ │ ├── images │ │ │ └── icon.png │ │ │ └── package.json │ ├── Snippetica.Cpp │ │ └── package │ │ │ ├── .vscode │ │ │ └── launch.json │ │ │ ├── CHANGELOG.md │ │ │ ├── LICENSE.txt │ │ │ ├── README.md │ │ │ ├── images │ │ │ └── icon.png │ │ │ └── package.json │ ├── Snippetica.Html │ │ └── package │ │ │ ├── .vscode │ │ │ └── launch.json │ │ │ ├── CHANGELOG.md │ │ │ ├── LICENSE.txt │ │ │ ├── README.md │ │ │ ├── images │ │ │ └── icon.png │ │ │ └── package.json │ ├── Snippetica.Json │ │ └── package │ │ │ ├── .vscode │ │ │ └── launch.json │ │ │ ├── CHANGELOG.md │ │ │ ├── LICENSE.txt │ │ │ ├── README.md │ │ │ ├── images │ │ │ └── icon.png │ │ │ └── package.json │ ├── Snippetica.Markdown │ │ └── package │ │ │ ├── .vscode │ │ │ └── launch.json │ │ │ ├── CHANGELOG.md │ │ │ ├── LICENSE.txt │ │ │ ├── README.md │ │ │ ├── images │ │ │ └── icon.png │ │ │ ├── package.json │ │ │ └── snippetica-markdown-0.6.0.vsix │ ├── Snippetica.VisualBasic │ │ └── package │ │ │ ├── .vscode │ │ │ └── launch.json │ │ │ ├── CHANGELOG.md │ │ │ ├── LICENSE.txt │ │ │ ├── README.md │ │ │ ├── images │ │ │ └── icon.png │ │ │ └── package.json │ ├── Snippetica.VisualStudioCode.Vsix.shproj │ ├── Snippetica.VisualStudioCode.projitems │ └── Snippetica.Xml │ │ └── package │ │ ├── .vscode │ │ └── launch.json │ │ ├── CHANGELOG.md │ │ ├── LICENSE.txt │ │ ├── README.md │ │ ├── images │ │ └── icon.png │ │ └── package.json └── Snippetica.sln └── tools ├── build.cmd ├── build.debug.cmd ├── copy_icon_to_vscode_package.ps1 ├── delete_snippets.ps1 ├── generate_docs.ps1 ├── generate_ref_docs.ps1 ├── generate_snippets.ps1 └── roslynator_fix.cmd /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | github: JosefPihrt 2 | -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "dotnet.defaultSolution": "src/Snippetica.sln" 3 | } -------------------------------------------------------------------------------- /CODEOWNERS: -------------------------------------------------------------------------------- 1 | * @josefpihrt -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- 1 | Copyright (c) Josef Pihrt. All rights reserved. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use 4 | these files except in compliance with the License. You may obtain a copy of the 5 | License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software distributed 10 | under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR 11 | CONDITIONS OF ANY KIND, either express or implied. See the License for the 12 | specific language governing permissions and limitations under the License. -------------------------------------------------------------------------------- /docs/README.md: -------------------------------------------------------------------------------- 1 | # https://josefpihrt.github.io/docs/snippetica -------------------------------------------------------------------------------- /images/snippetica-logo-large.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/josefpihrt/snippetica/15e5375d456d3f71016368b001766c797a04782b/images/snippetica-logo-large.png -------------------------------------------------------------------------------- /images/snippetica-logo-small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/josefpihrt/snippetica/15e5375d456d3f71016368b001766c797a04782b/images/snippetica-logo-small.png -------------------------------------------------------------------------------- /images/snippetica.ai: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/josefpihrt/snippetica/15e5375d456d3f71016368b001766c797a04782b/images/snippetica.ai -------------------------------------------------------------------------------- /src/.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "dotnet.defaultSolution": "Snippetica.sln" 3 | } -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Common/EnvironmentKind.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Josef Pihrt. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. 2 | 3 | namespace Snippetica; 4 | 5 | public enum EnvironmentKind 6 | { 7 | VisualStudio, 8 | VisualStudioCode, 9 | } 10 | -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Common/KeywordDefinitionCollection.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Josef Pihrt. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. 2 | 3 | using System.Collections.ObjectModel; 4 | 5 | namespace Snippetica; 6 | 7 | public class KeywordDefinitionCollection : KeyedCollection 8 | { 9 | protected override string GetKeyForItem(KeywordDefinition item) 10 | { 11 | return item.Name; 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Common/KnownNames.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Josef Pihrt. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. 2 | 3 | namespace Snippetica; 4 | 5 | public static class KnownNames 6 | { 7 | public const string AutoGeneration = "AutoGeneration"; 8 | public const string Dev = "Dev"; 9 | public const string DevSuffix = "." + Dev; 10 | } 11 | -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Common/ModifierDefinition.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Josef Pihrt. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. 2 | 3 | using System.Collections.Generic; 4 | 5 | namespace Snippetica; 6 | 7 | public class ModifierDefinition 8 | { 9 | public string Name { get; init; } 10 | public string Keyword { get; init; } 11 | public string Shortcut { get; init; } 12 | public List Tags { get; init; } = new(); 13 | public ModifierKind Kind { get; init; } 14 | } 15 | -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Common/ModifierDefinitionCollection.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Josef Pihrt. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. 2 | 3 | using System.Collections.ObjectModel; 4 | 5 | namespace Snippetica; 6 | 7 | public class ModifierDefinitionCollection : KeyedCollection 8 | { 9 | protected override string GetKeyForItem(ModifierDefinition item) 10 | { 11 | return item.Name; 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Common/ModifierKind.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Josef Pihrt. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. 2 | 3 | namespace Snippetica; 4 | 5 | public enum ModifierKind 6 | { 7 | Public, 8 | Internal, 9 | Protected, 10 | Private, 11 | Virtual, 12 | Abstract, 13 | Static, 14 | Inline, 15 | Const, 16 | ConstExpr, 17 | } 18 | -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Common/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Josef Pihrt. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. 2 | 3 | using System.Runtime.InteropServices; 4 | 5 | // Setting ComVisible to false makes the types in this assembly not visible 6 | // to COM components. If you need to access a type in this assembly from 7 | // COM, set the ComVisible attribute to true on that type. 8 | [assembly: ComVisible(false)] 9 | 10 | // The following GUID is for the ID of the typelib if this project is exposed to COM 11 | [assembly: Guid("ea986e08-dd26-43ea-94f0-8d2f70d4a17f")] 12 | // [assembly: AssemblyFileVersion("1.0.0.0")] 13 | -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Common/ShortcutInfo.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Josef Pihrt. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. 2 | 3 | using System.Collections.Generic; 4 | using Snippetica.VisualStudio; 5 | 6 | namespace Snippetica; 7 | 8 | public class ShortcutInfo 9 | { 10 | public string Value { get; set; } 11 | 12 | public string Description { get; set; } 13 | 14 | public string Comment { get; set; } 15 | 16 | public ShortcutKind Kind { get; set; } 17 | 18 | public List Languages { get; set; } 19 | 20 | public List Environments { get; set; } 21 | } 22 | -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Common/ShortcutKind.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Josef Pihrt. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. 2 | 3 | namespace Snippetica; 4 | 5 | public enum ShortcutKind 6 | { 7 | None, 8 | MemberDeclaration, 9 | DeclarationDefinition, 10 | Modifier, 11 | Specifier, 12 | Statement, 13 | Operator, 14 | Keyword, 15 | Type, 16 | Other, 17 | } 18 | -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Common/Snippetica.CodeGeneration.Common.csproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | Snippetica.CodeGeneration 5 | Snippetica.CodeGeneration.Common 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Common/TagInfo.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Josef Pihrt. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. 2 | 3 | namespace Snippetica; 4 | 5 | public readonly struct TagInfo 6 | { 7 | public static TagInfo Default { get; } = new(); 8 | 9 | internal TagInfo(string name, string value, int keywordIndex) 10 | { 11 | Name = name; 12 | Value = value; 13 | KeywordIndex = keywordIndex; 14 | } 15 | 16 | public string Name { get; } 17 | 18 | public string Value { get; } 19 | 20 | public int KeywordIndex { get; } 21 | 22 | public bool Success 23 | { 24 | get 25 | { 26 | return Name is not null 27 | && Value is not null; 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Common/TypeDefinitionCollection.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Josef Pihrt. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. 2 | 3 | using System.Collections.ObjectModel; 4 | 5 | namespace Snippetica; 6 | 7 | public class TypeDefinitionCollection : KeyedCollection 8 | { 9 | protected override string GetKeyForItem(TypeDefinition item) 10 | { 11 | return item.Name; 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Common/Validations/RegexHelper.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Josef Pihrt. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. 2 | 3 | using System.Text.RegularExpressions; 4 | 5 | namespace Snippetica.Validations; 6 | 7 | public static class RegexHelper 8 | { 9 | public static readonly Regex InvalidLeadingSpaces = new(@"(?m:^)(?:\ {2})+\ (?:[^ ]|\z)[^\r\n]*"); 10 | 11 | public static readonly Regex TrimEnd = new(@"\ +(?=(?:\r?\n)|\z)"); 12 | } 13 | -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Common/Xml/XAttributeExtensions.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Josef Pihrt. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. 2 | 3 | using System.Xml.Linq; 4 | 5 | namespace Snippetica.Xml; 6 | 7 | public static class XAttributeExtensions 8 | { 9 | public static string LocalName(this XAttribute attribute) 10 | { 11 | return attribute.Name.LocalName; 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Common/Xml/XElementExtensions.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Josef Pihrt. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. 2 | 3 | using System.Xml.Linq; 4 | 5 | namespace Snippetica.Xml; 6 | 7 | public static class XElementExtensions 8 | { 9 | public static string LocalName(this XElement element) 10 | { 11 | return element.Name.LocalName; 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.DocumentationGenerator/Properties/launchSettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "profiles": { 3 | "DocumentationGenerator": { 4 | "commandName": "Project", 5 | "commandLineArgs": "../../../.. ../../../../../tools/build ../../../../Snippetica.CodeGeneration.Metadata/data" 6 | } 7 | } 8 | } -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Data/html.md: -------------------------------------------------------------------------------- 1 | * Snippet can be inserted by providing full name of an element (for example **div**). 2 | * If you want to provide element's content right during snippet insertion you can do it by appending **x** to the element name (for example **divx**). -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Data/xaml.md: -------------------------------------------------------------------------------- 1 | * Snippet can be inserted by providing full name of an element (for example **dockpanel** for **DockPanel**). 2 | * Snippet can be also inserted by providing first and last letter of each part of the element name (for example **dkpl** for **D**oc**kP**ane**l**). -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Josef Pihrt. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. 2 | 3 | using System.Runtime.InteropServices; 4 | 5 | // Setting ComVisible to false makes the types in this assembly not visible 6 | // to COM components. If you need to access a type in this assembly from 7 | // COM, set the ComVisible attribute to true on that type. 8 | [assembly: ComVisible(false)] 9 | //[assembly: AssemblyFileVersion("1.0.0.0")] 10 | -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Braces.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
4 | braces 5 | b 6 | braces 7 | Josef Pihrt 8 | 9 | Expansion 10 | SurroundsWith 11 | 12 |
13 | 14 | 17 | 18 |
-------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/DateTimeOffsetType.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
4 | DateTimeOffset type 5 | dto 6 | DateTimeOffset type 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
12 | 13 | 14 | 15 | System 16 | 17 | 18 | 19 | 20 |
-------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/DateTimeType.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
4 | DateTime type 5 | dt 6 | DateTime type 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
12 | 13 | 14 | 15 | System 16 | 17 | 18 | 19 | 20 |
-------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/DefaultKeyword.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
4 | default keyword 5 | d 6 | default keyword 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
12 | 13 | 14 | 15 |
-------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/BreakStatement.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
4 | break statement 5 | br 6 | break statement 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
12 | 13 | 14 | 15 |
-------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/OverrideModifier.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
4 | override modifier 5 | ov 6 | override modifier 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
12 | 13 | 14 | 15 |
-------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/ReturnAwait.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
4 | return await 5 | ra 6 | return await 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
12 | 13 | 14 | 15 |
-------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/ReturnDefault.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
4 | return default 5 | red 6 | return default statement 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
12 | 13 | 14 | 15 |
-------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/ReturnNew.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
4 | return new 5 | rn 6 | return new 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
12 | 13 | 14 | 15 |
-------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/ThrowStatement.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
4 | throw statement 5 | th 6 | throw statement 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
12 | 13 | 14 | 15 |
-------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/TimeSpan.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
4 | TimeSpan type 5 | ts 6 | TimeSpan type 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
12 | 13 | 14 | 15 | System 16 | 17 | 18 | 19 | 20 |
-------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/YieldReturnNew.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
4 | yield return new 5 | yrn 6 | yield return new 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
12 | 13 | 14 | 15 |
-------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Else.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
4 | else clause 5 | e 6 | else clause 7 | Josef Pihrt 8 | 9 | Expansion 10 | SurroundsWith 11 | 12 |
13 | 14 | 17 | 18 |
-------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Finally.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
4 | finally clause 5 | finally 6 | finally clause 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
12 | 13 | 16 | 17 |
-------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/KeyValuePair.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
4 | KeyValuePair type 5 | kvp 6 | KeyValuePair type 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
12 | 13 | 14 | 15 | System.Collections.Generic 16 | 17 | 18 | 19 | 20 |
-------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/KeyValuePairCreate.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
4 | KeyValuePair.Create method 5 | kvpc 6 | KeyValuePair.Create method 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
12 | 13 | 14 | 15 | System.Collections.Generic 16 | 17 | 18 | 19 | 20 |
-------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/LambdaExpressionWithoutParameters.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
4 | lambda expression without parameters 5 | l0 6 | lambda expression without parameters 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
12 | 13 | $end$]]> 14 | 15 |
-------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/NameOfOperator.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
4 | nameof operator 5 | no 6 | nameof operator 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
12 | 13 | 14 | 15 |
-------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/ObjectKeyword.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
4 | object keyword 5 | o 6 | object keyword 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
12 | 13 | 14 | 15 |
-------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/ReturnFalse.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
4 | return false 5 | ref 6 | return false statement 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
12 | 13 | 14 | 15 |
-------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/ReturnKeyword.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
4 | return keyword 5 | r 6 | return keyword 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
12 | 13 | 14 | 15 |
-------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/ReturnNull.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
4 | return null 5 | ren 6 | return null statement 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
12 | 13 | 14 | 15 |
-------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/ReturnTrue.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
4 | return true 5 | ret 6 | return true statement 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
12 | 13 | 14 | 15 |
-------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/StringKeyword.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
4 | string keyword 5 | s 6 | string keyword 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
12 | 13 | 14 | 15 |
-------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/ThrowNew.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
4 | - throw new 5 | thn 6 | throw new 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 | 12 | Meta-NonUniqueShortcut 13 | Meta-TitleStartsWithShortcut 14 | 15 |
16 | 17 | 18 | 19 |
-------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/TodoComment.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
4 | TODO comment 5 | td 6 | TODO comment 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
12 | 13 | 14 | 15 |
-------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/TryFinally.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
4 | try-finally 5 | tf 6 | try-finally statement with 7 | Josef Pihrt 8 | 9 | Expansion 10 | SurroundsWith 11 | 12 |
13 | 14 | 19 | 20 |
-------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/TypeOfOperator.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
4 | typeof operator 5 | to 6 | typeof operator 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
12 | 13 | 14 | 15 |
-------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/UsingStatic.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
4 | using static directive 5 | us 6 | using static directive 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
12 | 13 | 14 | 15 |
-------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/YieldBreak.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
4 | yield break statement 5 | yb 6 | yield break statement 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
12 | 13 | 14 | 15 |
-------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/YieldReturn.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
4 | yield return statement 5 | yr 6 | yield return statement 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
12 | 13 | 14 | 15 |
-------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.CodeGeneration.Metadata.csproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | Snippetica.CodeGeneration 5 | Snippetica.CodeGeneration.Metadata 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Cpp/Braces.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
4 | braces 5 | b 6 | braces 7 | Josef Pihrt 8 | 9 | Expansion 10 | SurroundsWith 11 | 12 |
13 | 14 | 17 | 18 |
-------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Cpp/Dev/BreakStatement.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
4 | break statement 5 | bs 6 | break statement 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
12 | 13 | 14 | 15 |
-------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Cpp/Dev/ContinueStatement.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
4 | continue statement 5 | cs 6 | continue statement 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
12 | 13 | 14 | 15 |
-------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Cpp/Dev/ReturnFalse.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
4 | return false 5 | rf 6 | return false 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
12 | 13 | 14 | 15 |
-------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Cpp/Dev/ReturnStatement.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
4 | return statement 5 | rs 6 | return statement 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
12 | 13 | 14 | 15 |
-------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Cpp/Dev/ReturnTrue.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
4 | return true 5 | rt 6 | return true 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
12 | 13 | 14 | 15 |
-------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Cpp/Dev/StringType.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
4 | string type 5 | s 6 | string type 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
12 | 13 | 14 | 15 |
-------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Cpp/Else.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
4 | else 5 | e 6 | else statement 7 | Josef Pihrt 8 | 9 | Expansion 10 | SurroundsWith 11 | 12 |
13 | 14 | 17 | 18 |
-------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Html/AutoGeneration/address.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
4 | address 5 | address 6 | address 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
12 | 13 | 14 | 15 | content 16 | content 17 | 18 | 19 | $content$$end$]]> 20 | 21 |
-------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Html/AutoGeneration/area.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
4 | area 5 | area 6 | area 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
12 | 13 | 14 | 15 | attribute 16 | attribute="" 17 | 18 | 19 | $end$]]> 20 | 21 |
-------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Html/AutoGeneration/article.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
4 | article 5 | article 6 | article 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
12 | 13 | 14 | 15 | content 16 | content 17 | 18 | 19 | $content$$end$]]> 20 | 21 |
-------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Html/AutoGeneration/aside.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
4 | aside 5 | aside 6 | aside 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
12 | 13 | 14 | 15 | content 16 | content 17 | 18 | 19 | $content$$end$]]> 20 | 21 |
-------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Html/AutoGeneration/b.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
4 | b 5 | b 6 | b 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
12 | 13 | 14 | 15 | content 16 | content 17 | 18 | 19 | $content$$end$]]> 20 | 21 |
-------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Html/AutoGeneration/bdi.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
4 | bdi 5 | bdi 6 | bdi 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
12 | 13 | 14 | 15 | content 16 | content 17 | 18 | 19 | $content$$end$]]> 20 | 21 |
-------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Html/AutoGeneration/body.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
4 | body 5 | body 6 | body 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
12 | 13 | 14 | 15 | content 16 | content 17 | 18 | 19 | $content$$end$]]> 20 | 21 |
-------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Html/AutoGeneration/br.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
4 | br 5 | br 6 | br 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
12 | 13 | $end$]]> 14 | 15 |
-------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Html/AutoGeneration/canvas.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
4 | canvas 5 | canvas 6 | canvas 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
12 | 13 | 14 | 15 | content 16 | content 17 | 18 | 19 | $content$$end$]]> 20 | 21 |
-------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Html/AutoGeneration/caption.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
4 | caption 5 | caption 6 | caption 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
12 | 13 | 14 | 15 | content 16 | content 17 | 18 | 19 | $content$$end$]]> 20 | 21 |
-------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Html/AutoGeneration/cite.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
4 | cite 5 | cite 6 | cite 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
12 | 13 | 14 | 15 | content 16 | content 17 | 18 | 19 | $content$$end$]]> 20 | 21 |
-------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Html/AutoGeneration/code.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
4 | code 5 | code 6 | code 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
12 | 13 | $end$]]> 14 | 15 |
-------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Html/AutoGeneration/col.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
4 | col 5 | col 6 | col 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
12 | 13 | 14 | 15 | attribute 16 | attribute="" 17 | 18 | 19 | $end$]]> 20 | 21 |
-------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Html/AutoGeneration/colgroup.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
4 | colgroup 5 | colgroup 6 | colgroup 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
12 | 13 | 14 | 15 | ]]> 16 | 17 |
-------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Html/AutoGeneration/dd.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
4 | dd 5 | dd 6 | dd 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
12 | 13 | 14 | 15 | content 16 | content 17 | 18 | 19 | $content$$end$]]> 20 | 21 |
-------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Html/AutoGeneration/del.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
4 | del 5 | del 6 | del 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
12 | 13 | 14 | 15 | content 16 | content 17 | 18 | 19 | $content$$end$]]> 20 | 21 |
-------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Html/AutoGeneration/dfn.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
4 | dfn 5 | dfn 6 | dfn 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
12 | 13 | 14 | 15 | content 16 | content 17 | 18 | 19 | $content$$end$]]> 20 | 21 |
-------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Html/AutoGeneration/dialog.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
4 | dialog 5 | dialog 6 | dialog 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
12 | 13 | 14 | 15 | content 16 | content 17 | 18 | 19 | $content$$end$]]> 20 | 21 |
-------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Html/AutoGeneration/div.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
4 | div 5 | div 6 | div 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
12 | 13 | 14 | 15 | content 16 | content 17 | 18 | 19 | $content$$end$]]> 20 | 21 |
-------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Html/AutoGeneration/dl.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
4 | dl 5 | dl 6 | dl 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
12 | 13 | 14 |
$end$
15 |
16 | ]]>
17 |
18 |
-------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Html/AutoGeneration/dt.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
4 | dt 5 | dt 6 | dt 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
12 | 13 | 14 | 15 | content 16 | content 17 | 18 | 19 | $content$$end$]]> 20 | 21 |
-------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Html/AutoGeneration/em.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
4 | em 5 | em 6 | em 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
12 | 13 | 14 | 15 | content 16 | content 17 | 18 | 19 | $content$$end$]]> 20 | 21 |
-------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Html/AutoGeneration/embed.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
4 | embed 5 | embed 6 | embed 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
12 | 13 | 14 | 15 | src 16 | url 17 | 18 | 19 | $end$]]> 20 | 21 |
-------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Html/AutoGeneration/footer.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
4 | footer 5 | footer 6 | footer 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
12 | 13 | 14 | 15 | content 16 | content 17 | 18 | 19 | $content$$end$]]> 20 | 21 |
-------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Html/AutoGeneration/h1.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
4 | h1 5 | h 6 | h 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
12 | 13 | 14 | 15 | content 16 | content 17 | 18 | 19 | $content$$end$]]> 20 | 21 |
-------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Html/AutoGeneration/h2.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
4 | h2 5 | h2 6 | h2 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
12 | 13 | 14 | 15 | content 16 | content 17 | 18 | 19 | $content$$end$]]> 20 | 21 |
-------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Html/AutoGeneration/h3.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
4 | h3 5 | h3 6 | h3 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
12 | 13 | 14 | 15 | content 16 | content 17 | 18 | 19 | $content$$end$]]> 20 | 21 |
-------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Html/AutoGeneration/h4.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
4 | h4 5 | h4 6 | h4 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
12 | 13 | 14 | 15 | content 16 | content 17 | 18 | 19 | $content$$end$]]> 20 | 21 |
-------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Html/AutoGeneration/h5.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
4 | h5 5 | h5 6 | h5 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
12 | 13 | 14 | 15 | content 16 | content 17 | 18 | 19 | $content$$end$]]> 20 | 21 |
-------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Html/AutoGeneration/h6.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
4 | h6 5 | h6 6 | h6 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
12 | 13 | 14 | 15 | content 16 | content 17 | 18 | 19 | $content$$end$]]> 20 | 21 |
-------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Html/AutoGeneration/head.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
4 | head 5 | head 6 | head 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
12 | 13 | 14 | 15 | content 16 | content 17 | 18 | 19 | $content$$end$]]> 20 | 21 |
-------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Html/AutoGeneration/header.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
4 | header 5 | header 6 | header 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
12 | 13 | 14 | 15 | content 16 | content 17 | 18 | 19 | $content$$end$]]> 20 | 21 |
-------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Html/AutoGeneration/hr.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
4 | hr 5 | hr 6 | hr 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
12 | 13 | $end$]]> 14 | 15 |
-------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Html/AutoGeneration/i.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
4 | i 5 | i 6 | i 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
12 | 13 | 14 | 15 | content 16 | content 17 | 18 | 19 | $content$$end$]]> 20 | 21 |
-------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Html/AutoGeneration/ins.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
4 | ins 5 | ins 6 | ins 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
12 | 13 | 14 | 15 | content 16 | content 17 | 18 | 19 | $content$$end$]]> 20 | 21 |
-------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Html/AutoGeneration/kbd.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
4 | kbd 5 | kbd 6 | kbd 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
12 | 13 | 14 | 15 | content 16 | content 17 | 18 | 19 | $content$$end$]]> 20 | 21 |
-------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Html/AutoGeneration/keygen.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
4 | keygen 5 | keygen 6 | keygen 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
12 | 13 | 14 | 15 | attribute 16 | attribute="" 17 | 18 | 19 | $end$]]> 20 | 21 |
-------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Html/AutoGeneration/legend.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
4 | legend 5 | legend 6 | legend 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
12 | 13 | 14 | 15 | content 16 | content 17 | 18 | 19 | $content$$end$]]> 20 | 21 |
-------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Html/AutoGeneration/li.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
4 | li 5 | li 6 | li 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
12 | 13 | 14 | 15 | content 16 | content 17 | 18 | 19 | $content$$end$]]> 20 | 21 |
-------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Html/AutoGeneration/main.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
4 | main 5 | main 6 | main 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
12 | 13 | 14 | 15 | content 16 | content 17 | 18 | 19 | $content$$end$]]> 20 | 21 |
-------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Html/AutoGeneration/map.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
4 | map 5 | map 6 | map 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
12 | 13 | 14 | 15 | name 16 | name 17 | 18 | 19 | 20 | 21 | $end$]]> 22 | 23 |
-------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Html/AutoGeneration/mark.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
4 | mark 5 | mark 6 | mark 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
12 | 13 | 14 | 15 | content 16 | content 17 | 18 | 19 | $content$$end$]]> 20 | 21 |
-------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Html/AutoGeneration/meta.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
4 | meta 5 | meta 6 | meta 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
12 | 13 | 14 | 15 | attribute 16 | attribute="" 17 | 18 | 19 | $end$]]> 20 | 21 |
-------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Html/AutoGeneration/nav.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
4 | nav 5 | nav 6 | nav 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
12 | 13 | 14 | 15 | content 16 | content 17 | 18 | 19 | $content$$end$]]> 20 | 21 |
-------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Html/AutoGeneration/noscript.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
4 | noscript 5 | noscript 6 | noscript 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
12 | 13 | 14 | 15 | content 16 | content 17 | 18 | 19 | $content$$end$]]> 20 | 21 |
-------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Html/AutoGeneration/ol.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
4 | ol 5 | ol 6 | ol 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
12 | 13 | 14 | 15 | content 16 | content 17 | 18 | 19 | 20 |
  • $content$
  • $end$ 21 | ]]>
    22 |
    23 |
    -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Html/AutoGeneration/p.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
    4 | p 5 | p 6 | p 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
    12 | 13 | 14 | 15 | content 16 | content 17 | 18 | 19 | $content$

    $end$]]>
    20 |
    21 |
    -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Html/AutoGeneration/pre.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
    4 | pre 5 | pre 6 | pre 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
    12 | 13 | 14 | 15 | content 16 | content 17 | 18 | 19 | $content$$end$]]> 20 | 21 |
    -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Html/AutoGeneration/q.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
    4 | q 5 | q 6 | q 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
    12 | 13 | 14 | 15 | content 16 | content 17 | 18 | 19 | $content$$end$]]> 20 | 21 |
    -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Html/AutoGeneration/rp.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
    4 | rp 5 | rp 6 | rp 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
    12 | 13 | 14 | 15 | content 16 | content 17 | 18 | 19 | $content$$end$]]> 20 | 21 |
    -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Html/AutoGeneration/rt.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
    4 | rt 5 | rt 6 | rt 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
    12 | 13 | 14 | 15 | content 16 | content 17 | 18 | 19 | $content$$end$]]> 20 | 21 |
    -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Html/AutoGeneration/ruby.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
    4 | ruby 5 | ruby 6 | ruby 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
    12 | 13 | 14 | 15 | content 16 | content 17 | 18 | 19 | $content$$end$]]> 20 | 21 |
    -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Html/AutoGeneration/s.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
    4 | s 5 | s 6 | s 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
    12 | 13 | 14 | 15 | content 16 | content 17 | 18 | 19 | $content$$end$]]> 20 | 21 |
    -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Html/AutoGeneration/samp.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
    4 | samp 5 | samp 6 | samp 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
    12 | 13 | 14 | 15 | content 16 | content 17 | 18 | 19 | $content$$end$]]> 20 | 21 |
    -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Html/AutoGeneration/script.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
    4 | script 5 | script 6 | script 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
    12 | 13 | 14 | 15 | content 16 | content 17 | 18 | 19 | $content$$end$]]> 20 | 21 |
    -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Html/AutoGeneration/section.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
    4 | section 5 | section 6 | section 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
    12 | 13 | 14 | 15 | content 16 | content 17 | 18 | 19 | $content$$end$]]> 20 | 21 |
    -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Html/AutoGeneration/small.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
    4 | small 5 | small 6 | small 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
    12 | 13 | 14 | 15 | content 16 | content 17 | 18 | 19 | $content$$end$]]> 20 | 21 |
    -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Html/AutoGeneration/span.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
    4 | span 5 | span 6 | span 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
    12 | 13 | 14 | 15 | content 16 | content 17 | 18 | 19 | $content$$end$]]> 20 | 21 |
    -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Html/AutoGeneration/strong.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
    4 | strong 5 | strong 6 | strong 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
    12 | 13 | 14 | 15 | content 16 | content 17 | 18 | 19 | $content$$end$]]> 20 | 21 |
    -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Html/AutoGeneration/style.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
    4 | style 5 | style 6 | style 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
    12 | 13 | 14 | 15 | content 16 | content 17 | 18 | 19 | $content$$end$]]> 20 | 21 |
    -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Html/AutoGeneration/sub.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
    4 | sub 5 | sub 6 | sub 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
    12 | 13 | 14 | 15 | content 16 | content 17 | 18 | 19 | $content$$end$]]> 20 | 21 |
    -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Html/AutoGeneration/summary.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
    4 | summary 5 | summary 6 | summary 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
    12 | 13 | 14 | 15 | content 16 | content 17 | 18 | 19 | $content$$end$]]> 20 | 21 |
    -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Html/AutoGeneration/sup.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
    4 | sup 5 | sup 6 | sup 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
    12 | 13 | 14 | 15 | content 16 | content 17 | 18 | 19 | $content$$end$]]> 20 | 21 |
    -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Html/AutoGeneration/table.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
    4 | table 5 | table 6 | table 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
    12 | 13 | 14 | $end$ 15 | 16 | 17 | 18 | 19 | 20 | 21 | ]]> 22 | 23 |
    -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Html/AutoGeneration/tbody.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
    4 | tbody 5 | tbody 6 | tbody 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
    12 | 13 | 14 | 15 | content 16 | content 17 | 18 | 19 | $content$$end$]]> 20 | 21 |
    -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Html/AutoGeneration/td.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
    4 | td 5 | td 6 | td 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
    12 | 13 | 14 | 15 | content 16 | content 17 | 18 | 19 | $content$$end$]]> 20 | 21 |
    -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Html/AutoGeneration/textarea.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
    4 | textarea 5 | textarea 6 | textarea 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
    12 | 13 | 14 | 15 | content 16 | content 17 | 18 | 19 | $content$$end$]]> 20 | 21 |
    -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Html/AutoGeneration/tfoot.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
    4 | tfoot 5 | tfoot 6 | tfoot 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
    12 | 13 | 14 | 15 | content 16 | content 17 | 18 | 19 | $content$$end$]]> 20 | 21 |
    -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Html/AutoGeneration/th.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
    4 | th 5 | th 6 | th 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
    12 | 13 | 14 | 15 | content 16 | content 17 | 18 | 19 | $content$$end$]]> 20 | 21 |
    -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Html/AutoGeneration/thead.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
    4 | thead 5 | thead 6 | thead 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
    12 | 13 | 14 | 15 | content 16 | content 17 | 18 | 19 | $content$$end$]]> 20 | 21 |
    -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Html/AutoGeneration/title.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
    4 | title 5 | title 6 | title 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
    12 | 13 | 14 | 15 | content 16 | content 17 | 18 | 19 | $content$$end$]]> 20 | 21 |
    -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Html/AutoGeneration/tr.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
    4 | tr 5 | tr 6 | tr 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
    12 | 13 | 14 | 15 | content 16 | content 17 | 18 | 19 | $content$$end$]]> 20 | 21 |
    -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Html/AutoGeneration/track.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
    4 | track 5 | track 6 | track 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
    12 | 13 | 14 | 15 | src 16 | url 17 | 18 | 19 | $end$]]> 20 | 21 |
    -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Html/AutoGeneration/u.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
    4 | u 5 | u 6 | u 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
    12 | 13 | 14 | 15 | content 16 | content 17 | 18 | 19 | $content$$end$]]> 20 | 21 |
    -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Html/AutoGeneration/ul.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
    4 | ul 5 | ul 6 | ul 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
    12 | 13 | 14 | 15 | content 16 | content 17 | 18 | 19 | 20 |
  • $content$
  • $end$ 21 | ]]>
    22 |
    23 |
    -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Html/AutoGeneration/var.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
    4 | var 5 | var 6 | var 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
    12 | 13 | 14 | 15 | content 16 | content 17 | 18 | 19 | $content$$end$]]> 20 | 21 |
    -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Html/AutoGeneration/wbr.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
    4 | wbr 5 | wbr 6 | wbr 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
    12 | 13 | $end$]]> 14 | 15 |
    -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Html/Dev/meta_viewport.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
    4 | meta viewport 5 | metavp 6 | meta viewport 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
    12 | 13 | $end$]]> 14 | 15 |
    -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Json/Array.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
    4 | array 5 | a 6 | array 7 | Josef Pihrt 8 | 9 | Expansion 10 | SurroundsWith 11 | 12 |
    13 | 14 | 15 | 16 |
    -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Json/FalseValue.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
    4 | false value 5 | f 6 | false value 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
    12 | 13 | 14 | 15 |
    -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Json/NullValue.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
    4 | null value 5 | n 6 | null value 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
    12 | 13 | 14 | 15 |
    -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Json/Object.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
    4 | object 5 | o 6 | object 7 | Josef Pihrt 8 | 9 | Expansion 10 | SurroundsWith 11 | 12 |
    13 | 14 | 15 | 16 |
    -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Json/Pair.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
    4 | key/value pair 5 | p 6 | key/value pair 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
    12 | 13 | 14 | 15 | name 16 | Name 17 | name 18 | 19 | 20 | 21 | 22 |
    -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Json/StringValue.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
    4 | string value 5 | s 6 | string value 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
    12 | 13 | 14 | 15 | value 16 | Value 17 | x 18 | 19 | 20 | 21 | 22 |
    -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Json/TrueValue.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
    4 | true value 5 | t 6 | true value 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
    12 | 13 | 14 | 15 |
    -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Markdown/Bold.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
    4 | bold 5 | b 6 | bold 7 | Josef Pihrt 8 | 9 | Expansion 10 | SurroundsWith 11 | 12 |
    13 | 14 | 15 | 16 | content 17 | x 18 | 19 | 20 | 21 | 22 |
    -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Markdown/Header1.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
    4 | header 1 5 | h 6 | header 1 7 | Josef Pihrt 8 | 9 | Expansion 10 | SurroundsWith 11 | 12 |
    13 | 14 | 15 | 16 |
    -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Markdown/Header2.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
    4 | header 2 5 | h2 6 | header 2 7 | Josef Pihrt 8 | 9 | Expansion 10 | SurroundsWith 11 | 12 | 13 | Meta-AlternativeShortcut hh 14 | 15 |
    16 | 17 | 18 | 19 |
    -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Markdown/Header3.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
    4 | header 3 5 | h3 6 | header 3 7 | Josef Pihrt 8 | 9 | Expansion 10 | SurroundsWith 11 | 12 | 13 | Meta-AlternativeShortcut hhh 14 | 15 |
    16 | 17 | 18 | 19 |
    -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Markdown/Header4.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
    4 | header 4 5 | h4 6 | header 4 7 | Josef Pihrt 8 | 9 | Expansion 10 | SurroundsWith 11 | 12 |
    13 | 14 | 15 | 16 |
    -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Markdown/Header5.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
    4 | header 5 5 | h5 6 | header 5 7 | Josef Pihrt 8 | 9 | Expansion 10 | SurroundsWith 11 | 12 |
    13 | 14 | 15 | 16 |
    -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Markdown/Header6.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
    4 | header 6 5 | h6 6 | header 6 7 | Josef Pihrt 8 | 9 | Expansion 10 | SurroundsWith 11 | 12 |
    13 | 14 | 15 | 16 |
    -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Markdown/HorizontalRule.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
    4 | horizontal rule 5 | hr 6 | horizontal rule 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
    12 | 13 | 14 | 15 |
    -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Markdown/Quote.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
    4 | quote 5 | q 6 | quote 7 | Josef Pihrt 8 | 9 | Expansion 10 | SurroundsWith 11 | 12 |
    13 | 14 | $selected$$end$]]> 15 | 16 |
    -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Markdown/TaskListItem.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
    4 | task list item 5 | tl 6 | task list item 7 | Josef Pihrt 8 | 9 | Expansion 10 | SurroundsWith 11 | 12 |
    13 | 14 | 15 | 16 |
    -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Markdown/UnorderedListItem.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
    4 | unordered list item 5 | ul 6 | unordered list item 7 | Josef Pihrt 8 | 9 | Expansion 10 | SurroundsWith 11 | 12 |
    13 | 14 | 15 | 16 |
    -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Markdown/UnorderedListItemLevel2.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
    4 | unordered list item (level 2) 5 | ul2 6 | unordered list item (level 2) 7 | Josef Pihrt 8 | 9 | Expansion 10 | SurroundsWith 11 | 12 |
    13 | 14 | 15 | 16 |
    -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Markdown/UnorderedListItemLevel3.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
    4 | unordered list item (level 3) 5 | ul3 6 | unordered list item (level 3) 7 | Josef Pihrt 8 | 9 | Expansion 10 | SurroundsWith 11 | 12 |
    13 | 14 | 15 | 16 |
    -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.VisualBasic/DateTimeType.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
    4 | DateTime type 5 | dt 6 | DateTime type 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
    12 | 13 | 14 | 15 | System 16 | 17 | 18 | 19 | 20 |
    -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.VisualBasic/Dev/ThrowStatement.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
    4 | Throw statement 5 | th 6 | Throw statement 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
    12 | 13 | 14 | 15 |
    -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.VisualBasic/Dev/YieldKeyword.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
    4 | Yield keyword 5 | y 6 | Yield keyword 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
    12 | 13 | 14 | 15 |
    -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.VisualBasic/Do.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
    4 | Do statement 5 | do 6 | Do statement 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
    12 | 13 | 16 | 17 |
    -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.VisualBasic/Else.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
    4 | Else clause 5 | e 6 | Else clause 7 | Josef Pihrt 8 | 9 | Expansion 10 | SurroundsWith 11 | 12 |
    13 | 14 | 16 | 17 |
    -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.VisualBasic/GetTypeOperator.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
    4 | GetType 5 | gt 6 | GetType operator 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
    12 | 13 | 14 | 15 |
    -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.VisualBasic/KeyValuePair.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
    4 | KeyValuePair type 5 | kvp 6 | KeyValuePair type 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
    12 | 13 | 14 | 15 | System.Collections.Generic 16 | 17 | 18 | 19 | 20 |
    -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.VisualBasic/KeyValuePairCreate.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
    4 | KeyValuePair.Create method 5 | kvpc 6 | KeyValuePair.Create method 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
    12 | 13 | 14 | 15 | System.Collections.Generic 16 | 17 | 18 | 19 | 20 |
    -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.VisualBasic/LambdaExpressionWithoutParameters.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
    4 | Lambda expression without parameters 5 | l0 6 | Lambda expression without parameters 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
    12 | 13 | 14 | 15 |
    -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.VisualBasic/NameOfOperator.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
    4 | NameOf operator 5 | no 6 | Nameof operator 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
    12 | 13 | 14 | 15 |
    -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.VisualBasic/ObjectKeyword.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
    4 | Object keyword 5 | o 6 | Object keyword 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
    12 | 13 | 14 | 15 |
    -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.VisualBasic/ReturnFalse.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
    4 | Return False 5 | ref 6 | Return False 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
    12 | 13 | 14 | 15 |
    -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.VisualBasic/ReturnKeyword.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
    4 | Return keyword 5 | r 6 | Return keyword 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
    12 | 13 | 14 | 15 |
    -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.VisualBasic/ReturnNothing.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
    4 | Return Nothing 5 | ren 6 | Return Nothing 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
    12 | 13 | 14 | 15 |
    -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.VisualBasic/ReturnTrue.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
    4 | Return True 5 | ret 6 | Return True 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
    12 | 13 | 14 | 15 |
    -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.VisualBasic/StaticConstructor.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
    4 | static constructor 5 | sco 6 | static constructor 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
    12 | 13 | 16 | 17 |
    -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.VisualBasic/StringKeyword.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
    4 | String keyword 5 | s 6 | String keyword 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
    12 | 13 | 14 | 15 |
    -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.VisualBasic/ThrowNew.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
    4 | - Throw New 5 | thn 6 | Throw New 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 | 12 | Meta-NonUniqueShortcut 13 | Meta-TitleStartsWithShortcut 14 | 15 |
    16 | 17 | 18 | 19 |
    -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.VisualBasic/TodoComment.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
    4 | TODO comment 5 | td 6 | TODO comment 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
    12 | 13 | 14 | 15 |
    -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.VisualBasic/TryFinally.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
    4 | Try-Finally 5 | tf 6 | Try-Finally statement 7 | Josef Pihrt 8 | 9 | Expansion 10 | SurroundsWith 11 | 12 |
    13 | 14 | 18 | 19 |
    -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Xaml/AutoGeneration/Button.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
    4 | Button 5 | Button 6 | Button 7 | Josef Pihrt 8 | 9 | Expansion 10 | SurroundsWith 11 | 12 | 13 | Meta-GenerateAlternativeShortcut 14 | 15 |
    16 | 17 | $selected$$end$]]> 18 | 19 |
    -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Xaml/Dev/Canvas.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
    4 | c Canvas 5 | p 6 | Canvas 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 | 12 | Meta-NonUniqueShortcut 13 | Meta-TitleStartsWithShortcut 14 | 15 |
    16 | 17 | $end$]]> 18 | 19 |
    -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Xaml/Dev/DockPanel.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
    4 | dp DockPanel 5 | p 6 | DockPanel 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 | 12 | Meta-NonUniqueShortcut 13 | Meta-TitleStartsWithShortcut 14 | 15 |
    16 | 17 | $end$]]> 18 | 19 |
    -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Xaml/Dev/ListBoxItem.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
    4 | ListBoxItem 5 | ltbxim 6 | ListBoxItem 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
    12 | 13 | $end$]]> 14 | 15 |
    -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Xaml/Dev/StackPanel.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
    4 | sp StackPanel 5 | p 6 | StackPanel 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 | 12 | Meta-NonUniqueShortcut 13 | Meta-TitleStartsWithShortcut 14 | 15 |
    16 | 17 | $end$]]> 18 | 19 |
    -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Xaml/Dev/ToolBarTray.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
    4 | ToolBarTray 5 | tlbrty 6 | ToolBarTray 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 |
    12 | 13 | $end$ 14 | 15 | 16 | ]]> 17 | 18 |
    -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Xaml/Dev/UniformGrid.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
    4 | ug UniformGrid 5 | p 6 | UniformGrid 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 | 12 | Meta-NonUniqueShortcut 13 | Meta-TitleStartsWithShortcut 14 | 15 |
    16 | 17 | $end$]]> 18 | 19 |
    -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.Metadata/Snippetica.Xaml/Dev/WrapPanel.snippet: -------------------------------------------------------------------------------- 1 |  2 | 3 |
    4 | wp WrapPanel 5 | p 6 | WrapPanel 7 | Josef Pihrt 8 | 9 | Expansion 10 | 11 | 12 | Meta-NonUniqueShortcut 13 | Meta-TitleStartsWithShortcut 14 | 15 |
    16 | 17 | $end$]]> 18 | 19 |
    -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.SnippetGenerator/Properties/launchSettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "profiles": { 3 | "SnippetGenerator": { 4 | "commandName": "Project", 5 | "commandLineArgs": "../../../.. ../../../../Snippetica.CodeGeneration.Metadata/data" 6 | } 7 | } 8 | } -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration.SnippetGenerator/SnippetGenerator.csproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | Exe 4 | Snippetica.CodeGeneration.SnippetGenerator 5 | Snippetica.CodeGeneration.SnippetGenerator 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration/Commands/AbstractCommand.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Josef Pihrt. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. 2 | 3 | namespace Snippetica.CodeGeneration.Commands; 4 | 5 | public class AbstractCommand : ModifierCommand 6 | { 7 | public override CommandKind Kind => CommandKind.AbstractModifier; 8 | 9 | protected override ModifierDefinition GetModifier(LanguageDefinition language) 10 | { 11 | return language.AbstractModifier; 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration/Commands/Command.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Josef Pihrt. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. 2 | 3 | using System.Diagnostics; 4 | 5 | namespace Snippetica.CodeGeneration.Commands; 6 | 7 | [DebuggerDisplay("{Kind}")] 8 | public abstract class Command 9 | { 10 | public abstract void Execute(ExecutionContext context); 11 | 12 | public abstract CommandKind Kind { get; } 13 | 14 | public virtual Command ChildCommand { get; } 15 | } 16 | -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration/Commands/CommandKind.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Josef Pihrt. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. 2 | 3 | namespace Snippetica.CodeGeneration.Commands; 4 | 5 | public enum CommandKind 6 | { 7 | None, 8 | Multi, 9 | Declaration, 10 | Definition, 11 | Initializer, 12 | Type, 13 | Collection, 14 | ConstExprModifier, 15 | ConstModifier, 16 | InlineModifier, 17 | StaticModifier, 18 | VirtualModifier, 19 | AbstractModifier, 20 | AccessModifier, 21 | AlternativeShortcut, 22 | PrefixTitle, 23 | SuffixFileName, 24 | ShortcutToLowercase, 25 | } 26 | -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration/Commands/ConstCommand.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Josef Pihrt. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. 2 | 3 | namespace Snippetica.CodeGeneration.Commands; 4 | 5 | public class ConstCommand : ModifierCommand 6 | { 7 | public override CommandKind Kind => CommandKind.ConstModifier; 8 | 9 | protected override ModifierDefinition GetModifier(LanguageDefinition language) 10 | { 11 | return language.ConstModifier; 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration/Commands/ConstExprCommand.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Josef Pihrt. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. 2 | 3 | namespace Snippetica.CodeGeneration.Commands; 4 | 5 | public class ConstExprCommand : ModifierCommand 6 | { 7 | public override CommandKind Kind => CommandKind.ConstExprModifier; 8 | 9 | protected override ModifierDefinition GetModifier(LanguageDefinition language) 10 | { 11 | return language.ConstExprModifier; 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration/Commands/HtmlWithContentCommand.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Josef Pihrt. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. 2 | 3 | using Snippetica.VisualStudio; 4 | 5 | namespace Snippetica.CodeGeneration.Commands; 6 | 7 | public class HtmlWithContentCommand : SnippetCommand 8 | { 9 | public override CommandKind Kind => CommandKind.None; 10 | 11 | protected override void Execute(ExecutionContext context, Snippet snippet) 12 | { 13 | snippet.SuffixTitle(" (with content)"); 14 | snippet.SuffixDescription(" (with content)"); 15 | snippet.SuffixShortcut(XmlSnippetGenerator.ContentShortcut); 16 | snippet.SuffixFileName("_with_content"); 17 | 18 | snippet.AddTag(KnownTags.ExcludeFromDocs); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration/Commands/HtmlWithoutContentCommand.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Josef Pihrt. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. 2 | 3 | using Snippetica.VisualStudio; 4 | 5 | namespace Snippetica.CodeGeneration.Commands; 6 | 7 | public class HtmlWithoutContentCommand : SnippetCommand 8 | { 9 | public override CommandKind Kind => CommandKind.None; 10 | 11 | protected override void Execute(ExecutionContext context, Snippet snippet) 12 | { 13 | snippet.ReplacePlaceholders("end", ""); 14 | snippet.RemoveLiteralAndReplacePlaceholders("content", "$selected$$end$"); 15 | snippet.SnippetTypes |= SnippetTypes.SurroundsWith; 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration/Commands/InlineCommand.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Josef Pihrt. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. 2 | 3 | namespace Snippetica.CodeGeneration.Commands; 4 | 5 | public class InlineCommand : ModifierCommand 6 | { 7 | public override CommandKind Kind => CommandKind.InlineModifier; 8 | 9 | protected override ModifierDefinition GetModifier(LanguageDefinition language) 10 | { 11 | return language.InlineModifier; 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration/Commands/PrefixTitleCommand.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Josef Pihrt. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. 2 | 3 | using Snippetica.VisualStudio; 4 | 5 | namespace Snippetica.CodeGeneration.Commands; 6 | 7 | public class PrefixTitleCommand : SnippetCommand 8 | { 9 | public PrefixTitleCommand(TypeDefinition type) 10 | { 11 | Type = type; 12 | } 13 | 14 | public TypeDefinition Type { get; } 15 | 16 | public override CommandKind Kind => CommandKind.PrefixTitle; 17 | 18 | protected override void Execute(ExecutionContext context, Snippet snippet) 19 | { 20 | snippet.PrefixTitle($"{Type.Shortcut} "); 21 | snippet.AddTag(KnownTags.TitleStartsWithShortcut); 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration/Commands/ShortcutToLowercaseCommand.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Josef Pihrt. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. 2 | 3 | using Snippetica.VisualStudio; 4 | 5 | namespace Snippetica.CodeGeneration.Commands; 6 | 7 | public class ShortcutToLowercaseCommand : SnippetCommand 8 | { 9 | public override CommandKind Kind => CommandKind.ShortcutToLowercase; 10 | 11 | protected override void Execute(ExecutionContext context, Snippet snippet) 12 | { 13 | snippet.Shortcut = snippet.Shortcut.ToLowerInvariant(); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration/Commands/SnippetCommand.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Josef Pihrt. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. 2 | 3 | using System.Collections.ObjectModel; 4 | using Snippetica.VisualStudio; 5 | 6 | namespace Snippetica.CodeGeneration.Commands; 7 | 8 | public abstract class SnippetCommand : Command 9 | { 10 | public override void Execute(ExecutionContext context) 11 | { 12 | Collection snippets = context.Snippets; 13 | 14 | int length = snippets.Count; 15 | 16 | for (int i = 0; i < length; i++) 17 | Execute(context, snippets[i]); 18 | } 19 | 20 | protected abstract void Execute(ExecutionContext context, Snippet snippet); 21 | } 22 | -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration/Commands/StaticCommand.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Josef Pihrt. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. 2 | 3 | namespace Snippetica.CodeGeneration.Commands; 4 | 5 | public class StaticCommand : ModifierCommand 6 | { 7 | public override CommandKind Kind => CommandKind.StaticModifier; 8 | 9 | protected override ModifierDefinition GetModifier(LanguageDefinition language) 10 | { 11 | return language.StaticModifier; 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration/Commands/SuffixFileNameCommand.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Josef Pihrt. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. 2 | 3 | using Snippetica.VisualStudio; 4 | 5 | namespace Snippetica.CodeGeneration.Commands; 6 | 7 | public class SuffixFileNameCommand : SnippetCommand 8 | { 9 | public SuffixFileNameCommand(string suffix) 10 | { 11 | Suffix = suffix; 12 | } 13 | 14 | public string Suffix { get; } 15 | 16 | public override CommandKind Kind => CommandKind.SuffixFileName; 17 | 18 | protected override void Execute(ExecutionContext context, Snippet snippet) 19 | { 20 | snippet.SuffixFileName(Suffix); 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration/Commands/VirtualCommand.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Josef Pihrt. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. 2 | 3 | namespace Snippetica.CodeGeneration.Commands; 4 | 5 | public class VirtualCommand : ModifierCommand 6 | { 7 | public override CommandKind Kind => CommandKind.VirtualModifier; 8 | 9 | protected override ModifierDefinition GetModifier(LanguageDefinition language) 10 | { 11 | return language.VirtualModifier; 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration/EnvironmentExecutionContext.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Josef Pihrt. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. 2 | 3 | using Snippetica.VisualStudio; 4 | 5 | namespace Snippetica.CodeGeneration; 6 | 7 | public class EnvironmentExecutionContext : LanguageExecutionContext 8 | { 9 | public EnvironmentExecutionContext(Snippet snippet, LanguageDefinition language, SnippetEnvironment environment) 10 | : base(snippet, language) 11 | { 12 | Environment = environment; 13 | } 14 | 15 | public SnippetEnvironment Environment { get; } 16 | 17 | public override string WithInitializerSuffix(Snippet snippet) 18 | { 19 | return "x"; 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration/ExecutionContext.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Josef Pihrt. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. 2 | 3 | using System.Collections.ObjectModel; 4 | using Snippetica.VisualStudio; 5 | 6 | namespace Snippetica.CodeGeneration; 7 | 8 | public class ExecutionContext 9 | { 10 | public ExecutionContext(Snippet snippet) 11 | { 12 | Snippets = new Collection() { snippet }; 13 | } 14 | 15 | public bool IsCanceled { get; set; } 16 | 17 | public Collection Snippets { get; } 18 | 19 | public virtual string WithInitializerSuffix(Snippet snippet) 20 | { 21 | return "x"; 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration/Json/Package/BugInfo.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Josef Pihrt. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. 2 | 3 | using Newtonsoft.Json.Linq; 4 | using static Snippetica.CodeGeneration.Json.JsonHelper; 5 | 6 | namespace Snippetica.CodeGeneration.Json.Package; 7 | 8 | public class BugInfo 9 | { 10 | public string Url { get; set; } 11 | 12 | public string Email { get; set; } 13 | 14 | public JProperty ToJProperty() 15 | { 16 | var o = new JObject(); 17 | 18 | AddProperty(o, "url", Url); 19 | AddProperty(o, "email", Email); 20 | 21 | return new JProperty("bugs", o); 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration/Json/Package/RepositoryInfo.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Josef Pihrt. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. 2 | 3 | using Newtonsoft.Json.Linq; 4 | using static Snippetica.CodeGeneration.Json.JsonHelper; 5 | 6 | namespace Snippetica.CodeGeneration.Json.Package; 7 | 8 | public class RepositoryInfo 9 | { 10 | public string Type { get; set; } 11 | 12 | public string Url { get; set; } 13 | 14 | public JProperty ToJProperty() 15 | { 16 | var o = new JObject(); 17 | 18 | AddProperty(o, "type", Type); 19 | AddProperty(o, "url", Url); 20 | 21 | return new JProperty("repository", o); 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration/Json/Package/SnippetInfo.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Josef Pihrt. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. 2 | 3 | namespace Snippetica.CodeGeneration.Json.Package; 4 | 5 | public class SnippetInfo 6 | { 7 | public string Language { get; set; } 8 | 9 | public string Path { get; set; } 10 | } 11 | -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration/LanguageExecutionContext.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Josef Pihrt. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. 2 | 3 | using Snippetica.VisualStudio; 4 | 5 | namespace Snippetica.CodeGeneration; 6 | 7 | public class LanguageExecutionContext : ExecutionContext 8 | { 9 | public LanguageExecutionContext(Snippet snippet, LanguageDefinition language) 10 | : base(snippet) 11 | { 12 | Language = language; 13 | } 14 | 15 | public LanguageDefinition Language { get; } 16 | } 17 | -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration/Placeholders.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Josef Pihrt. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. 2 | 3 | namespace Snippetica.CodeGeneration; 4 | 5 | public static class Placeholders 6 | { 7 | private const string Delimiter = "@"; 8 | 9 | public const string Type = Delimiter + "type" + Delimiter; 10 | public const string OfType = Delimiter + "ofType" + Delimiter; 11 | public const string GenericType = Delimiter + "genericType" + Delimiter; 12 | } 13 | -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Josef Pihrt. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. 2 | 3 | using System.Runtime.InteropServices; 4 | 5 | // Setting ComVisible to false makes the types in this assembly not visible 6 | // to COM components. If you need to access a type in this assembly from 7 | // COM, set the ComVisible attribute to true on that type. 8 | [assembly: ComVisible(false)] 9 | 10 | // The following GUID is for the ID of the typelib if this project is exposed to COM 11 | [assembly: Guid("b53b29d0-8bb3-478d-ad94-863f913e56ce")] 12 | // [assembly: AssemblyFileVersion("1.0.0.0")] 13 | -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration/Snippetica.CodeGeneration.csproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | Snippetica.CodeGeneration 5 | Snippetica.CodeGeneration 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /src/Snippetica.CodeGeneration/StringExtensions.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Josef Pihrt. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. 2 | 3 | using System.Text.RegularExpressions; 4 | 5 | namespace Snippetica.CodeGeneration; 6 | 7 | public static class StringExtensions 8 | { 9 | internal static string Replace( 10 | this string value, 11 | string placeholder, 12 | string replacement, 13 | bool includeWhitespace) 14 | { 15 | if (includeWhitespace) 16 | { 17 | return Regex.Replace(value, $@"\s*{placeholder}\s*", replacement); 18 | } 19 | else 20 | { 21 | return value.Replace(placeholder, replacement); 22 | } 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /src/Snippetica.TestFiles/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Josef Pihrt. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. 2 | 3 | using System.Runtime.InteropServices; 4 | 5 | // Setting ComVisible to false makes the types in this assembly not visible 6 | // to COM components. If you need to access a type in this assembly from 7 | // COM, set the ComVisible attribute to true on that type. 8 | [assembly: ComVisible(false)] 9 | 10 | // The following GUID is for the ID of the typelib if this project is exposed to COM 11 | [assembly: Guid("a8ed9945-2d2b-493c-abb6-e860315eafff")] 12 | //[assembly: AssemblyFileVersion("1.0.0.0")] 13 | -------------------------------------------------------------------------------- /src/Snippetica.TestFiles/TestFiles.csproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | net48 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | MSBuild:Compile 18 | Designer 19 | 20 | 21 | -------------------------------------------------------------------------------- /src/Snippetica.TestFiles/cpp.cpp: -------------------------------------------------------------------------------- 1 |  2 | namespace Namespace 3 | { 4 | class ClassName { 5 | 6 | }; 7 | } -------------------------------------------------------------------------------- /src/Snippetica.TestFiles/cs.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Josef Pihrt. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. 2 | 3 | #pragma warning disable CA1822 4 | 5 | namespace Snippetica.Test; 6 | 7 | public class ClassName 8 | { 9 | public void MethodName() 10 | { 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /src/Snippetica.TestFiles/html.html: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /src/Snippetica.TestFiles/vb.vb: -------------------------------------------------------------------------------- 1 |  2 | Public Class ClassName 3 | 4 | Private Shared Sub MethodName() 5 | 6 | End Sub 7 | 8 | End Class 9 | -------------------------------------------------------------------------------- /src/Snippetica.TestFiles/xaml.xaml: -------------------------------------------------------------------------------- 1 |  2 | 3 | -------------------------------------------------------------------------------- /src/Snippetica.VisualStudio.Vsix.Dev/.gitignore: -------------------------------------------------------------------------------- 1 | Snippetica.*.Dev/ -------------------------------------------------------------------------------- /src/Snippetica.VisualStudio.Vsix.Dev/LICENSE.txt: -------------------------------------------------------------------------------- 1 | Copyright (c) Josef Pihrt. All rights reserved. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use 4 | these files except in compliance with the License. You may obtain a copy of the 5 | License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software distributed 10 | under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR 11 | CONDITIONS OF ANY KIND, either express or implied. See the License for the 12 | specific language governing permissions and limitations under the License. -------------------------------------------------------------------------------- /src/Snippetica.VisualStudio.Vsix.Dev/Snippetica.VisualStudio.Dev.snk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/josefpihrt/snippetica/15e5375d456d3f71016368b001766c797a04782b/src/Snippetica.VisualStudio.Vsix.Dev/Snippetica.VisualStudio.Dev.snk -------------------------------------------------------------------------------- /src/Snippetica.VisualStudio.Vsix.Dev/Snippetica.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/josefpihrt/snippetica/15e5375d456d3f71016368b001766c797a04782b/src/Snippetica.VisualStudio.Vsix.Dev/Snippetica.ico -------------------------------------------------------------------------------- /src/Snippetica.VisualStudio.Vsix.Dev/SnippeticaPreview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/josefpihrt/snippetica/15e5375d456d3f71016368b001766c797a04782b/src/Snippetica.VisualStudio.Vsix.Dev/SnippeticaPreview.png -------------------------------------------------------------------------------- /src/Snippetica.VisualStudio.Vsix.Dev/regedit.pkgdef: -------------------------------------------------------------------------------- 1 | // C# 2 | [$RootKey$\Languages\CodeExpansions\CSharp\Paths] 3 | "Snippetica.CSharp.Dev" = "$PackageFolder$\Snippetica.CSharp.Dev" 4 | 5 | // VB 6 | [$RootKey$\Languages\CodeExpansions\Basic\Paths] 7 | "Snippetica.VisualBasic.Dev" = "$PackageFolder$\Snippetica.VisualBasic.Dev" 8 | 9 | // C++ 10 | [$RootKey$\Languages\CodeExpansions\C/C++\Paths] 11 | "Snippetica.Cpp.Dev" = "$PackageFolder$\Snippetica.Cpp.Dev" 12 | 13 | -------------------------------------------------------------------------------- /src/Snippetica.VisualStudio.Vsix/.gitignore: -------------------------------------------------------------------------------- 1 | Snippetica.*/ -------------------------------------------------------------------------------- /src/Snippetica.VisualStudio.Vsix/LICENSE.txt: -------------------------------------------------------------------------------- 1 | Copyright (c) Josef Pihrt. All rights reserved. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use 4 | these files except in compliance with the License. You may obtain a copy of the 5 | License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software distributed 10 | under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR 11 | CONDITIONS OF ANY KIND, either express or implied. See the License for the 12 | specific language governing permissions and limitations under the License. -------------------------------------------------------------------------------- /src/Snippetica.VisualStudio.Vsix/Overview.md: -------------------------------------------------------------------------------- 1 | # Introduction 2 | 3 | A collection of snippets for C\#, C\+\+, and VB\. 4 | 5 | # Languages 6 | 7 | - [C#](https://josefpihrt.github.io/docs/snippetica/snippets/vs/csharp) 8 | - [Visual Basic](https://josefpihrt.github.io/docs/snippetica/snippets/vs/vb) 9 | - [C++](https://josefpihrt.github.io/docs/snippetica/snippets/vs/cpp) 10 | -------------------------------------------------------------------------------- /src/Snippetica.VisualStudio.Vsix/Snippetica.VisualStudio.snk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/josefpihrt/snippetica/15e5375d456d3f71016368b001766c797a04782b/src/Snippetica.VisualStudio.Vsix/Snippetica.VisualStudio.snk -------------------------------------------------------------------------------- /src/Snippetica.VisualStudio.Vsix/Snippetica.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/josefpihrt/snippetica/15e5375d456d3f71016368b001766c797a04782b/src/Snippetica.VisualStudio.Vsix/Snippetica.ico -------------------------------------------------------------------------------- /src/Snippetica.VisualStudio.Vsix/SnippeticaPreview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/josefpihrt/snippetica/15e5375d456d3f71016368b001766c797a04782b/src/Snippetica.VisualStudio.Vsix/SnippeticaPreview.png -------------------------------------------------------------------------------- /src/Snippetica.VisualStudio.Vsix/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json.schemastore.org/vsix-publish", 3 | "categories": [ "coding", "other" ], 4 | "identity": { 5 | "internalName": "Snippetica" 6 | }, 7 | "overview": "Overview.md", 8 | "priceCategory": "free", 9 | "publisher": "josefpihrt", 10 | "private": false, 11 | "qna": true, 12 | "repo": "https://github.com/josefpihrt/snippetica" 13 | } 14 | -------------------------------------------------------------------------------- /src/Snippetica.VisualStudio.Vsix/regedit.pkgdef: -------------------------------------------------------------------------------- 1 | // C# 2 | [$RootKey$\Languages\CodeExpansions\CSharp\Paths] 3 | "Snippetica.CSharp" = "$PackageFolder$\Snippetica.CSharp" 4 | 5 | // VB 6 | [$RootKey$\Languages\CodeExpansions\Basic\Paths] 7 | "Snippetica.VisualBasic" = "$PackageFolder$\Snippetica.VisualBasic" 8 | 9 | // C++ 10 | [$RootKey$\Languages\CodeExpansions\C/C++\Paths] 11 | "Snippetica.Cpp" = "$PackageFolder$\Snippetica.Cpp" 12 | 13 | -------------------------------------------------------------------------------- /src/Snippetica.VisualStudio/Serialization/CodeSnippetsElement.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Josef Pihrt. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. 2 | 3 | using System.Xml.Serialization; 4 | 5 | #pragma warning disable CA1819 // Properties should not return arrays 6 | 7 | namespace Snippetica.VisualStudio.Serialization; 8 | 9 | /// 10 | /// Intended for internal use only. 11 | /// 12 | [XmlRoot("CodeSnippets")] 13 | public sealed class CodeSnippetsElement 14 | { 15 | /// 16 | /// Gets or sets array of CodeSnippet elements. 17 | /// 18 | [XmlElement("CodeSnippet")] 19 | public CodeSnippetElement[]? Snippets { get; set; } 20 | } 21 | -------------------------------------------------------------------------------- /src/Snippetica.VisualStudio/Serialization/ImportElement.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Josef Pihrt. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. 2 | 3 | namespace Snippetica.VisualStudio.Serialization; 4 | 5 | /// 6 | /// Intended for internal use only. 7 | /// 8 | public sealed class ImportElement 9 | { 10 | /// 11 | /// Gets or sets Namespace element value. 12 | /// 13 | public string? Namespace { get; set; } 14 | } 15 | -------------------------------------------------------------------------------- /src/Snippetica.VisualStudio/Serialization/ObjectElement.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Josef Pihrt. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. 2 | 3 | namespace Snippetica.VisualStudio.Serialization; 4 | 5 | /// 6 | /// Intended for internal use only. 7 | /// 8 | public sealed class ObjectElement : LiteralElement 9 | { 10 | /// 11 | /// Gets or sets Type element value. 12 | /// 13 | public string? Type { get; set; } 14 | } 15 | -------------------------------------------------------------------------------- /src/Snippetica.VisualStudio/Serialization/ReferenceElement.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Josef Pihrt. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. 2 | 3 | namespace Snippetica.VisualStudio.Serialization; 4 | 5 | /// 6 | /// Intended for internal use only. 7 | /// 8 | public sealed class ReferenceElement 9 | { 10 | /// 11 | /// Gets or sets Assembly element value. 12 | /// 13 | public string? Assembly { get; set; } 14 | 15 | /// 16 | /// Gets or sets Url element. 17 | /// 18 | public string? Url { get; set; } 19 | } 20 | -------------------------------------------------------------------------------- /src/Snippetica.VisualStudio/Validations/ResultImportance.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Josef Pihrt. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. 2 | 3 | namespace Snippetica.VisualStudio.Validations; 4 | 5 | /// 6 | /// Defines an importance of . 7 | /// 8 | public enum ResultImportance 9 | { 10 | /// 11 | /// Specifies information level. 12 | /// 13 | Information = 0, 14 | 15 | /// 16 | /// Specifies warning level. 17 | /// 18 | Warning = 1, 19 | 20 | /// 21 | /// Specifies error level. 22 | /// 23 | Error = 2, 24 | } 25 | -------------------------------------------------------------------------------- /src/Snippetica.VisualStudio/docs/NuGetReadme.md: -------------------------------------------------------------------------------- 1 | # Snippetica.VisualStudio 2 | -------------------------------------------------------------------------------- /src/Snippetica.VisualStudioCode.Vsix.Dev/.gitignore: -------------------------------------------------------------------------------- 1 | Snippetica.*.Dev/ -------------------------------------------------------------------------------- /src/Snippetica.VisualStudioCode.Vsix.Dev/Snippetica.CSharp.Dev/package/.vscode/launch.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "0.1.0", 3 | "configurations": [ 4 | { 5 | "name": "Launch Extension", 6 | "type": "extensionHost", 7 | "request": "launch", 8 | "runtimeExecutable": "${execPath}", 9 | "args": ["--extensionDevelopmentPath=${workspaceRoot}" ] 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /src/Snippetica.VisualStudioCode.Vsix.Dev/Snippetica.CSharp.Dev/package/CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/josefpihrt/snippetica/15e5375d456d3f71016368b001766c797a04782b/src/Snippetica.VisualStudioCode.Vsix.Dev/Snippetica.CSharp.Dev/package/CHANGELOG.md -------------------------------------------------------------------------------- /src/Snippetica.VisualStudioCode.Vsix.Dev/Snippetica.CSharp.Dev/package/LICENSE.txt: -------------------------------------------------------------------------------- 1 | Copyright (c) Josef Pihrt. All rights reserved. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use 4 | these files except in compliance with the License. You may obtain a copy of the 5 | License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software distributed 10 | under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR 11 | CONDITIONS OF ANY KIND, either express or implied. See the License for the 12 | specific language governing permissions and limitations under the License. -------------------------------------------------------------------------------- /src/Snippetica.VisualStudioCode.Vsix.Dev/Snippetica.CSharp.Dev/package/README.md: -------------------------------------------------------------------------------- 1 | # C\# Snippets 2 | 3 | Please see [documentation](https://josefpihrt.github.io/docs/snippetica/snippets/vscode/csharp) for further information\. -------------------------------------------------------------------------------- /src/Snippetica.VisualStudioCode.Vsix.Dev/Snippetica.CSharp.Dev/package/images/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/josefpihrt/snippetica/15e5375d456d3f71016368b001766c797a04782b/src/Snippetica.VisualStudioCode.Vsix.Dev/Snippetica.CSharp.Dev/package/images/icon.png -------------------------------------------------------------------------------- /src/Snippetica.VisualStudioCode.Vsix.Dev/Snippetica.Cpp.Dev/package/.vscode/launch.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "0.1.0", 3 | "configurations": [ 4 | { 5 | "name": "Launch Extension", 6 | "type": "extensionHost", 7 | "request": "launch", 8 | "runtimeExecutable": "${execPath}", 9 | "args": ["--extensionDevelopmentPath=${workspaceRoot}" ] 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /src/Snippetica.VisualStudioCode.Vsix.Dev/Snippetica.Cpp.Dev/package/CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/josefpihrt/snippetica/15e5375d456d3f71016368b001766c797a04782b/src/Snippetica.VisualStudioCode.Vsix.Dev/Snippetica.Cpp.Dev/package/CHANGELOG.md -------------------------------------------------------------------------------- /src/Snippetica.VisualStudioCode.Vsix.Dev/Snippetica.Cpp.Dev/package/LICENSE.txt: -------------------------------------------------------------------------------- 1 | Copyright (c) Josef Pihrt. All rights reserved. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use 4 | these files except in compliance with the License. You may obtain a copy of the 5 | License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software distributed 10 | under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR 11 | CONDITIONS OF ANY KIND, either express or implied. See the License for the 12 | specific language governing permissions and limitations under the License. -------------------------------------------------------------------------------- /src/Snippetica.VisualStudioCode.Vsix.Dev/Snippetica.Cpp.Dev/package/README.md: -------------------------------------------------------------------------------- 1 | # C\+\+ Snippets 2 | 3 | Please see [documentation](https://josefpihrt.github.io/docs/snippetica/snippets/vscode/cpp) for further information\. -------------------------------------------------------------------------------- /src/Snippetica.VisualStudioCode.Vsix.Dev/Snippetica.Cpp.Dev/package/images/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/josefpihrt/snippetica/15e5375d456d3f71016368b001766c797a04782b/src/Snippetica.VisualStudioCode.Vsix.Dev/Snippetica.Cpp.Dev/package/images/icon.png -------------------------------------------------------------------------------- /src/Snippetica.VisualStudioCode.Vsix.Dev/Snippetica.Html.Dev/package/.vscode/launch.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "0.1.0", 3 | "configurations": [ 4 | { 5 | "name": "Launch Extension", 6 | "type": "extensionHost", 7 | "request": "launch", 8 | "runtimeExecutable": "${execPath}", 9 | "args": ["--extensionDevelopmentPath=${workspaceRoot}" ] 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /src/Snippetica.VisualStudioCode.Vsix.Dev/Snippetica.Html.Dev/package/CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/josefpihrt/snippetica/15e5375d456d3f71016368b001766c797a04782b/src/Snippetica.VisualStudioCode.Vsix.Dev/Snippetica.Html.Dev/package/CHANGELOG.md -------------------------------------------------------------------------------- /src/Snippetica.VisualStudioCode.Vsix.Dev/Snippetica.Html.Dev/package/LICENSE.txt: -------------------------------------------------------------------------------- 1 | Copyright (c) Josef Pihrt. All rights reserved. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use 4 | these files except in compliance with the License. You may obtain a copy of the 5 | License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software distributed 10 | under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR 11 | CONDITIONS OF ANY KIND, either express or implied. See the License for the 12 | specific language governing permissions and limitations under the License. -------------------------------------------------------------------------------- /src/Snippetica.VisualStudioCode.Vsix.Dev/Snippetica.Html.Dev/package/README.md: -------------------------------------------------------------------------------- 1 | # HTML Snippets 2 | 3 | Please see [documentation](https://josefpihrt.github.io/docs/snippetica/vscode) for further information\. -------------------------------------------------------------------------------- /src/Snippetica.VisualStudioCode.Vsix.Dev/Snippetica.Html.Dev/package/images/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/josefpihrt/snippetica/15e5375d456d3f71016368b001766c797a04782b/src/Snippetica.VisualStudioCode.Vsix.Dev/Snippetica.Html.Dev/package/images/icon.png -------------------------------------------------------------------------------- /src/Snippetica.VisualStudioCode.Vsix.Dev/Snippetica.Markdown.Dev/package/.vscode/launch.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "0.1.0", 3 | "configurations": [ 4 | { 5 | "name": "Launch Extension", 6 | "type": "extensionHost", 7 | "request": "launch", 8 | "runtimeExecutable": "${execPath}", 9 | "args": ["--extensionDevelopmentPath=${workspaceRoot}" ] 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /src/Snippetica.VisualStudioCode.Vsix.Dev/Snippetica.Markdown.Dev/package/CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/josefpihrt/snippetica/15e5375d456d3f71016368b001766c797a04782b/src/Snippetica.VisualStudioCode.Vsix.Dev/Snippetica.Markdown.Dev/package/CHANGELOG.md -------------------------------------------------------------------------------- /src/Snippetica.VisualStudioCode.Vsix.Dev/Snippetica.Markdown.Dev/package/LICENSE.txt: -------------------------------------------------------------------------------- 1 | Copyright (c) Josef Pihrt. All rights reserved. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use 4 | these files except in compliance with the License. You may obtain a copy of the 5 | License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software distributed 10 | under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR 11 | CONDITIONS OF ANY KIND, either express or implied. See the License for the 12 | specific language governing permissions and limitations under the License. -------------------------------------------------------------------------------- /src/Snippetica.VisualStudioCode.Vsix.Dev/Snippetica.Markdown.Dev/package/README.md: -------------------------------------------------------------------------------- 1 | # Markdown Snippets 2 | 3 | Please see [documentation](https://josefpihrt.github.io/docs/snippetica/vscode) for further information\. -------------------------------------------------------------------------------- /src/Snippetica.VisualStudioCode.Vsix.Dev/Snippetica.Markdown.Dev/package/images/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/josefpihrt/snippetica/15e5375d456d3f71016368b001766c797a04782b/src/Snippetica.VisualStudioCode.Vsix.Dev/Snippetica.Markdown.Dev/package/images/icon.png -------------------------------------------------------------------------------- /src/Snippetica.VisualStudioCode.Vsix.Dev/Snippetica.VisualBasic.Dev/package/.vscode/launch.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "0.1.0", 3 | "configurations": [ 4 | { 5 | "name": "Launch Extension", 6 | "type": "extensionHost", 7 | "request": "launch", 8 | "runtimeExecutable": "${execPath}", 9 | "args": ["--extensionDevelopmentPath=${workspaceRoot}" ] 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /src/Snippetica.VisualStudioCode.Vsix.Dev/Snippetica.VisualBasic.Dev/package/CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/josefpihrt/snippetica/15e5375d456d3f71016368b001766c797a04782b/src/Snippetica.VisualStudioCode.Vsix.Dev/Snippetica.VisualBasic.Dev/package/CHANGELOG.md -------------------------------------------------------------------------------- /src/Snippetica.VisualStudioCode.Vsix.Dev/Snippetica.VisualBasic.Dev/package/LICENSE.txt: -------------------------------------------------------------------------------- 1 | Copyright (c) Josef Pihrt. All rights reserved. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use 4 | these files except in compliance with the License. You may obtain a copy of the 5 | License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software distributed 10 | under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR 11 | CONDITIONS OF ANY KIND, either express or implied. See the License for the 12 | specific language governing permissions and limitations under the License. -------------------------------------------------------------------------------- /src/Snippetica.VisualStudioCode.Vsix.Dev/Snippetica.VisualBasic.Dev/package/README.md: -------------------------------------------------------------------------------- 1 | # VB Snippets 2 | 3 | Please see [documentation](https://josefpihrt.github.io/docs/snippetica/snippets/vscode/vb) for further information\. -------------------------------------------------------------------------------- /src/Snippetica.VisualStudioCode.Vsix.Dev/Snippetica.VisualBasic.Dev/package/images/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/josefpihrt/snippetica/15e5375d456d3f71016368b001766c797a04782b/src/Snippetica.VisualStudioCode.Vsix.Dev/Snippetica.VisualBasic.Dev/package/images/icon.png -------------------------------------------------------------------------------- /src/Snippetica.VisualStudioCode.Vsix/.gitignore: -------------------------------------------------------------------------------- 1 | Snippetica.*/ -------------------------------------------------------------------------------- /src/Snippetica.VisualStudioCode.Vsix/Snippetica.CSharp/package/.vscode/launch.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "0.1.0", 3 | "configurations": [ 4 | { 5 | "name": "Launch Extension", 6 | "type": "extensionHost", 7 | "request": "launch", 8 | "runtimeExecutable": "${execPath}", 9 | "args": ["--extensionDevelopmentPath=${workspaceRoot}" ] 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /src/Snippetica.VisualStudioCode.Vsix/Snippetica.CSharp/package/LICENSE.txt: -------------------------------------------------------------------------------- 1 | Copyright (c) Josef Pihrt. All rights reserved. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use 4 | these files except in compliance with the License. You may obtain a copy of the 5 | License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software distributed 10 | under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR 11 | CONDITIONS OF ANY KIND, either express or implied. See the License for the 12 | specific language governing permissions and limitations under the License. -------------------------------------------------------------------------------- /src/Snippetica.VisualStudioCode.Vsix/Snippetica.CSharp/package/README.md: -------------------------------------------------------------------------------- 1 | # C\# Snippets 2 | 3 | Please see [documentation](https://josefpihrt.github.io/docs/snippetica/snippets/vscode/csharp) for further information\. -------------------------------------------------------------------------------- /src/Snippetica.VisualStudioCode.Vsix/Snippetica.CSharp/package/images/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/josefpihrt/snippetica/15e5375d456d3f71016368b001766c797a04782b/src/Snippetica.VisualStudioCode.Vsix/Snippetica.CSharp/package/images/icon.png -------------------------------------------------------------------------------- /src/Snippetica.VisualStudioCode.Vsix/Snippetica.Cpp/package/.vscode/launch.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "0.1.0", 3 | "configurations": [ 4 | { 5 | "name": "Launch Extension", 6 | "type": "extensionHost", 7 | "request": "launch", 8 | "runtimeExecutable": "${execPath}", 9 | "args": ["--extensionDevelopmentPath=${workspaceRoot}" ] 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /src/Snippetica.VisualStudioCode.Vsix/Snippetica.Cpp/package/LICENSE.txt: -------------------------------------------------------------------------------- 1 | Copyright (c) Josef Pihrt. All rights reserved. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use 4 | these files except in compliance with the License. You may obtain a copy of the 5 | License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software distributed 10 | under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR 11 | CONDITIONS OF ANY KIND, either express or implied. See the License for the 12 | specific language governing permissions and limitations under the License. -------------------------------------------------------------------------------- /src/Snippetica.VisualStudioCode.Vsix/Snippetica.Cpp/package/README.md: -------------------------------------------------------------------------------- 1 | # C\+\+ Snippets 2 | 3 | Please see [documentation](https://josefpihrt.github.io/docs/snippetica/snippets/vscode/cpp) for further information\. -------------------------------------------------------------------------------- /src/Snippetica.VisualStudioCode.Vsix/Snippetica.Cpp/package/images/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/josefpihrt/snippetica/15e5375d456d3f71016368b001766c797a04782b/src/Snippetica.VisualStudioCode.Vsix/Snippetica.Cpp/package/images/icon.png -------------------------------------------------------------------------------- /src/Snippetica.VisualStudioCode.Vsix/Snippetica.Html/package/.vscode/launch.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "0.1.0", 3 | "configurations": [ 4 | { 5 | "name": "Launch Extension", 6 | "type": "extensionHost", 7 | "request": "launch", 8 | "runtimeExecutable": "${execPath}", 9 | "args": ["--extensionDevelopmentPath=${workspaceRoot}" ] 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /src/Snippetica.VisualStudioCode.Vsix/Snippetica.Html/package/CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/josefpihrt/snippetica/15e5375d456d3f71016368b001766c797a04782b/src/Snippetica.VisualStudioCode.Vsix/Snippetica.Html/package/CHANGELOG.md -------------------------------------------------------------------------------- /src/Snippetica.VisualStudioCode.Vsix/Snippetica.Html/package/LICENSE.txt: -------------------------------------------------------------------------------- 1 | Copyright (c) Josef Pihrt. All rights reserved. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use 4 | these files except in compliance with the License. You may obtain a copy of the 5 | License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software distributed 10 | under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR 11 | CONDITIONS OF ANY KIND, either express or implied. See the License for the 12 | specific language governing permissions and limitations under the License. -------------------------------------------------------------------------------- /src/Snippetica.VisualStudioCode.Vsix/Snippetica.Html/package/README.md: -------------------------------------------------------------------------------- 1 | # HTML Snippets 2 | 3 | Please see [documentation](https://josefpihrt.github.io/docs/snippetica/vscode) for further information\. -------------------------------------------------------------------------------- /src/Snippetica.VisualStudioCode.Vsix/Snippetica.Html/package/images/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/josefpihrt/snippetica/15e5375d456d3f71016368b001766c797a04782b/src/Snippetica.VisualStudioCode.Vsix/Snippetica.Html/package/images/icon.png -------------------------------------------------------------------------------- /src/Snippetica.VisualStudioCode.Vsix/Snippetica.Json/package/.vscode/launch.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "0.1.0", 3 | "configurations": [ 4 | { 5 | "name": "Launch Extension", 6 | "type": "extensionHost", 7 | "request": "launch", 8 | "runtimeExecutable": "${execPath}", 9 | "args": ["--extensionDevelopmentPath=${workspaceRoot}" ] 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /src/Snippetica.VisualStudioCode.Vsix/Snippetica.Json/package/CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/josefpihrt/snippetica/15e5375d456d3f71016368b001766c797a04782b/src/Snippetica.VisualStudioCode.Vsix/Snippetica.Json/package/CHANGELOG.md -------------------------------------------------------------------------------- /src/Snippetica.VisualStudioCode.Vsix/Snippetica.Json/package/LICENSE.txt: -------------------------------------------------------------------------------- 1 | Copyright (c) Josef Pihrt. All rights reserved. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use 4 | these files except in compliance with the License. You may obtain a copy of the 5 | License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software distributed 10 | under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR 11 | CONDITIONS OF ANY KIND, either express or implied. See the License for the 12 | specific language governing permissions and limitations under the License. -------------------------------------------------------------------------------- /src/Snippetica.VisualStudioCode.Vsix/Snippetica.Json/package/README.md: -------------------------------------------------------------------------------- 1 | # JSON Snippets 2 | 3 | Please see [documentation](https://josefpihrt.github.io/docs/snippetica/vscode) for further information\. -------------------------------------------------------------------------------- /src/Snippetica.VisualStudioCode.Vsix/Snippetica.Json/package/images/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/josefpihrt/snippetica/15e5375d456d3f71016368b001766c797a04782b/src/Snippetica.VisualStudioCode.Vsix/Snippetica.Json/package/images/icon.png -------------------------------------------------------------------------------- /src/Snippetica.VisualStudioCode.Vsix/Snippetica.Markdown/package/.vscode/launch.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "0.1.0", 3 | "configurations": [ 4 | { 5 | "name": "Launch Extension", 6 | "type": "extensionHost", 7 | "request": "launch", 8 | "runtimeExecutable": "${execPath}", 9 | "args": ["--extensionDevelopmentPath=${workspaceRoot}" ] 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /src/Snippetica.VisualStudioCode.Vsix/Snippetica.Markdown/package/CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/josefpihrt/snippetica/15e5375d456d3f71016368b001766c797a04782b/src/Snippetica.VisualStudioCode.Vsix/Snippetica.Markdown/package/CHANGELOG.md -------------------------------------------------------------------------------- /src/Snippetica.VisualStudioCode.Vsix/Snippetica.Markdown/package/LICENSE.txt: -------------------------------------------------------------------------------- 1 | Copyright (c) Josef Pihrt. All rights reserved. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use 4 | these files except in compliance with the License. You may obtain a copy of the 5 | License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software distributed 10 | under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR 11 | CONDITIONS OF ANY KIND, either express or implied. See the License for the 12 | specific language governing permissions and limitations under the License. -------------------------------------------------------------------------------- /src/Snippetica.VisualStudioCode.Vsix/Snippetica.Markdown/package/README.md: -------------------------------------------------------------------------------- 1 | # Markdown Snippets 2 | 3 | Please see [documentation](https://josefpihrt.github.io/docs/snippetica/vscode) for further information\. -------------------------------------------------------------------------------- /src/Snippetica.VisualStudioCode.Vsix/Snippetica.Markdown/package/images/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/josefpihrt/snippetica/15e5375d456d3f71016368b001766c797a04782b/src/Snippetica.VisualStudioCode.Vsix/Snippetica.Markdown/package/images/icon.png -------------------------------------------------------------------------------- /src/Snippetica.VisualStudioCode.Vsix/Snippetica.Markdown/package/snippetica-markdown-0.6.0.vsix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/josefpihrt/snippetica/15e5375d456d3f71016368b001766c797a04782b/src/Snippetica.VisualStudioCode.Vsix/Snippetica.Markdown/package/snippetica-markdown-0.6.0.vsix -------------------------------------------------------------------------------- /src/Snippetica.VisualStudioCode.Vsix/Snippetica.VisualBasic/package/.vscode/launch.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "0.1.0", 3 | "configurations": [ 4 | { 5 | "name": "Launch Extension", 6 | "type": "extensionHost", 7 | "request": "launch", 8 | "runtimeExecutable": "${execPath}", 9 | "args": ["--extensionDevelopmentPath=${workspaceRoot}" ] 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /src/Snippetica.VisualStudioCode.Vsix/Snippetica.VisualBasic/package/LICENSE.txt: -------------------------------------------------------------------------------- 1 | Copyright (c) Josef Pihrt. All rights reserved. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use 4 | these files except in compliance with the License. You may obtain a copy of the 5 | License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software distributed 10 | under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR 11 | CONDITIONS OF ANY KIND, either express or implied. See the License for the 12 | specific language governing permissions and limitations under the License. -------------------------------------------------------------------------------- /src/Snippetica.VisualStudioCode.Vsix/Snippetica.VisualBasic/package/README.md: -------------------------------------------------------------------------------- 1 | # VB Snippets 2 | 3 | Please see [documentation](https://josefpihrt.github.io/docs/snippetica/snippets/vscode/vb) for further information\. -------------------------------------------------------------------------------- /src/Snippetica.VisualStudioCode.Vsix/Snippetica.VisualBasic/package/images/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/josefpihrt/snippetica/15e5375d456d3f71016368b001766c797a04782b/src/Snippetica.VisualStudioCode.Vsix/Snippetica.VisualBasic/package/images/icon.png -------------------------------------------------------------------------------- /src/Snippetica.VisualStudioCode.Vsix/Snippetica.Xml/package/.vscode/launch.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "0.1.0", 3 | "configurations": [ 4 | { 5 | "name": "Launch Extension", 6 | "type": "extensionHost", 7 | "request": "launch", 8 | "runtimeExecutable": "${execPath}", 9 | "args": ["--extensionDevelopmentPath=${workspaceRoot}" ] 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /src/Snippetica.VisualStudioCode.Vsix/Snippetica.Xml/package/CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/josefpihrt/snippetica/15e5375d456d3f71016368b001766c797a04782b/src/Snippetica.VisualStudioCode.Vsix/Snippetica.Xml/package/CHANGELOG.md -------------------------------------------------------------------------------- /src/Snippetica.VisualStudioCode.Vsix/Snippetica.Xml/package/LICENSE.txt: -------------------------------------------------------------------------------- 1 | Copyright (c) Josef Pihrt. All rights reserved. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use 4 | these files except in compliance with the License. You may obtain a copy of the 5 | License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software distributed 10 | under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR 11 | CONDITIONS OF ANY KIND, either express or implied. See the License for the 12 | specific language governing permissions and limitations under the License. -------------------------------------------------------------------------------- /src/Snippetica.VisualStudioCode.Vsix/Snippetica.Xml/package/README.md: -------------------------------------------------------------------------------- 1 | # XML Snippets 2 | 3 | Please see [documentation](https://josefpihrt.github.io/docs/snippetica/vscode) for further information\. -------------------------------------------------------------------------------- /src/Snippetica.VisualStudioCode.Vsix/Snippetica.Xml/package/images/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/josefpihrt/snippetica/15e5375d456d3f71016368b001766c797a04782b/src/Snippetica.VisualStudioCode.Vsix/Snippetica.Xml/package/images/icon.png -------------------------------------------------------------------------------- /tools/build.cmd: -------------------------------------------------------------------------------- 1 | @echo off 2 | 3 | dotnet restore --force "..\src\Snippetica.sln" 4 | 5 | "%ProgramFiles%\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin\msbuild" "..\src\Snippetica.sln" ^ 6 | /t:Clean,Build ^ 7 | /p:Configuration=Release,TreatWarningsAsErrors=true,WarningsNotAsErrors=1591 ^ 8 | /v:normal ^ 9 | /fl ^ 10 | /m 11 | 12 | if errorlevel 1 ( 13 | pause 14 | exit 15 | ) 16 | 17 | echo OK 18 | pause 19 | -------------------------------------------------------------------------------- /tools/build.debug.cmd: -------------------------------------------------------------------------------- 1 | @echo off 2 | 3 | "%ProgramFiles%\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin\msbuild" "..\src\Snippetica.sln" ^ 4 | /t:Build ^ 5 | /p:Configuration=Debug ^ 6 | /v:normal ^ 7 | /fl ^ 8 | /m 9 | 10 | if errorlevel 1 ( 11 | pause 12 | exit 13 | ) 14 | 15 | echo OK 16 | pause 17 | -------------------------------------------------------------------------------- /tools/delete_snippets.ps1: -------------------------------------------------------------------------------- 1 | Remove-Item "../src/Snippetica.VisualStudio.Vsix" -Include "*.snippet" -Recurse 2 | Remove-Item "../src/Snippetica.VisualStudio.Vsix.Dev" -Include "*.snippet" -Recurse 3 | -------------------------------------------------------------------------------- /tools/generate_docs.ps1: -------------------------------------------------------------------------------- 1 | dotnet restore "../src/Snippetica.CodeGeneration.DocumentationGenerator/DocumentationGenerator.csproj" --force 2 | dotnet build "../src/Snippetica.CodeGeneration.DocumentationGenerator/DocumentationGenerator.csproj" --no-restore /p:"Configuration=Release,Deterministic=true,TreatWarningsAsErrors=true,WarningsNotAsErrors=1591" /m 3 | 4 | if(!$?) { Read-Host; Exit } 5 | 6 | & "../src/Snippetica.CodeGeneration.DocumentationGenerator/bin/Release/net8.0/Snippetica.CodeGeneration.DocumentationGenerator" "../src" "build" "../src/Snippetica.CodeGeneration.Metadata/data" 7 | -------------------------------------------------------------------------------- /tools/generate_snippets.ps1: -------------------------------------------------------------------------------- 1 | dotnet restore "../src/Snippetica.CodeGeneration.SnippetGenerator/SnippetGenerator.csproj" --force 2 | dotnet build "../src/Snippetica.CodeGeneration.SnippetGenerator/SnippetGenerator.csproj" --no-restore /p:"Configuration=Release,Deterministic=true,TreatWarningsAsErrors=true,WarningsNotAsErrors=1591" /m 3 | 4 | if(!$?) { Read-Host; Exit } 5 | 6 | & "../src/Snippetica.CodeGeneration.SnippetGenerator/bin/Release/net6.0/Snippetica.CodeGeneration.SnippetGenerator" "../src" "../src/Snippetica.CodeGeneration.Metadata/Data" 7 | --------------------------------------------------------------------------------