Artyom V. Gorchakov
9daf7182b9
fix: Actually clear resolved names ( #42 )
* fix: Actually clear resolved names
* nit: White space
5 years ago
Artyom V. Gorchakov
fbcc40f9fc
docs: Document InitializeComponent
5 years ago
artyom
37a44824f3
housekeeping: Use old product code
5 years ago
Artyom V. Gorchakov
97e00cba95
fix: Fix and Turn On InitializeComponent Behavior by Default ( #41 )
* Add using:Avalonia, use InitializeComponent behavior by default
* build(deps): bump Microsoft.NET.Test.Sdk from 16.8.3 to 16.9.1 in /src
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest ) from 16.8.3 to 16.9.1.
- [Release notes](https://github.com/microsoft/vstest/releases )
- [Commits](https://github.com/microsoft/vstest/compare/v16.8.3...v16.9.1 )
Signed-off-by: dependabot[bot] <support@github.com>
* docs: Update the documentation
* fix: Update Generator.props
* housekeeping: Update version.json
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years ago
Artyom V. Gorchakov
10d67cc9a8
docs: Update generated sample
5 years ago
GMIKE
636bb97644
Improve the InitializeComponent Code Generator ( #39 )
* Merger DevTools and InitializeComponent tests
* Control without windows test
* Properties to fields for InitializeComponent, ControlType for GenerateCode
* DevTools and InitializeComponent tests
* DevTools and InitializeComponent tests
* clrType to GenerateCode method
* refact whitespaces and isWindow method
* AttachedPropsWithDevTools test fix whitespace
5 years ago
artyom
bdc086f6fe
housekeeping: Move dependabot.yml
5 years ago
Artyom V. Gorchakov
41258fbc0d
housekeeping: Create dependabot.yml
5 years ago
Artyom V. Gorchakov
7d746128e6
docs: Document this.AttachDevTools() generation ( #36 )
* docs: Document this.AttachDevTools() generation
* Update version.json
5 years ago
Artyom V. Gorchakov
6e621e553a
feature: Generate this.AttachDevTools() if Avalonia.Diagnostics is nearby ( #35 )
5 years ago
artyom
c836504cb9
refactor: Consistent naming, AXN0002 as error
5 years ago
Artyom V. Gorchakov
93b6c0624a
docs: Document the new Generator Options ( #33 )
* docs: Update README.md
* Bump version
5 years ago
artyom
b00b699e0c
feature: Add AvaloniaNameGeneratorFilterByNamespace
5 years ago
Artyom V. Gorchakov
5917bc35de
feature: Add AvaloniaNameGeneratorFilterByPath option ( #32 )
* feature: Add AvaloniaNameGeneratorFilterByPath option
* Extract common interface, introduce pattern groups
5 years ago
artyom
b5ddad6ec3
feature: Ability to specify default field modifier, closes #31
5 years ago
Artyom V. Gorchakov
5bbde81683
refactor: Introduce GeneratorOptions ( #30 )
* refactor: Introduce GeneratorOptions
* nit: White space
5 years ago
GMIKE
398fc792b3
feature: Add InitializeComponent Source Generator Behavior ( #29 )
* Closes https://github.com/AvaloniaUI/Avalonia.NameGenerator/issues/28
5 years ago
Artyom V. Gorchakov
bac5aa864f
fix: Use https in .gitmodules
5 years ago
artyom
11b74bb800
IClassResolver->IViewResolver
5 years ago
artyom
3fdacad616
fix: Don't parse XAML twice, bring back the extensions
5 years ago
Artyom V. Gorchakov
8e8d684f7c
housekeeping: Cleanup README.md
5 years ago
Artyom V. Gorchakov
592fae26d6
feature: Resolve Class Name from x:Class ( #27 )
* Switch over to using x:Class
* The MsBuild property is no longer required
* Documentation updates
* Bring back the AXN0003 warning
* Bring back AXN0002
* Mocks for unit tests
* Actually use the mock in unit tests
* Bump version
5 years ago
Artyom V. Gorchakov
806fe0fef1
docs: Document AXN warnings suppression
Closes https://github.com/AvaloniaUI/Avalonia.NameGenerator/issues/24
5 years ago
Artyom V. Gorchakov
631870b17b
feature: Document the AvaloniaNameGenerator Property, Don't Crash on Failure ( #23 )
* Update README.md
* Don't crash when something goes wrong
* Add back the warning
* Update version.json
5 years ago
workgroupengineering
cff386b326
feature: Generate x:Name mapping without the GenerateTypedNameReferences attribute ( #22 )
* feature: Generate x:Name mapping without the GenerateTypedNameReferences attribute.
* fix: Update README.md
5 years ago
Artyom V. Gorchakov
fee0c58251
fix: Temporary use old <PackageId /> ( #21 )
5 years ago
Artyom V. Gorchakov
edf0217591
feature: Support x:FieldModifier Directive ( #20 )
* Refactoring, decomposition, more unit tests
* Support x:FieldModifier
* Use Xamarin.Forms API for x:FieldModifier
* Use <RestoreSources /> directive, bump Avalonia
* CRLF dance
* Use Fluent theme
* Move Avalonia packages to Directory.Build.props
* Bump test SDK version
5 years ago
Artyom V. Gorchakov
af3b0beacf
housekeeping: Add GIF recordings
5 years ago
Artyom V. Gorchakov
063ef71741
housekeeping: Temporary use old package name
5 years ago
Artyom V. Gorchakov
ecc9677a23
housekeeping: Rename to Avalonia.NameGenerator ( #16 )
5 years ago
Artyom V. Gorchakov
489a6101c5
housekeeping: Update Generated Code Sample ( #15 )
5 years ago
Artyom V. Gorchakov
e1a87d6474
fix: Use global:: for Type Names ( #14 )
5 years ago
Artyom V. Gorchakov
03b33fb9ca
fix: Remove ConstructableObjectTransformer ( #13 )
* Strip out the namespace
* Strip out the instantiation
* Actually strip out the transformer
5 years ago
Artyom V. Gorchakov
734f3441e8
fix: Don't Throw when Attached Properties are Unknown ( #12 )
* Fix attached properties resolution
* Strip out controls that aren't IControl
* Be more strict and check the namespace
* Update packages, throw when class is not partial
* Use internal access modifier explicitly
* Move the attribute to Avalonia.Controls namespace
* Further documentation updates
* Add the badges
5 years ago
Artyom V. Gorchakov
73cd39be10
housekeeping: Add Basic GitHub Actions Configuration ( #11 )
5 years ago
Artyom
aa0fbc6a0b
Exclude ControlTemplates ( #2 )
5 years ago
Artyom V. Gorchakov
53942a551e
Update README.md
5 years ago
Artyom V. Gorchakov
701daf0176
feature: Don't Generate x:Name References for DataTemplates ( #10 )
5 years ago
Artyom V. Gorchakov
7fc979fec8
housekeeping: Add XamlNameReferenceGenerator.Tests ( #7 )
* Add basic MiniCompiler unit tests
* Add XamlX tests stub file
5 years ago
Artyom V. Gorchakov
e3490c69d3
housekeeping: Diagnostics and Refactorings ( #6 )
* NameDirectiveTransformer.cs
* Build-time diagnostics
5 years ago
Artyom
b45c450ccb
Remove markup extension transformer
5 years ago
Artyom V. Gorchakov
08ed528420
feature: Use XamlX for Type Resolution ( #5 )
5 years ago
Artyom V. Gorchakov
2c8d46da09
feature: Add XamlXRawNameReferenceXamlParser ( #4 )
* Add XAML parser based on XamlX
5 years ago
Artyom
2318f7142c
Support custom controls via AdditionalNamespaces
5 years ago
Artyom
433c279e72
Allow specifying namespaces manually
5 years ago
Artyom
e5f3c79982
Ignore Idea stuff
5 years ago
Artyom
5f132c99a2
Add Avalonia Source Generator for x:Name refs
5 years ago
Artyom V. Gorchakov
85de11d62f
Initial commit
5 years ago