Skip to content

Commit 93f34ca

Browse files
committed
bug fixes
1 parent d7404b6 commit 93f34ca

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

.github/workflows/dotnet.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ env:
2929
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
3030
DOTNET_NOLOGO: true
3131
VisxDirectory: ${{github.workspace}}/vsix
32-
Version: '2.1.1.${{ github.run_number }}'
33-
BaseVersion: '2.1.1.0'
32+
Version: '3.0.0.${{ github.run_number }}'
33+
BaseVersion: '3.0.0.0'
3434

3535
defaults:
3636
run:

CodeDocumentor/Helper/EditorConfigExtensions.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public static ISettings BuildSettings(this AnalyzerConfigOptions options, ISetti
4848
settings.IsEnabledForNonPublicFields = options.ConvertToBoolean("codedocumentor_is_enabled_for_non_public_fields", false);
4949
settings.PreserveExistingSummaryText = options.ConvertToBoolean("codedocumentor_preserve_existing_summary_text", true);
5050
settings.TryToIncludeCrefsForReturnTypes = options.ConvertToBoolean("codedocumentor_try_to_include_crefs_for_return_types", true);
51-
settings.UseToDoCommentsOnSummaryError = options.ConvertToBoolean("codedocumentor_use_natural_language_for_return_node", false);
51+
settings.UseNaturalLanguageForReturnNode = options.ConvertToBoolean("codedocumentor_use_natural_language_for_return_node", false);
5252
settings.UseToDoCommentsOnSummaryError = options.ConvertToBoolean("codedocumentor_use_todo_comments_on_summary_error", true);
5353
settings.WordMaps = options.ConvertToWordMap("codedocumentor_wordmap", Constants.DEFAULT_WORD_MAPS);
5454
return settings;
@@ -80,18 +80,18 @@ private static WordMap[] ConvertToWordMap(this AnalyzerConfigOptions options, st
8080
.ToArray();
8181
}
8282

83-
private static bool ConvertToBoolean(this AnalyzerConfigOptions options, string key, bool defaulBool)
83+
private static bool ConvertToBoolean(this AnalyzerConfigOptions options, string key, bool defaultBool)
8484
{
8585
options.TryGetValue(key, out var cds);
8686
if (string.IsNullOrEmpty(cds))
8787
{
88-
return defaulBool;
88+
return defaultBool;
8989
}
9090
if (bool.TryParse(cds, out var converted))
9191
{
9292
return converted;
9393
}
94-
return defaulBool;
94+
return defaultBool;
9595
}
9696

9797
private static DiagnosticSeverity ConvertToDiagnosticSeverity(this AnalyzerConfigOptions options, string key, DiagnosticSeverity defaultSeverity)

Manifests/vs2022/source.extension.vsixmanifest

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<PackageManifest Version="2.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2011" xmlns:d="http://schemas.microsoft.com/developer/vsx-schema-design/2011">
33
<Metadata>
4-
<Identity Id="CodeDocumentor.2022.88F29096-CA4C-4F88-A260-705D8BBFCF2A" Version="3.0.0.0" Language="en-US" Publisher="Dan Turco"/>
4+
<Identity Id="CodeDocumentor.2022.88F29096-CA4C-4F88-A260-705D8BBFCF2A" Version="3.0.0.1" Language="en-US" Publisher="Dan Turco"/>
55
<DisplayName>CodeDocumentor</DisplayName>
66
<Description xml:space="preserve">An Extension to generate XML documentation automatically using IntelliSense for interface,class,enum, field, constructor, property and method.</Description>
77
<Icon>logo.png</Icon>

Readme.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ Download and install the VSIX from the [VS Marketplace](https://marketplace.visu
5454

5555
Microsoft is not going to make any changes to truly allow analyzers to run out of process. Even with .editorconfig support, it will not work if you want to have any user level settings collection from Visual Studio > Options.
5656

57-
- As of VS2022 version 17.6.x there is some bug that makes extension analyzers not being to work work properly if you have *Run code analysis in seperate process*
57+
- As of VS2022 version 17.6.x there is some bug that makes extension analyzers not able to work properly if you have *Run code analysis in separate process*
5858

5959
![Out of process](https://github.com/d1820/CodeDocumentor/blob/main/GifInstruction/outOfProcess.png?raw=true)
6060

@@ -295,7 +295,7 @@ To convert existing settings to .editorconfig go to Tools > Options > CodeDocume
295295
This will convert the existing Visual Studio Option Settings to editor config format and copy them to your clipboard.
296296
Paste this into a new or existing .editorconfig file in your solution.
297297

298-
**NOTE**: Event with using .editroconfig as your settings, Out of Process still can not be used, because the extension needs to support backward compatibility of using the Visual Studio Options.
298+
**NOTE**: Even with using .editorconfig as your settings, Out of Process still can not be used, because the extension needs to support backward compatibility of using the Visual Studio Options.
299299

300300

301301
## Changelog

0 commit comments

Comments
 (0)