Skip to content

Commit

Permalink
0.8.3
Browse files Browse the repository at this point in the history
  • Loading branch information
frarees committed May 11, 2023
1 parent c3b8b6c commit bca9452
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Changelog

## [0.8.3] - 2023-05-11
### Added
- Projects generate documentation files.
- Set `AllowUnsafeBlocks`.
- Link to builtin analyzer.
- Emacs support.

### Changed
- `Microsoft.Unity.Analyzers` updated to 1.16.1

## [0.8.2] - 2023-01-14
### Added
- Neovide support (Windows).
Expand Down Expand Up @@ -161,6 +171,7 @@
- Support for MacVim on macOS.
- Support for Sublime Text 3 on macOS.

[0.8.3]: https://github.com/frarees/easyeditor/compare/v0.8.2...v0.8.3
[0.8.2]: https://github.com/frarees/easyeditor/compare/v0.8.1...v0.8.2
[0.8.1]: https://github.com/frarees/easyeditor/compare/v0.8.0...v0.8.1
[0.8.0]: https://github.com/frarees/easyeditor/compare/v0.7.0...v0.8.0
Expand Down
Binary file modified Editor/Analyzers/Microsoft.Unity.Analyzers.dll
Binary file not shown.
4 changes: 4 additions & 0 deletions Editor/ProjectGeneration/ProjectGeneration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -651,6 +651,8 @@ static string GenerateAnalyserItemGroup(string[] paths)
analyserBuilder.Append($" <Analyzer Include=\"{path.NormalizePath()}\" />").Append(k_WindowsNewline);
}

analyserBuilder.Append($" <Analyzer Include=\"{Path.GetFullPath("Packages/com.frarees.easyeditor/Editor/Analyzers/Microsoft.Unity.Analyzers.dll")}\" />").Append(k_WindowsNewline);

analyserBuilder.Append(" </ItemGroup>").Append(k_WindowsNewline);
return analyserBuilder.ToString();
}
Expand Down Expand Up @@ -705,6 +707,7 @@ string rulesetBlock
builder.Append(@"<?xml version=""1.0"" encoding=""utf-8""?>").Append(k_WindowsNewline);
builder.Append(@"<Project ToolsVersion=""").Append(k_ToolsVersion).Append(@""" DefaultTargets=""Build"" xmlns=""").Append(MSBuildNamespaceUri).Append(@""">").Append(k_WindowsNewline);
builder.Append(@" <PropertyGroup>").Append(k_WindowsNewline);
builder.Append(@" <DocumentationFile>bin\$(Configuration)\$(TargetFramework)\").Append(assemblyName).Append(".xml</DocumentationFile>").Append(k_WindowsNewline);
//builder.Append(@" <LangVersion>").Append(GetTargetLanguageVersion()).Append("</LangVersion>").Append(k_WindowsNewline);
if (TryGetTargetLangVersionOverride(out string langVersionOverride))
{
Expand All @@ -729,6 +732,7 @@ string rulesetBlock
builder.Append(@" <TargetFrameworkVersion>").Append(k_TargetFrameworkVersion).Append("</TargetFrameworkVersion>").Append(k_WindowsNewline);
builder.Append(@" <FileAlignment>512</FileAlignment>").Append(k_WindowsNewline);
builder.Append(@" <BaseDirectory>").Append(k_BaseDirectory).Append("</BaseDirectory>").Append(k_WindowsNewline);
builder.Append(@" <AllowUnsafeBlocks>").Append(allowUnsafe).Append("</AllowUnsafeBlocks>").Append(k_WindowsNewline);
builder.Append(@" </PropertyGroup>").Append(k_WindowsNewline);
builder.Append(@" <PropertyGroup Condition="" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "">").Append(k_WindowsNewline);
builder.Append(@" <DebugSymbols>true</DebugSymbols>").Append(k_WindowsNewline);
Expand Down

0 comments on commit bca9452

Please sign in to comment.