Skip to content

Commit

Permalink
(#286) Templates: remove InitializeComponent and AttachDevTools
Browse files Browse the repository at this point in the history
  • Loading branch information
ForNeVeR committed Jul 15, 2023
1 parent 7b47af9 commit 6e83fe4
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 15 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [1.1.0] - 2023-07-15
### Changed
- Default templates are no longer generating the `InitializeComponent` method and `AttachDevTools` call. Those are handled by Avalonia source generators in the latest versions.

## [1.0.5] - 2023-06-30
### Fixed
- Correct DPI is now passed to the previewer process from the start.
Expand Down Expand Up @@ -44,4 +48,5 @@ The initial plugin release. The plugin provides the following features for JetBr
[1.0.3]: https://github.com/ForNeVeR/AvaloniaRider/compare/v1.0.2...v1.0.3
[1.0.4]: https://github.com/ForNeVeR/AvaloniaRider/compare/v1.0.3...v1.0.4
[1.0.5]: https://github.com/ForNeVeR/AvaloniaRider/compare/v1.0.4...v1.0.5
[Unreleased]: https://github.com/ForNeVeR/AvaloniaRider/compare/v1.0.5...HEAD
[1.1.0]: https://github.com/ForNeVeR/AvaloniaRider/compare/v1.0.5...v1.1.0
[Unreleased]: https://github.com/ForNeVeR/AvaloniaRider/compare/v1.1.0...HEAD
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
kotlin.stdlib.default.dependency=false

pluginVersionBase=1.0.5
pluginVersionBase=1.1.0

# https://www.jetbrains.com/intellij-repository/snapshots/
riderSdkVersion=2023.2-EAP6-SNAPSHOT
Expand Down
13 changes: 0 additions & 13 deletions src/extensions/settings/fileTemplates.DotSettings
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,6 @@ namespace $NAMESPACE$
{
InitializeComponent();
}

private void InitializeComponent()
{
AvaloniaXamlLoader.Load(this);
}
}
}
</s:String>
Expand Down Expand Up @@ -184,14 +179,6 @@ namespace $NAMESPACE$&#xD;
public $CLASS$()&#xD;
{&#xD;
InitializeComponent();&#xD;
#if DEBUG&#xD;
this.AttachDevTools();&#xD;
#endif&#xD;
}&#xD;
&#xD;
private void InitializeComponent()&#xD;
{&#xD;
AvaloniaXamlLoader.Load(this);&#xD;
}&#xD;
}&#xD;
}&#xD;
Expand Down

0 comments on commit 6e83fe4

Please sign in to comment.