Skip to content

WorkloadOptionPage just after wpLicense #254

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 178 commits into
base: workloads
Choose a base branch
from
Open
Changes from all commits
Commits
Show all changes
178 commits
Select commit Hold shift + click to select a range
d650e21
Add access keys for settings window
IvenBach Mar 3, 2020
ee60628
Add General settings access keys
IvenBach Jul 8, 2020
e37cc4b
Add Autocompletion access keys
IvenBach Jul 8, 2020
8b4881f
Add Window settings access keys
IvenBach Jul 8, 2020
12f4f07
Merge remote-tracking branch 'upstream/next' into Issue5408_SettingsW…
IvenBach Jul 8, 2020
ee06eb3
Update InspectionSettings access keys
IvenBach Jul 9, 2020
f1a9e7a
Resolve Usercontrol access key binding
IvenBach Jul 9, 2020
333bfa0
Merge pull request #5561 from rubberduck-vba/next
retailcoder Aug 22, 2020
ae535f9
Migrate AnnotateDeclarationDialog_ to new resx
IvenBach Oct 29, 2020
9c8b642
Migrate AnnotationArgument_ValidationError_ resources
IvenBach Oct 29, 2020
744919a
Migrate AnnotationArgumentType_ resources
IvenBach Oct 29, 2020
553a94c
Migrate AssignedByValDialog_ resources
IvenBach Oct 29, 2020
e440ef9
Migrate AssignedByValParameterQuickFixDialog_ resources
IvenBach Oct 29, 2020
7534bfc
Migrate CodeInspectionResults_ resources
IvenBach Oct 29, 2020
0c936a5
Migrate CodeInspections_ resources
IvenBach Oct 29, 2020
ab31740
Migrate CodeInspectionSettings_ resources
IvenBach Oct 29, 2020
06dbac0
Migrate CodeMetrics resources
IvenBach Oct 29, 2020
b4a3dc2
Convert to auto-property
IvenBach Oct 29, 2020
0141245
Convert to auto-property
IvenBach Oct 29, 2020
c0c65af
Migrate Command_Reparse_ resources
IvenBach Oct 29, 2020
7270030
Migrate DeclarationType_ resources
IvenBach Oct 29, 2020
b90b38a
Migrate EncapsulateField_ resources
IvenBach Oct 30, 2020
2a0aeaf
Migrate ExtracteInterface_ resources
IvenBach Oct 30, 2020
5aeee5f
Convert to auto-property
IvenBach Oct 30, 2020
5152b4c
Migrate ExtractMethod_ resources
IvenBach Oct 30, 2020
70951ae
Migrate EmptyLineHandling_ resources
IvenBach Oct 29, 2020
5bfcdd5
Migrate GeneralSettings_ resources
IvenBach Oct 30, 2020
c743899
Migrate GroupingGrid_ resources
IvenBach Oct 30, 2020
b7dc32a
Migrate GroupingStyle_ resources
IvenBach Oct 30, 2020
c426b64
Migrate ImplementInterface resources
IvenBach Oct 30, 2020
68ddf52
Migrate ImportCommand_ resources
IvenBach Oct 30, 2020
af46d03
Migrate IndenterSettings_ resources
IvenBach Oct 30, 2020
55c3fa5
Migrate InspectionResults_ resources
IvenBach Oct 30, 2020
0eeb0dc
Correct typo
IvenBach Oct 30, 2020
f0b3ea5
Migrate InspectionSettings_ resources
IvenBach Oct 30, 2020
fd8b130
Migrate Introduce resources
IvenBach Oct 30, 2020
3dbcd23
Migrate InvalidNameCriteria_ resources
IvenBach Oct 30, 2020
a6c236c
Migrate MoveClosureToUsage resources
IvenBach Oct 30, 2020
f235d91
Migrate MoveCloserToUsage resources
IvenBach Oct 30, 2020
58b64ff
Migrate MoveToFolder resources
IvenBach Oct 30, 2020
cf905ee
Migrate RefactoringFailure_ resources
IvenBach Oct 30, 2020
c0c840d
Migrate Reference resources
IvenBach Oct 30, 2020
1775b34
Resolve stash artifacts
IvenBach Oct 30, 2020
8b65f69
Correct missed migration update
IvenBach Oct 30, 2020
5928123
Correct missed update
IvenBach Oct 30, 2020
92799d8
Update resx usage
IvenBach Oct 30, 2020
f8ce9ca
Restore ability to compile
IvenBach Nov 1, 2020
542a9a6
Migrate RemoveParamsDialog_ resources
IvenBach Nov 2, 2020
9e259ca
Migrate RenameDialog_ resources
IvenBach Nov 2, 2020
aad348c
Migrate RenameFailure_ & RenamePresenter_ resources
IvenBach Nov 2, 2020
135eb41
Migrate RemovePresenter_ resource
IvenBach Nov 2, 2020
a6b2098
Migrate ReorderParamsDialog_ resources
IvenBach Nov 3, 2020
3d6160c
Migrate ReorderPresenter_ resource
IvenBach Nov 3, 2020
5ce1933
Migrate TestOutcome_ resources
IvenBach Nov 3, 2020
26f8a12
Delete unused resource
IvenBach Nov 3, 2020
6d74edd
Use ToDoExplorerUI resources
IvenBach Nov 3, 2020
3ca3c7b
Delete unused resources
IvenBach Nov 3, 2020
eb1639f
Remove unused TodoSettings_ resources
IvenBach Nov 3, 2020
e6c9912
Merge remote-tracking branch 'upstream/next' into CodeAnalysis_Issue4…
IvenBach Nov 3, 2020
3e94930
Merge remote-tracking branch 'upstream/next' into CodeExplorer_Issue4…
IvenBach Nov 3, 2020
efa0905
Merge remote-tracking branch 'upstream/next' into Refactorings_Issue4…
IvenBach Nov 3, 2020
76d745a
Merge remote-tracking branch 'upstream/next' into TestExplorer_Issue4…
IvenBach Nov 3, 2020
d501856
Merge remote-tracking branch 'upstream/next' into ToDoExplorer_Issue4…
IvenBach Nov 3, 2020
86fb1db
Merge remote-tracking branch 'upstream/next' into SettingPages_Issue4…
IvenBach Nov 3, 2020
176a4f8
Correct missed migration
IvenBach Nov 3, 2020
98e38f1
Merge remote-tracking branch 'upstream/next' into CodeAnalysis_Issue4…
IvenBach Apr 3, 2021
7936582
Merge remote-tracking branch 'upstream/next' into CodeExplorer_Issue4…
IvenBach Apr 3, 2021
7878277
fixes positional parameter finder logic, resolve selected parameter f…
retailcoder Apr 21, 2021
743c3e6
fallback to the invoked procedure when inside an argument list
retailcoder Apr 21, 2021
ef55b69
include whitespace in argument selection
retailcoder Apr 21, 2021
af56186
always use 'Object' instead of 'IDispatch' for the typename
retailcoder Apr 21, 2021
0ca3f6f
fixed broken test, addressed compiler warning
retailcoder Apr 21, 2021
46452a1
Make 'Find all References' argument-aware too
retailcoder Apr 22, 2021
f927335
Add qualifying references to identifier references
MDoerner Apr 22, 2021
f7fc8f4
fix NRE
retailcoder Apr 23, 2021
6f06abc
Highlight context in search results
retailcoder Apr 23, 2021
b924ce3
Extracted DeclarationToIcon base converter, restored FindSymbol icons…
retailcoder Apr 23, 2021
96a8af4
reduce font weight a little
retailcoder Apr 23, 2021
47499bd
format and align location label
retailcoder Apr 23, 2021
3b0d094
Added ForbiddenAttribute to mark keywords, reserved identifier names,…
retailcoder Apr 23, 2021
43a4d41
cleaned up
retailcoder Apr 23, 2021
86c6454
Add Germen translations for 2.5.2
MDoerner Apr 23, 2021
fce9740
move IMenuItem.CanExecute and commandbar/selection string to async ta…
retailcoder Apr 24, 2021
695fea0
merge upstream
retailcoder Apr 24, 2021
b9199b0
Merge pull request #5740 from retailcoder/argcontext
retailcoder Apr 24, 2021
2e68f05
merge upstream commits
retailcoder Apr 24, 2021
3403cfb
fixed merge artifacts
retailcoder Apr 24, 2021
39a2ae1
fix bad merge
retailcoder Apr 24, 2021
667f978
cleaned up
retailcoder Apr 25, 2021
b1e167a
Merge remote-tracking branch 'upstream/next' into CodeAnalysis_Issue4…
IvenBach Apr 25, 2021
521d00f
handle document module icon
retailcoder Apr 25, 2021
8fabb4e
add margin
retailcoder Apr 25, 2021
c17f38f
Merge remote-tracking branch 'upstream/next' into CodeExplorer_Issue4…
IvenBach Apr 25, 2021
53af86e
Opportunistic edits
IvenBach Apr 25, 2021
c9ba772
Merge remote-tracking branch 'upstream/next' into Refactorings_Issue4…
IvenBach Apr 25, 2021
52e1996
Opportunistic edits
IvenBach Apr 25, 2021
695832b
Add more tests for qualifying references
MDoerner Apr 25, 2021
6f026a8
restored input bindings, cleaned up command bindings
retailcoder Apr 25, 2021
f0ae290
Update Czech Translations for v2.5.2
SonGokussj4 Apr 25, 2021
adecadf
Merge remote-tracking branch 'upstream/next' into SettingPages_Issue4…
IvenBach Apr 25, 2021
859660d
Merge remote-tracking branch 'upstream/next' into TestExplorer_Issue4…
IvenBach Apr 25, 2021
70d99cf
Merge remote-tracking branch 'upstream/next' into ToDoExplorer_Issue4…
IvenBach Apr 25, 2021
0678fd6
Merge branch 'CodeExplorer_Issue4541_resx_cleanup' into ConsolidateRe…
IvenBach Apr 25, 2021
ff0ea9f
Merge pull request #5746 from MDoerner/GermanTranslationsFor252
retailcoder Apr 25, 2021
7cda15e
Merge pull request #5748 from SonGokussj4/CzechTranslations_v2.5.2
retailcoder Apr 25, 2021
2797ab3
Merge branch 'Refactorings_Issue4541_resx_cleanup' into ConsolidateRe…
IvenBach Apr 25, 2021
e2af1d1
Make implicit workbook and worksheets inspections use qualifying refe…
MDoerner Apr 25, 2021
5ff2308
Merge branch 'next' into PersistQualifyingMember
MDoerner Apr 25, 2021
1a2482e
fix highlighting for multiline contexts, added ellipsis when truncated.
retailcoder Apr 25, 2021
88477a8
clean up null propagation
retailcoder Apr 25, 2021
6a77ab6
fixed compile errors
retailcoder Apr 25, 2021
4fb4988
addressed review comments
retailcoder Apr 26, 2021
bb20c7f
extracted classes, added icon tooltips
retailcoder Apr 26, 2021
81f1817
Merge pull request #5743 from retailcoder/fixfindsymbol
retailcoder Apr 26, 2021
995ab90
prototype view
retailcoder Apr 26, 2021
1f71367
Merge branch 'next' of git://github.com/rubberduck-vba/Rubberduck int…
retailcoder Apr 26, 2021
440992a
Merge branch 'SettingPages_Issue4541_Resx_cleanup' into ConsolidateRe…
IvenBach Apr 26, 2021
40b1ac6
Merge branch 'TestExplorer_Issue4541_resx_cleanup' into ConsolidateRe…
IvenBach Apr 26, 2021
863d11e
Merge branch 'ToDoExplorer_Issue4541_resx_cleanup' into ConsolidateRe…
IvenBach Apr 26, 2021
d87e9f0
Merge remote-tracking branch 'upstream/next' into ConsolidateResource…
IvenBach Apr 26, 2021
4b0120c
support dragging popup, added inputbinding (ESC), fixed bindings / in…
retailcoder Apr 27, 2021
e3aa19c
Merge branch 'Issue5408_SettingsWindowAccessKeys' into ConsolidateRes…
IvenBach Apr 28, 2021
de71778
added PeekDefinition to code pane context menu, fallback descriptions…
retailcoder Apr 28, 2021
f5df422
fixed ProjectExplorer command targets; fixed CanExecute shadowing issue.
retailcoder Apr 28, 2021
d3f3d26
reverted misguided override
retailcoder Apr 29, 2021
4abed5c
cleanup (address review comments)
retailcoder Apr 29, 2021
64e4338
ItalianTranslation
PhilCattivocaratere Apr 30, 2021
ff54997
Update RubberduckUI.resx
PhilCattivocaratere Apr 30, 2021
1c7d07b
Create Italian.CustomMessages.iss
PhilCattivocaratere May 1, 2021
e685141
Update Rubberduck.Installer.Build.iss
PhilCattivocaratere May 1, 2021
2755498
Update Italian.CustomMessages.iss
PhilCattivocaratere May 1, 2021
4a20f58
Alcune correzioni minime
PhilCattivocaratere May 1, 2021
3640c77
German translations for the installer for 2.5.2
MDoerner May 1, 2021
8fc9c94
Merge pull request #5754 from PhilCattivocaratere/next
retailcoder May 1, 2021
762af33
Address comments to PR #5756
MDoerner May 2, 2021
dd5f380
Fix typo in German installer translation
MDoerner May 3, 2021
129460b
Merge pull request #5756 from MDoerner/GermenInstallerTranslationsFor252
retailcoder May 3, 2021
5870ada
Merge branch 'main' into next
retailcoder May 3, 2021
c99ba19
merge upstream changes
retailcoder May 3, 2021
a5708b3
Merge pull request #5758 from rubberduck-vba/next
retailcoder May 3, 2021
ae4c652
addresses review comments
retailcoder May 3, 2021
fee71f0
revert 8ee1b175 (get VB6 menu positions by name, reverts to by index)
retailcoder May 3, 2021
ceb00e3
Merge pull request #5759 from retailcoder/vb6cmds
retailcoder May 3, 2021
3108e01
Merge branch 'main' into next
retailcoder May 3, 2021
b5882f4
Merge branch 'next' of git://github.com/rubberduck-vba/Rubberduck int…
retailcoder May 4, 2021
0dd152c
removed ESC KeyBinding
retailcoder May 4, 2021
5f9e653
fixes #5761
retailcoder May 5, 2021
1a7ba6d
extracted commands, configured IoC
retailcoder May 6, 2021
da7fe23
fixed IoC registration
retailcoder May 7, 2021
822ddb1
fixed command bindings
retailcoder May 7, 2021
ffb75b6
make FindAllImplementations work on class modules again.
retailcoder May 7, 2021
2026e69
Merge pull request #5744 from MDoerner/PersistQualifyingMember
retailcoder May 7, 2021
80581fb
fix FindAllImplementations target acquisition from Project Explorer.
retailcoder May 8, 2021
18f9597
Merge pull request #5751 from retailcoder/peek
retailcoder May 8, 2021
3b58500
Peek definition and minor fixes translation
PhilCattivocaratere May 9, 2021
459bfa7
Another little fix
PhilCattivocaratere May 9, 2021
ab83aa8
Peek definition and minor fixes translation
PhilCattivocaratere May 9, 2021
5862b9d
Merge branch 'peekItalianTranslation' of https://github.com/PhilCatti…
PhilCattivocaratere May 9, 2021
0b7bcee
Merge pull request #5770 from PhilCattivocaratere/peekItalianTranslation
retailcoder May 9, 2021
1304e37
Merge remote-tracking branch 'upstream/next' into ConsolidateResource…
IvenBach May 12, 2021
452b8ff
Bulk migration of resource strings
IvenBach May 12, 2021
fd52de4
Remove apparently duplicated strings
IvenBach May 12, 2021
9b504e6
Finer grained resource edits
IvenBach May 12, 2021
b5d0ba0
Correct xaml closing element tag
IvenBach May 12, 2021
66d55c6
Add access keys for GeneralSettings
IvenBach May 12, 2021
0ded13f
Merge pull request #5749 from IvenBach/ConsolidateResourceCleanup
retailcoder May 15, 2021
f31e713
Ancestral typo, I think
PhilCattivocaratere May 16, 2021
5ee2a9d
Minor Italian translation missed in IvenBach's ConsolidateResourceCle…
PhilCattivocaratere May 16, 2021
a707020
Merge pull request #5774 from PhilCattivocaratere/ConsolidateResource…
retailcoder May 16, 2021
7acdcaa
Fix optional parameters in Circle special form
MDoerner May 17, 2021
639a956
Fix Add-Remove references caption in CE context menu
MDoerner May 17, 2021
be73e4f
Merge pull request #5778 from MDoerner/FixOptionalArgumentsInCircleSp…
retailcoder May 17, 2021
23af5c5
Merge pull request #5779 from MDoerner/FixAddRemoveReferencesCaptionI…
retailcoder May 17, 2021
7260a09
Adding @PhilCattivocaratere to the About box
retailcoder May 17, 2021
682324c
Merge pull request #5780 from rubberduck-vba/aboutbox-contributors
retailcoder May 17, 2021
7ab0572
WorkloadOptionPage just after wpLicense
PhilCattivocaratere May 24, 2021
ec25e6d
Add Italian to installer
PhilCattivocaratere May 25, 2021
074c162
Merge branch 'next' into workload
PhilCattivocaratere May 25, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
497 changes: 497 additions & 0 deletions Rubberduck.CodeAnalysis/CodeAnalysisUI.Designer.cs

Large diffs are not rendered by default.

266 changes: 266 additions & 0 deletions Rubberduck.CodeAnalysis/CodeAnalysisUI.cs.resx
Original file line number Diff line number Diff line change
@@ -0,0 +1,266 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema

Version 2.0

The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.

Example:

... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>

There are any number of "resheader" rows that contain simple
name/value pairs.

Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.

The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:

Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.

mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.

mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.

mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="CodeInspectionResults_Type" xml:space="preserve">
<value>Typ</value>
</data>
<data name="CodeInspectionResults_Issue" xml:space="preserve">
<value>Problém</value>
</data>
<data name="CodeInspectionResults_Location" xml:space="preserve">
<value>Lokace</value>
</data>
<data name="CodeInspections_NumberOfIssuesFound_Singular" xml:space="preserve">
<value>Rubberduck Inspekce Kódu - {0}
{1} problém nalezen.</value>
</data>
<data name="CodeInspections_Inspecting" xml:space="preserve">
<value>Kontroluji...</value>
</data>
<data name="CodeInspections_NumberOfIssuesFound_Plural" xml:space="preserve">
<value>Rubberduck Inspekce Kódu - {0}
Nalezeno {1} problémů.</value>
</data>
<data name="CodeInspectionSettingsPage_InspectionSeveritySettingsLabel" xml:space="preserve">
<value>Závažnosti Inspekce</value>
</data>
<data name="CodeInspectionSettingsPage_WhitelistedIdentifiersLabel" xml:space="preserve">
<value>Dovolené Identifikátory</value>
</data>
<data name="CodeInspectionSettingsPage_Misc" xml:space="preserve">
<value>Různé</value>
</data>
<data name="CodeInspectionSettingsPage_Misc_RunInspectionsOnSuccessfulParse" xml:space="preserve">
<value>Spustit automaticky inspekce po úspěšném parsování</value>
</data>
<data name="CodeInspectionSettingsPage_WhitelistedIdentifiersDescription" xml:space="preserve">
<value>Tyto identifikátory budou ignorovány inspekcí 'Použij smysluplné názvy'.</value>
</data>
<data name="CodeMetrics_Lines" xml:space="preserve">
<value>Řádky</value>
</data>
<data name="CodeMetrics_Complexity" xml:space="preserve">
<value>Cyklomatická Komplexita</value>
</data>
<data name="CodeMetrics_Nesting" xml:space="preserve">
<value>Maximální Vnoření</value>
</data>
<data name="CodeMetricsDockablePresenter_Caption" xml:space="preserve">
<value>Metrika Kódu</value>
</data>
<data name="CodeInspections" xml:space="preserve">
<value>Inspekce kódu</value>
</data>
<data name="Command_Reparse_CompileOnDemandEnabled" xml:space="preserve">
<value>VBE nastavení "Zkompilovat Na Žádost" je aktuálně povoleno. Toto není doporučeno a může vyústit v kompilační chyby a způsobit problémy při parsování. Chcete i přesto spustit parser?</value>
</data>
<data name="Command_Reparse_CompileOnDemandEnabled_Caption" xml:space="preserve">
<value>Nastavení Zkompilování Na Žádost</value>
</data>
<data name="Command_Reparse_CannotCompile_Caption" xml:space="preserve">
<value>Není možno zkompilovat pro parsování.</value>
</data>
<data name="Command_Reparse_CannotCompile" xml:space="preserve">
<value>Následující projekt(y) nemohou být zkompilovány, což je s největší pravděpodobností kvůli parsovacím chybám. I přesto pokračovat? {0}</value>
</data>
<data name="DeclarationType_BracketedExpression" xml:space="preserve">
<value>runtime expression</value>
</data>
<data name="DeclarationType_ClassModule" xml:space="preserve">
<value>třída</value>
</data>
<data name="DeclarationType_Constant" xml:space="preserve">
<value>konstanta</value>
</data>
<data name="DeclarationType_Control" xml:space="preserve">
<value>VBDesigner-Objekt</value>
</data>
<data name="DeclarationType_Enumeration" xml:space="preserve">
<value>enum</value>
</data>
<data name="DeclarationType_EnumerationMember" xml:space="preserve">
<value>enum člen</value>
</data>
<data name="DeclarationType_Event" xml:space="preserve">
<value>událost</value>
</data>
<data name="DeclarationType_Function" xml:space="preserve">
<value>funkce</value>
</data>
<data name="DeclarationType_LibraryFunction" xml:space="preserve">
<value>funkce knihovny</value>
</data>
<data name="DeclarationType_LibraryProcedure" xml:space="preserve">
<value>procedura knihovny</value>
</data>
<data name="DeclarationType_LineLabel" xml:space="preserve">
<value>označení řádku</value>
</data>
<data name="DeclarationType_Parameter" xml:space="preserve">
<value>parametr</value>
</data>
<data name="DeclarationType_ProceduralModule" xml:space="preserve">
<value>modul</value>
</data>
<data name="DeclarationType_Procedure" xml:space="preserve">
<value>procedura</value>
</data>
<data name="DeclarationType_Project" xml:space="preserve">
<value>projekt</value>
</data>
<data name="DeclarationType_PropertyGet" xml:space="preserve">
<value>Get accessor vlastnosti</value>
</data>
<data name="DeclarationType_PropertyLet" xml:space="preserve">
<value>Let accessor vlastnosti</value>
</data>
<data name="DeclarationType_PropertySet" xml:space="preserve">
<value>Set accessor vlastnosti</value>
</data>
<data name="DeclarationType_UserDefinedType" xml:space="preserve">
<value>uživatelsky-definovaný typ</value>
</data>
<data name="DeclarationType_UserDefinedTypeMember" xml:space="preserve">
<value>uživatelsky-definovaný člen</value>
</data>
<data name="DeclarationType_Variable" xml:space="preserve">
<value>proměnná</value>
</data>
<data name="EasterEgg_Continuator" xml:space="preserve">
<value>Získali jste odznak "Continuator"!</value>
</data>
<data name="EmptyLineHandling_Indent" xml:space="preserve">
<value>Odsadit</value>
</data>
<data name="EmptyLineHandling_Remove" xml:space="preserve">
<value>Odstranit</value>
</data>
<data name="EmptyLineHandling_Ignore" xml:space="preserve">
<value>Ignorovat</value>
</data>
<data name="GroupingGrid_Filter" xml:space="preserve">
<value>Filtr</value>
</data>
<data name="CodeInspectionSettingsPage_FilterByDescription" xml:space="preserve">
<value>Popis:</value>
</data>
<data name="CodeInspectionSettingsPage_FilterBySeverity" xml:space="preserve">
<value>Závažnost:</value>
</data>
</root>
266 changes: 266 additions & 0 deletions Rubberduck.CodeAnalysis/CodeAnalysisUI.de.resx
Original file line number Diff line number Diff line change
@@ -0,0 +1,266 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="CodeInspectionResults_Type" xml:space="preserve">
<value>Typ</value>
</data>
<data name="CodeInspectionResults_Issue" xml:space="preserve">
<value>Problem</value>
</data>
<data name="CodeInspectionResults_Location" xml:space="preserve">
<value>Ort</value>
</data>
<data name="CodeInspections_NumberOfIssuesFound_Singular" xml:space="preserve">
<value>Rubberduck Code Untersuchung - {0}
{1} Problem gefunden.</value>
</data>
<data name="CodeInspections_Inspecting" xml:space="preserve">
<value>Inspiziere...</value>
</data>
<data name="CodeInspections_NumberOfIssuesFound_Plural" xml:space="preserve">
<value>Rubberduck Code Untersuchung - {0}
{1} Probleme gefunden.</value>
</data>
<data name="CodeInspectionSettingsPage_InspectionSeveritySettingsLabel" xml:space="preserve">
<value>Inspektionsschwere</value>
</data>
<data name="CodeInspectionSettingsPage_WhitelistedIdentifiersLabel" xml:space="preserve">
<value>Explizit erlaubte Namen</value>
</data>
<data name="CodeInspectionSettingsPage_Misc" xml:space="preserve">
<value>Verschiedenes</value>
</data>
<data name="CodeInspectionSettingsPage_Misc_RunInspectionsOnSuccessfulParse" xml:space="preserve">
<value>Inspektionen nach erfolgreichem Parsen automatisch starten</value>
</data>
<data name="CodeInspectionSettingsPage_WhitelistedIdentifiersDescription" xml:space="preserve">
<value>Diese Namen werden von der Inspektion "Nutze aussagekräftige Namen" ignoriert.</value>
</data>
<data name="CodeMetrics_Lines" xml:space="preserve">
<value>Codezeilen</value>
</data>
<data name="CodeMetrics_Complexity" xml:space="preserve">
<value>Zyklomatische Komplexität</value>
</data>
<data name="CodeMetrics_Nesting" xml:space="preserve">
<value>Maximale Einrückung</value>
</data>
<data name="CodeMetricsDockablePresenter_Caption" xml:space="preserve">
<value>Codemetrikergebnisse</value>
</data>
<data name="CodeInspections" xml:space="preserve">
<value>Code Untersuchung</value>
</data>
<data name="Command_Reparse_CompileOnDemandEnabled" xml:space="preserve">
<value>Die VBE-Einstellung "Bei Bedarf Kompilieren" ist aktuell eingeschalten. Dies ist nicht empfohlen, da Kompilierungsfehler und Probleme beim Parsen versteckt werden können. Trotzdem Parsen?</value>
</data>
<data name="Command_Reparse_CompileOnDemandEnabled_Caption" xml:space="preserve">
<value>Einstellung "Bei Bedarf Kompilieren"</value>
</data>
<data name="Command_Reparse_CannotCompile_Caption" xml:space="preserve">
<value>Konnte nicht vor dem Parsen kompilieren.</value>
</data>
<data name="Command_Reparse_CannotCompile" xml:space="preserve">
<value>Folgende(s) Projekt(e) können nicht kompiliert werden. Dies führt höchstwahrscheinlich zu Parserfehlern. Trotzdem fortfahren? {0}</value>
</data>
<data name="DeclarationType_BracketedExpression" xml:space="preserve">
<value>Laufzeitausdruck</value>
</data>
<data name="DeclarationType_ClassModule" xml:space="preserve">
<value>Klasse</value>
</data>
<data name="DeclarationType_Constant" xml:space="preserve">
<value>Konstante</value>
</data>
<data name="DeclarationType_Control" xml:space="preserve">
<value>VBDesigner-Objekt</value>
</data>
<data name="DeclarationType_Enumeration" xml:space="preserve">
<value>Enum</value>
</data>
<data name="DeclarationType_EnumerationMember" xml:space="preserve">
<value>Enum-Element (Konstante)</value>
</data>
<data name="DeclarationType_Event" xml:space="preserve">
<value>Ereignis</value>
</data>
<data name="DeclarationType_Function" xml:space="preserve">
<value>Funktion</value>
</data>
<data name="DeclarationType_LibraryFunction" xml:space="preserve">
<value>Bibliotheks-Funktion</value>
</data>
<data name="DeclarationType_LibraryProcedure" xml:space="preserve">
<value>Bibliotheksprozedur</value>
</data>
<data name="DeclarationType_LineLabel" xml:space="preserve">
<value>Sprungmarke</value>
</data>
<data name="DeclarationType_Parameter" xml:space="preserve">
<value>Parameter</value>
</data>
<data name="DeclarationType_ProceduralModule" xml:space="preserve">
<value>Modul</value>
</data>
<data name="DeclarationType_Procedure" xml:space="preserve">
<value>Prozedur</value>
</data>
<data name="DeclarationType_Project" xml:space="preserve">
<value>Projekt</value>
</data>
<data name="DeclarationType_PropertyGet" xml:space="preserve">
<value>Get-Eigenschaftsprozedur</value>
</data>
<data name="DeclarationType_PropertyLet" xml:space="preserve">
<value>Let-Eigenschaftsprozedur</value>
</data>
<data name="DeclarationType_PropertySet" xml:space="preserve">
<value>Set-Eigenschaftsprozedur</value>
</data>
<data name="DeclarationType_UserDefinedType" xml:space="preserve">
<value>Nutzerdefinierter Typ</value>
</data>
<data name="DeclarationType_UserDefinedTypeMember" xml:space="preserve">
<value>Element eines nutzerdefinierten Typs</value>
</data>
<data name="DeclarationType_Variable" xml:space="preserve">
<value>Variable</value>
</data>
<data name="EasterEgg_Continuator" xml:space="preserve">
<value>Sie haben das Abzeichen "Continuator" erhalten!</value>
</data>
<data name="EmptyLineHandling_Indent" xml:space="preserve">
<value>Einrücken</value>
</data>
<data name="EmptyLineHandling_Remove" xml:space="preserve">
<value>Entfernen</value>
</data>
<data name="EmptyLineHandling_Ignore" xml:space="preserve">
<value>Ignorieren</value>
</data>
<data name="GroupingGrid_Filter" xml:space="preserve">
<value>Filter</value>
</data>
<data name="CodeInspectionSettingsPage_FilterByDescription" xml:space="preserve">
<value>Beschreibung:</value>
</data>
<data name="CodeInspectionSettingsPage_FilterBySeverity" xml:space="preserve">
<value>Schweregrad:</value>
</data>
</root>
266 changes: 266 additions & 0 deletions Rubberduck.CodeAnalysis/CodeAnalysisUI.es.resx
Original file line number Diff line number Diff line change
@@ -0,0 +1,266 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="CodeInspectionResults_Type" xml:space="preserve">
<value>Tipo</value>
</data>
<data name="CodeInspectionResults_Issue" xml:space="preserve">
<value>Problema</value>
</data>
<data name="CodeInspectionResults_Location" xml:space="preserve">
<value>Ubicación</value>
</data>
<data name="CodeInspections_NumberOfIssuesFound_Singular" xml:space="preserve">
<value>Inspecciones del código de Rubberduck - {0}
{1} problema encontrado.</value>
</data>
<data name="CodeInspections_Inspecting" xml:space="preserve">
<value>Inspeccionando...</value>
</data>
<data name="CodeInspections_NumberOfIssuesFound_Plural" xml:space="preserve">
<value>Inspecciones del código de Rubberduck - {0}
{1} problemas encontrados.</value>
</data>
<data name="CodeInspectionSettingsPage_InspectionSeveritySettingsLabel" xml:space="preserve">
<value>Severidad de la inspección</value>
</data>
<data name="CodeInspectionSettingsPage_WhitelistedIdentifiersLabel" xml:space="preserve">
<value>Identificadores en lista blanca</value>
</data>
<data name="CodeInspectionSettingsPage_Misc" xml:space="preserve">
<value>Misceláneas</value>
</data>
<data name="CodeInspectionSettingsPage_Misc_RunInspectionsOnSuccessfulParse" xml:space="preserve">
<value>Ejecutar inspecciones automáticamente en el análisis exitoso</value>
</data>
<data name="CodeInspectionSettingsPage_WhitelistedIdentifiersDescription" xml:space="preserve">
<value>Estos identificadores serán ignorados por la inspección 'Usar nombres significativos'.</value>
</data>
<data name="CodeMetrics_Lines" xml:space="preserve">
<value>Líneas</value>
</data>
<data name="CodeMetrics_Complexity" xml:space="preserve">
<value>Complejidad ciclomática</value>
</data>
<data name="CodeMetrics_Nesting" xml:space="preserve">
<value>Anidamiento maximo</value>
</data>
<data name="CodeMetricsDockablePresenter_Caption" xml:space="preserve">
<value>Métricas de Código</value>
</data>
<data name="CodeInspections" xml:space="preserve">
<value>Inspecciones de código</value>
</data>
<data name="Command_Reparse_CompileOnDemandEnabled" xml:space="preserve">
<value>El VBEsetting "Compile On Demand" está habilitado actualmente. No se recomienda, ya que puede ocultar errores de compilación y causar problemas con el análisis. ¿Quieres analizar de todos modos?</value>
</data>
<data name="Command_Reparse_CompileOnDemandEnabled_Caption" xml:space="preserve">
<value>Ajuste "Compilar A Demanda"</value>
</data>
<data name="Command_Reparse_CannotCompile_Caption" xml:space="preserve">
<value>No se puede compilar para analizar.</value>
</data>
<data name="Command_Reparse_CannotCompile" xml:space="preserve">
<value>Los siguientes proyectos no pueden compilarse, lo que probablemente resultará en errores del analizador. ¿Continua de todas maneras? {0}</value>
</data>
<data name="DeclarationType_BracketedExpression" xml:space="preserve">
<value>expresión en tiempo de ejecución</value>
</data>
<data name="DeclarationType_ClassModule" xml:space="preserve">
<value>clase</value>
</data>
<data name="DeclarationType_Constant" xml:space="preserve">
<value>constante</value>
</data>
<data name="DeclarationType_Control" xml:space="preserve">
<value>control</value>
</data>
<data name="DeclarationType_Enumeration" xml:space="preserve">
<value>enumerar</value>
</data>
<data name="DeclarationType_EnumerationMember" xml:space="preserve">
<value>enumerar miembro</value>
</data>
<data name="DeclarationType_Event" xml:space="preserve">
<value>evento</value>
</data>
<data name="DeclarationType_Function" xml:space="preserve">
<value>función</value>
</data>
<data name="DeclarationType_LibraryFunction" xml:space="preserve">
<value>biblioteca de funciones</value>
</data>
<data name="DeclarationType_LibraryProcedure" xml:space="preserve">
<value>biblioteca de procedimientos</value>
</data>
<data name="DeclarationType_LineLabel" xml:space="preserve">
<value>etiqueta de línea</value>
</data>
<data name="DeclarationType_Parameter" xml:space="preserve">
<value>parámetro</value>
</data>
<data name="DeclarationType_ProceduralModule" xml:space="preserve">
<value>módulo</value>
</data>
<data name="DeclarationType_Procedure" xml:space="preserve">
<value>procedimiento</value>
</data>
<data name="DeclarationType_Project" xml:space="preserve">
<value>proyecto</value>
</data>
<data name="DeclarationType_PropertyGet" xml:space="preserve">
<value>propiedad Get</value>
</data>
<data name="DeclarationType_PropertyLet" xml:space="preserve">
<value>propiedad Let</value>
</data>
<data name="DeclarationType_PropertySet" xml:space="preserve">
<value>propiedad Set</value>
</data>
<data name="DeclarationType_UserDefinedType" xml:space="preserve">
<value>tipo definido por el usuario</value>
</data>
<data name="DeclarationType_UserDefinedTypeMember" xml:space="preserve">
<value>miembro de tipo definido por el usuario</value>
</data>
<data name="DeclarationType_Variable" xml:space="preserve">
<value>variable</value>
</data>
<data name="EasterEgg_Continuator" xml:space="preserve">
<value>¡Has ganado la insignia de "Continuador"!</value>
</data>
<data name="EmptyLineHandling_Indent" xml:space="preserve">
<value>Indentar</value>
</data>
<data name="EmptyLineHandling_Remove" xml:space="preserve">
<value>Eliminar</value>
</data>
<data name="EmptyLineHandling_Ignore" xml:space="preserve">
<value>Ignorar</value>
</data>
<data name="GroupingGrid_Filter" xml:space="preserve">
<value>Filtro</value>
</data>
<data name="CodeInspectionSettingsPage_FilterByDescription" xml:space="preserve">
<value>Descripción:</value>
</data>
<data name="CodeInspectionSettingsPage_FilterBySeverity" xml:space="preserve">
<value>Severidad:</value>
</data>
</root>
266 changes: 266 additions & 0 deletions Rubberduck.CodeAnalysis/CodeAnalysisUI.fr.resx
Original file line number Diff line number Diff line change
@@ -0,0 +1,266 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="CodeInspectionResults_Type" xml:space="preserve">
<value>Type</value>
</data>
<data name="CodeInspectionResults_Issue" xml:space="preserve">
<value>Problème</value>
</data>
<data name="CodeInspectionResults_Location" xml:space="preserve">
<value>Emplacement</value>
</data>
<data name="CodeInspections_NumberOfIssuesFound_Singular" xml:space="preserve">
<value>Inspections Rubberduck - {0}
{1} problème trouvé.</value>
</data>
<data name="CodeInspections_Inspecting" xml:space="preserve">
<value>Inspection...</value>
</data>
<data name="CodeInspections_NumberOfIssuesFound_Plural" xml:space="preserve">
<value>Inspections Rubberduck - {0}
{1} problèmes trouvés.</value>
</data>
<data name="CodeInspectionSettingsPage_InspectionSeveritySettingsLabel" xml:space="preserve">
<value>Niveau de sévérité</value>
</data>
<data name="CodeInspectionSettingsPage_WhitelistedIdentifiersLabel" xml:space="preserve">
<value>Identifiants permis</value>
</data>
<data name="CodeInspectionSettingsPage_Misc" xml:space="preserve">
<value>Autres options</value>
</data>
<data name="CodeInspectionSettingsPage_Misc_RunInspectionsOnSuccessfulParse" xml:space="preserve">
<value>Exécuter les inspections automatiquement</value>
</data>
<data name="CodeInspectionSettingsPage_WhitelistedIdentifiersDescription" xml:space="preserve">
<value>L'inspection des noms ignorera ces identifiants.</value>
</data>
<data name="CodeMetrics_Lines" xml:space="preserve">
<value>Lignes</value>
</data>
<data name="CodeMetrics_Complexity" xml:space="preserve">
<value>Complexité Cyclomatique</value>
</data>
<data name="CodeMetrics_Nesting" xml:space="preserve">
<value>Imbrication</value>
</data>
<data name="CodeMetricsDockablePresenter_Caption" xml:space="preserve">
<value>Statistiques</value>
</data>
<data name="CodeInspections" xml:space="preserve">
<value>Inspections</value>
</data>
<data name="Command_Reparse_CompileOnDemandEnabled" xml:space="preserve">
<value>L'option VBE "Compile on demand" est présentement activée. Cette configuration n'est pas recommandée, puisqu'elle peut masquer des erreurs de compilation in interférer avec l'analyse. Poursuivre l'analyse?</value>
</data>
<data name="Command_Reparse_CompileOnDemandEnabled_Caption" xml:space="preserve">
<value>Paramètre "Compile on demand"</value>
</data>
<data name="Command_Reparse_CannotCompile_Caption" xml:space="preserve">
<value>La compilation a échoué.</value>
</data>
<data name="Command_Reparse_CannotCompile" xml:space="preserve">
<value>Les projets suivants ne peuvent être compilés, ce qui causera probablement des erreurs d'analyse. Continuer? {0}</value>
</data>
<data name="DeclarationType_BracketedExpression" xml:space="preserve">
<value>expression résolue à l'exécution</value>
</data>
<data name="DeclarationType_ClassModule" xml:space="preserve">
<value>la classe</value>
</data>
<data name="DeclarationType_Constant" xml:space="preserve">
<value>la constante</value>
</data>
<data name="DeclarationType_Control" xml:space="preserve">
<value>le contrôle</value>
</data>
<data name="DeclarationType_Enumeration" xml:space="preserve">
<value>l'énumération</value>
</data>
<data name="DeclarationType_EnumerationMember" xml:space="preserve">
<value>le membre de l'énumération</value>
</data>
<data name="DeclarationType_Event" xml:space="preserve">
<value>l'événement</value>
</data>
<data name="DeclarationType_Function" xml:space="preserve">
<value>la fonction</value>
</data>
<data name="DeclarationType_LibraryFunction" xml:space="preserve">
<value>la fonction externe</value>
</data>
<data name="DeclarationType_LibraryProcedure" xml:space="preserve">
<value>la procédure externe</value>
</data>
<data name="DeclarationType_LineLabel" xml:space="preserve">
<value>l'étiquette de ligne</value>
</data>
<data name="DeclarationType_Parameter" xml:space="preserve">
<value>le paramètre</value>
</data>
<data name="DeclarationType_ProceduralModule" xml:space="preserve">
<value>le module</value>
</data>
<data name="DeclarationType_Procedure" xml:space="preserve">
<value>la procédure</value>
</data>
<data name="DeclarationType_Project" xml:space="preserve">
<value>le projet</value>
</data>
<data name="DeclarationType_PropertyGet" xml:space="preserve">
<value>l'accesseur property get</value>
</data>
<data name="DeclarationType_PropertyLet" xml:space="preserve">
<value>l'accesseur property let</value>
</data>
<data name="DeclarationType_PropertySet" xml:space="preserve">
<value>l'accesseur property set</value>
</data>
<data name="DeclarationType_UserDefinedType" xml:space="preserve">
<value>le type définit par l'utilisateur</value>
</data>
<data name="DeclarationType_UserDefinedTypeMember" xml:space="preserve">
<value>le membre d'un type définit par l'utilisateur</value>
</data>
<data name="DeclarationType_Variable" xml:space="preserve">
<value>la variable</value>
</data>
<data name="EasterEgg_Continuator" xml:space="preserve">
<value>Vous obtenez le badge "Continuator"!</value>
</data>
<data name="EmptyLineHandling_Indent" xml:space="preserve">
<value>Indenter</value>
</data>
<data name="EmptyLineHandling_Remove" xml:space="preserve">
<value>Supprimer</value>
</data>
<data name="EmptyLineHandling_Ignore" xml:space="preserve">
<value>Ignorer</value>
</data>
<data name="GroupingGrid_Filter" xml:space="preserve">
<value>Filtrer</value>
</data>
<data name="CodeInspectionSettingsPage_FilterByDescription" xml:space="preserve">
<value>Description:</value>
</data>
<data name="CodeInspectionSettingsPage_FilterBySeverity" xml:space="preserve">
<value>Sévérité:</value>
</data>
</root>
266 changes: 266 additions & 0 deletions Rubberduck.CodeAnalysis/CodeAnalysisUI.it.resx
Original file line number Diff line number Diff line change
@@ -0,0 +1,266 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="CodeMetrics_Complexity" xml:space="preserve">
<value>Complessità Ciclomatica</value>
</data>
<data name="CodeMetrics_Lines" xml:space="preserve">
<value>Righe</value>
</data>
<data name="CodeMetrics_Nesting" xml:space="preserve">
<value>Annidamenti Massimi</value>
</data>
<data name="CodeInspectionResults_Type" xml:space="preserve">
<value>Tipo</value>
</data>
<data name="CodeInspectionResults_Location" xml:space="preserve">
<value>Posizione</value>
</data>
<data name="CodeInspectionResults_Issue" xml:space="preserve">
<value>Problema</value>
</data>
<data name="Command_Reparse_CompileOnDemandEnabled_Caption" xml:space="preserve">
<value>Impostazione Compila su Richiesta</value>
</data>
<data name="Command_Reparse_CompileOnDemandEnabled" xml:space="preserve">
<value>L'impostazione "Compila su richiesta" di VBE è attualmente abilitata. Questo non è raccomandato perché può nascondere errori di compilazione e causare problemi con l'analisi. Vuoi analizzare comunque?</value>
</data>
<data name="Command_Reparse_CannotCompile_Caption" xml:space="preserve">
<value>Impossibile compilare per l'analisi.</value>
</data>
<data name="Command_Reparse_CannotCompile" xml:space="preserve">
<value>Il/i seguente/i progetto/i non può/possono essere compilato/i, con probabile errore dell'analisi. Continuare comunque? {0}</value>
</data>
<data name="GroupingGrid_Filter" xml:space="preserve">
<value>Filtra</value>
</data>
<data name="EmptyLineHandling_Remove" xml:space="preserve">
<value>Rimuovi</value>
</data>
<data name="EmptyLineHandling_Indent" xml:space="preserve">
<value>Indenta</value>
</data>
<data name="EmptyLineHandling_Ignore" xml:space="preserve">
<value>Ignora</value>
</data>
<data name="EasterEgg_Continuator" xml:space="preserve">
<value>Hai guadagnato il badge di "Continuatore"!</value>
</data>
<data name="DeclarationType_Variable" xml:space="preserve">
<value>variabile</value>
</data>
<data name="DeclarationType_UserDefinedTypeMember" xml:space="preserve">
<value>membro di tipo definito dall'utente</value>
</data>
<data name="DeclarationType_UserDefinedType" xml:space="preserve">
<value>tipo definito dall'utente</value>
</data>
<data name="DeclarationType_PropertySet" xml:space="preserve">
<value>property set accessor</value>
</data>
<data name="DeclarationType_PropertyLet" xml:space="preserve">
<value>property let accessor</value>
</data>
<data name="DeclarationType_PropertyGet" xml:space="preserve">
<value>property get accessor</value>
</data>
<data name="DeclarationType_Project" xml:space="preserve">
<value>progetto</value>
</data>
<data name="DeclarationType_Procedure" xml:space="preserve">
<value>procedura</value>
</data>
<data name="DeclarationType_ProceduralModule" xml:space="preserve">
<value>modulo</value>
</data>
<data name="DeclarationType_Parameter" xml:space="preserve">
<value>parametro</value>
</data>
<data name="DeclarationType_LineLabel" xml:space="preserve">
<value>riga di etichetta</value>
</data>
<data name="DeclarationType_LibraryProcedure" xml:space="preserve">
<value>libreria di procedura</value>
</data>
<data name="DeclarationType_LibraryFunction" xml:space="preserve">
<value>libreria di funzione</value>
</data>
<data name="DeclarationType_Function" xml:space="preserve">
<value>funzione</value>
</data>
<data name="DeclarationType_Event" xml:space="preserve">
<value>evento</value>
</data>
<data name="DeclarationType_EnumerationMember" xml:space="preserve">
<value>membro di enum</value>
</data>
<data name="DeclarationType_Enumeration" xml:space="preserve">
<value>enum</value>
</data>
<data name="DeclarationType_Control" xml:space="preserve">
<value>controllo</value>
</data>
<data name="DeclarationType_Constant" xml:space="preserve">
<value>costante</value>
</data>
<data name="DeclarationType_ClassModule" xml:space="preserve">
<value>classe</value>
</data>
<data name="DeclarationType_BracketedExpression" xml:space="preserve">
<value>espressione a runtime</value>
</data>
<data name="CodeMetricsDockablePresenter_Caption" xml:space="preserve">
<value>Statistiche</value>
</data>
<data name="CodeInspections_NumberOfIssuesFound_Singular" xml:space="preserve">
<value>Rubberduck Ispezioni del Codice - {0}
{1} problema trovato.</value>
</data>
<data name="CodeInspections_NumberOfIssuesFound_Plural" xml:space="preserve">
<value>Rubberduck Ispezioni del Codice - {0}
{1} problemi trovati.</value>
</data>
<data name="CodeInspections_Inspecting" xml:space="preserve">
<value>Ispezione...</value>
</data>
<data name="CodeInspections" xml:space="preserve">
<value>Ispezioni del Codice</value>
</data>
<data name="CodeInspectionSettingsPage_FilterBySeverity" xml:space="preserve">
<value>Gravità:</value>
</data>
<data name="CodeInspectionSettingsPage_FilterByDescription" xml:space="preserve">
<value>Descrizione:</value>
</data>
<data name="CodeInspectionSettingsPage_InspectionSeveritySettingsLabel" xml:space="preserve">
<value>Gravità dell'ispezione</value>
</data>
<data name="CodeInspectionSettingsPage_Misc_RunInspectionsOnSuccessfulParse" xml:space="preserve">
<value>Esegui le ispezioni automaticamente ad analisi superata</value>
</data>
<data name="CodeInspectionSettingsPage_Misc" xml:space="preserve">
<value>Varie</value>
</data>
<data name="CodeInspectionSettingsPage_WhitelistedIdentifiersLabel" xml:space="preserve">
<value>Identificatori Consentiti</value>
</data>
<data name="CodeInspectionSettingsPage_WhitelistedIdentifiersDescription" xml:space="preserve">
<value>Questi identificatori saranno ignorati dall'ispezione 'Usa nomi significativi'.</value>
</data>
</root>
248 changes: 248 additions & 0 deletions Rubberduck.CodeAnalysis/CodeAnalysisUI.resx
Original file line number Diff line number Diff line change
@@ -0,0 +1,248 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 1.3
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">1.3</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1">this is my long string</data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
[base64 mime encoded serialized .NET Framework object]
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
[base64 mime encoded string representing a byte array form of the .NET Framework object]
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>1.3</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.3500.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.3500.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="CodeInspectionResults_Type" xml:space="preserve">
<value>Type</value>
</data>
<data name="CodeInspectionResults_Issue" xml:space="preserve">
<value>Issue</value>
</data>
<data name="CodeInspectionResults_Location" xml:space="preserve">
<value>Location</value>
</data>
<data name="CodeInspections_NumberOfIssuesFound_Singular" xml:space="preserve">
<value>Rubberduck Code Inspections - {0}
{1} issue found.</value>
<comment>{0}=timestamp; {1}=number</comment>
</data>
<data name="CodeInspections_Inspecting" xml:space="preserve">
<value>Inspecting...</value>
</data>
<data name="CodeInspections_NumberOfIssuesFound_Plural" xml:space="preserve">
<value>Rubberduck Code Inspections - {0}
{1} issues found.</value>
<comment>{0}=timestamp; {1}=number</comment>
</data>
<data name="CodeInspectionSettingsPage_InspectionSeveritySettingsLabel" xml:space="preserve">
<value>Inspection Severities</value>
</data>
<data name="CodeInspectionSettingsPage_WhitelistedIdentifiersLabel" xml:space="preserve">
<value>Allowed Identifiers</value>
</data>
<data name="CodeInspectionSettingsPage_Misc" xml:space="preserve">
<value>Miscellaneous</value>
</data>
<data name="CodeInspectionSettingsPage_Misc_RunInspectionsOnSuccessfulParse" xml:space="preserve">
<value>Run inspections automatically on successful parse</value>
</data>
<data name="CodeInspectionSettingsPage_WhitelistedIdentifiersDescription" xml:space="preserve">
<value>These identifiers will be ignored by the 'Use meaningful names' inspection.</value>
</data>
<data name="CodeMetrics_Lines" xml:space="preserve">
<value>Lines</value>
</data>
<data name="CodeMetrics_Complexity" xml:space="preserve">
<value>Cyclomatic Complexity</value>
</data>
<data name="CodeMetrics_Nesting" xml:space="preserve">
<value>Maximum Nesting</value>
</data>
<data name="CodeMetricsDockablePresenter_Caption" xml:space="preserve">
<value>Code Metrics</value>
</data>
<data name="CodeInspections" xml:space="preserve">
<value>Code Inspections</value>
</data>
<data name="Command_Reparse_CompileOnDemandEnabled" xml:space="preserve">
<value>The VBE setting "Compile On Demand" is currently enabled. This is not recommended as this may hide compilation errors and cause problems with parsing. Do you want to parse anyway?</value>
</data>
<data name="Command_Reparse_CompileOnDemandEnabled_Caption" xml:space="preserve">
<value>Compile On Demand Setting</value>
</data>
<data name="Command_Reparse_CannotCompile_Caption" xml:space="preserve">
<value>Unable to compile for parsing.</value>
</data>
<data name="Command_Reparse_CannotCompile" xml:space="preserve">
<value>The following project(s) cannot be compiled, which will most likely result in parser errors. Continue anyway? {0}</value>
</data>
<data name="DeclarationType_BracketedExpression" xml:space="preserve">
<value>runtime expression</value>
</data>
<data name="DeclarationType_ClassModule" xml:space="preserve">
<value>class</value>
</data>
<data name="DeclarationType_Constant" xml:space="preserve">
<value>constant</value>
</data>
<data name="DeclarationType_Control" xml:space="preserve">
<value>control</value>
</data>
<data name="DeclarationType_Enumeration" xml:space="preserve">
<value>enum</value>
</data>
<data name="DeclarationType_EnumerationMember" xml:space="preserve">
<value>enum member</value>
</data>
<data name="DeclarationType_Event" xml:space="preserve">
<value>event</value>
</data>
<data name="DeclarationType_Function" xml:space="preserve">
<value>function</value>
</data>
<data name="DeclarationType_LibraryFunction" xml:space="preserve">
<value>library function</value>
</data>
<data name="DeclarationType_LibraryProcedure" xml:space="preserve">
<value>library procedure</value>
</data>
<data name="DeclarationType_LineLabel" xml:space="preserve">
<value>line label</value>
</data>
<data name="DeclarationType_Parameter" xml:space="preserve">
<value>parameter</value>
</data>
<data name="DeclarationType_ProceduralModule" xml:space="preserve">
<value>module</value>
</data>
<data name="DeclarationType_Procedure" xml:space="preserve">
<value>procedure</value>
</data>
<data name="DeclarationType_Project" xml:space="preserve">
<value>project</value>
</data>
<data name="DeclarationType_PropertyGet" xml:space="preserve">
<value>property get accessor</value>
</data>
<data name="DeclarationType_PropertyLet" xml:space="preserve">
<value>property let accessor</value>
</data>
<data name="DeclarationType_PropertySet" xml:space="preserve">
<value>property set accessor</value>
</data>
<data name="DeclarationType_UserDefinedType" xml:space="preserve">
<value>user-defined type</value>
</data>
<data name="DeclarationType_UserDefinedTypeMember" xml:space="preserve">
<value>user-defined type member</value>
</data>
<data name="DeclarationType_Variable" xml:space="preserve">
<value>variable</value>
</data>
<data name="EasterEgg_Continuator" xml:space="preserve">
<value>You've earned the "Continuator" badge!</value>
</data>
<data name="EmptyLineHandling_Indent" xml:space="preserve">
<value>Indent</value>
</data>
<data name="EmptyLineHandling_Remove" xml:space="preserve">
<value>Remove</value>
</data>
<data name="EmptyLineHandling_Ignore" xml:space="preserve">
<value>Ignore</value>
</data>
<data name="GroupingGrid_Filter" xml:space="preserve">
<value>Filter</value>
</data>
<data name="CodeInspectionSettingsPage_FilterByDescription" xml:space="preserve">
<value>Description:</value>
</data>
<data name="CodeInspectionSettingsPage_FilterBySeverity" xml:space="preserve">
<value>Severity:</value>
</data>
</root>
Original file line number Diff line number Diff line change
@@ -21,74 +21,6 @@ protected IdentifierReferenceInspectionFromDeclarationsBase(IDeclarationFinderPr

protected virtual ICollection<string> DisabledQuickFixes(IdentifierReference reference) => new List<string>();

/// <summary>
/// Gets the possible <see cref="Declaration"/> that qualifies an identifier reference in a member access expression.
/// </summary>
protected IEnumerable<Declaration> GetQualifierCandidates(IdentifierReference reference, DeclarationFinder finder)
{
if (reference.Context.TryGetAncestor<VBAParser.MemberAccessExprContext>(out var memberAccess))
{
var parentModule = Declaration.GetModuleParent(reference.ParentScoping);
var qualifyingExpression = memberAccess.lExpression();
if (qualifyingExpression is VBAParser.SimpleNameExprContext simpleName)
{
if (simpleName.GetText().Equals(Tokens.Me, System.StringComparison.InvariantCultureIgnoreCase))
{
// qualifier is 'Me'
return new[] { parentModule };
}

// todo get the actual qualifying declaration?
return finder.MatchName(simpleName.GetText())
.Where(candidate => !candidate.IdentifierName.Equals(reference.Declaration.IdentifierName, System.StringComparison.InvariantCultureIgnoreCase));
}

if (qualifyingExpression.ChildCount == 1 && qualifyingExpression.GetText().Equals(Tokens.Me, System.StringComparison.InvariantCultureIgnoreCase))
{
// qualifier is 'Me'
return new[] { parentModule };
}
}

if (reference.Context.TryGetAncestor<VBAParser.WithMemberAccessExprContext>(out var dot))
{
// qualifier is a With block
var withBlock = dot.GetAncestor<VBAParser.WithStmtContext>();
return finder.ContainedIdentifierReferences(new QualifiedSelection(reference.QualifiedModuleName, withBlock.GetSelection()))
.Select(r => r.Declaration).Distinct()
.Where(candidate => !candidate.Equals(reference.Declaration));
}

if (reference.Context.TryGetAncestor<VBAParser.CallStmtContext>(out var callStmt))
{
if (reference.Context.TryGetAncestor<VBAParser.LExpressionContext>(out var lExpression))
{
// reference is in lexpression of a call statement

if (lExpression is VBAParser.MemberAccessExprContext member)
{
if (member.lExpression() is VBAParser.SimpleNameExprContext name)
{
if (reference.IdentifierName.Equals(name.identifier().GetText(), System.StringComparison.InvariantCultureIgnoreCase))
{
// unqualified
return Enumerable.Empty<Declaration>();
}

return finder.MatchName(name.identifier().GetText())
.Where(candidate => !candidate.Equals(reference.Declaration));
}

// todo get the actual qualifying declaration?
return finder.MatchName(member.lExpression().children.First().GetText())
.Where(candidate => !candidate.Equals(reference.Declaration));
}
}
}

return Enumerable.Empty<Declaration>();
}

protected override IEnumerable<IInspectionResult> DoGetInspectionResults(DeclarationFinder finder)
{
var objectionableReferences = ObjectionableReferences(finder);
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System.Collections.Generic;
using System;
using System.Collections.Generic;
using System.Linq;
using Rubberduck.Parsing.Symbols;
using Rubberduck.Parsing.VBA;
@@ -22,40 +23,27 @@ internal ImplicitWorkbookReferenceInspectionBase(IDeclarationFinderProvider decl
"_Global", "_Application", "Global", "Application", "_Workbook", "Workbook"
};

private IReadOnlyList<ModuleDeclaration> _relevantClasses;
private IReadOnlyList<PropertyGetDeclaration> _relevantProperties;

protected Declaration Excel { get; private set; }
protected Declaration Excel(DeclarationFinder finder)
{
return finder.BuiltInDeclarations(DeclarationType.Project)
.FirstOrDefault(project => project.IdentifierName.Equals("Excel", StringComparison.InvariantCultureIgnoreCase));
}

protected override IEnumerable<Declaration> ObjectionableDeclarations(DeclarationFinder finder)
{
if (Excel == null)
{
if (!finder.TryFindProjectDeclaration("Excel", out var excel))
{
return Enumerable.Empty<Declaration>();
}
Excel = excel;
}

if (_relevantClasses == null)
{
_relevantClasses = InterestingClasses
.Select(className => finder.FindClassModule(className, Excel, true))
.OfType<ModuleDeclaration>()
.ToList();
}

if (_relevantProperties == null)
{
_relevantProperties = _relevantClasses
.SelectMany(classDeclaration => classDeclaration.Members)
.OfType<PropertyGetDeclaration>()
.Where(member => InterestingMembers.Contains(member.IdentifierName))
.ToList();
}

return _relevantProperties;
var excel = Excel(finder);
var relevantClasses = InterestingClasses
.Select(className => finder.FindClassModule(className, excel, true))
.OfType<ModuleDeclaration>()
.ToList();

var relevantProperties = relevantClasses
.SelectMany(classDeclaration => classDeclaration.Members)
.OfType<PropertyGetDeclaration>()
.Where(member => InterestingMembers.Contains(member.IdentifierName))
.ToList();

return relevantProperties;
}
}
}
Original file line number Diff line number Diff line change
@@ -55,7 +55,7 @@ protected InspectionBase(IDeclarationFinderProvider declarationFinderProvider)
/// Gets a localized string representing the type of inspection.
/// <see cref="InspectionType"/>
/// </summary>
public virtual string InspectionTypeName => Resources.Inspections.InspectionsUI.ResourceManager.GetString($"CodeInspectionSettings_{InspectionType.ToString()}", CultureInfo.CurrentUICulture);
public virtual string InspectionTypeName => Resources.Inspections.InspectionsUI.ResourceManager.GetString($"CodeInspectionSettings_{InspectionType}", CultureInfo.CurrentUICulture);

/// <summary>
/// Gets a string representing the text that must be present in an
Original file line number Diff line number Diff line change
@@ -73,7 +73,7 @@ private static bool IsInterfaceDeclaration(Declaration declaration)
protected override string ResultDescription(Declaration declaration)
{
var qualifiedName = declaration.QualifiedModuleName.ToString();
var declarationType = Resources.RubberduckUI.ResourceManager
var declarationType = CodeAnalysisUI.ResourceManager
.GetString("DeclarationType_" + declaration.DeclarationType)
.Capitalize();
var identifierName = declaration.IdentifierName;
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
using System.Collections.Generic;
using System.Linq;
using Rubberduck.CodeAnalysis.Inspections.Abstract;
using Rubberduck.CodeAnalysis.Inspections.Attributes;
@@ -45,46 +44,37 @@ internal sealed class ImplicitActiveWorkbookReferenceInspection : ImplicitWorkbo
public ImplicitActiveWorkbookReferenceInspection(IDeclarationFinderProvider declarationFinderProvider)
: base(declarationFinderProvider) { }

private IReadOnlyList<Declaration> _applicationCandidates;

protected override bool IsResultReference(IdentifierReference reference, DeclarationFinder finder)
{
var qualifiers = base.GetQualifierCandidates(reference, finder);
var isQualified = qualifiers.Any();
var document = Declaration.GetModuleParent(reference.ParentNonScoping) as DocumentModuleDeclaration;

var isHostWorkbook = (document?.SupertypeNames.Contains("Workbook") ?? false)
&& (document?.ProjectId?.Equals(reference.QualifiedModuleName.ProjectId) ?? false);

var isQualified = reference.QualifyingReference != null;
if (!isQualified)
{
var document = Declaration.GetModuleParent(reference.ParentNonScoping) as DocumentModuleDeclaration;

var isHostWorkbook = (document?.SupertypeNames.Contains("Workbook") ?? false)
&& (document?.ProjectId?.Equals(reference.QualifiedModuleName.ProjectId) ?? false);

// unqualified calls aren't referring to ActiveWorkbook only inside a Workbook module:
return !isHostWorkbook;
}
else

if (reference.QualifyingReference.Declaration == null)
{
if (_applicationCandidates == null)
{
var applicationClass = finder.FindClassModule("Application", base.Excel, includeBuiltIn: true);
// note: underscored declarations would be for unqualified calls
var workbookClass = finder.FindClassModule("Workbook", base.Excel, includeBuiltIn: true);
var worksheetClass = finder.FindClassModule("Worksheet", base.Excel, includeBuiltIn: true);
var hostBook = finder.UserDeclarations(DeclarationType.Document)
.Cast<DocumentModuleDeclaration>()
.SingleOrDefault(doc => doc.ProjectId.Equals(reference.QualifiedModuleName.ProjectId)
&& doc.SupertypeNames.Contains("Workbook"));
//This should really only happen on unbound member calls and then the current reference would also be unbound.
//So, if we end up here, we have no idea and bail out.
return false;
}

_applicationCandidates = finder.MatchName("Application")
.Where(m => m.Equals(applicationClass)
|| (m.ParentDeclaration.Equals(workbookClass) && m.DeclarationType.HasFlag(DeclarationType.PropertyGet))
|| (m.ParentDeclaration.Equals(worksheetClass) && m.DeclarationType.HasFlag(DeclarationType.PropertyGet))
|| (m.ParentDeclaration.Equals(hostBook) && m.DeclarationType.HasFlag(DeclarationType.PropertyGet)))
.ToList();
}
var excelProjectId = Excel(finder).ProjectId;
var applicationCandidates = finder.MatchName("Application")
.Where(m => m.ProjectId.Equals(excelProjectId)
&& ( m.DeclarationType == DeclarationType.PropertyGet
|| m.DeclarationType == DeclarationType.ClassModule));

// qualified calls are referring to ActiveWorkbook if qualifier is the Application object:
return _applicationCandidates.Any(candidate => qualifiers.Any(q => q.Equals(candidate)));
}
var qualifyingDeclaration = reference.QualifyingReference.Declaration;

// qualified calls are referring to ActiveWorkbook if qualifier is the Application object:
return applicationCandidates.Any(candidate => qualifyingDeclaration.Equals(candidate));
}

protected override string ResultDescription(IdentifierReference reference)
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
using System.Collections.Generic;
using System.Linq;
using Antlr4.Runtime;
using Rubberduck.CodeAnalysis.Inspections.Abstract;
using Rubberduck.CodeAnalysis.Inspections.Attributes;
using Rubberduck.Parsing;
using Rubberduck.Parsing.Grammar;
using Rubberduck.Parsing.Symbols;
using Rubberduck.Parsing.VBA;
using Rubberduck.Parsing.VBA.DeclarationCaching;
@@ -61,10 +58,9 @@ protected override IEnumerable<Declaration> ObjectionableDeclarations(Declaratio

protected override bool IsResultReference(IdentifierReference reference, DeclarationFinder finder)
{
var qualifiers = base.GetQualifierCandidates(reference, finder);
return Declaration.GetModuleParent(reference.ParentScoping) is DocumentModuleDeclaration document
&& document.SupertypeNames.Contains("Workbook")
&& !qualifiers.Any();
&& document.SupertypeNames.Contains("Workbook")
&& reference.QualifyingReference == null;
}

protected override string ResultDescription(IdentifierReference reference)
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using System.Linq;
using Rubberduck.CodeAnalysis.Inspections.Abstract;
using Rubberduck.CodeAnalysis.Inspections.Attributes;
using Rubberduck.Parsing;
using Rubberduck.Parsing.Symbols;
using Rubberduck.Parsing.VBA;
using Rubberduck.Parsing.VBA.DeclarationCaching;
@@ -48,7 +47,7 @@ protected override bool IsResultReference(IdentifierReference reference, Declara
{
return Declaration.GetModuleParent(reference.ParentNonScoping) is DocumentModuleDeclaration document
&& document.SupertypeNames.Contains("Worksheet")
&& !(reference.Context.Parent is Parsing.Grammar.VBAParser.MemberAccessExprContext); // if it's qualified, it's not an implicit reference
&& reference.QualifyingReference == null; // if it's qualified, it's not an implicit reference
}

protected override string ResultDescription(IdentifierReference reference)
Original file line number Diff line number Diff line change
@@ -3,7 +3,6 @@
using Rubberduck.Parsing;
using Rubberduck.Parsing.Grammar;
using Rubberduck.Parsing.VBA;
using Rubberduck.Resources;

namespace Rubberduck.CodeAnalysis.Inspections.Concrete
{
@@ -48,7 +47,7 @@ protected override string ResultDescription(QualifiedContext<VBAParser.ArgContex
var parameterText = context.Context.unrestrictedIdentifier().GetText();
return string.Format(
context.Context.GetSelection().LineCount > 3
? RubberduckUI.EasterEgg_Continuator
? CodeAnalysisUI.EasterEgg_Continuator
: Resources.Inspections.InspectionResults.MultilineParameterInspection,
parameterText);
}
Original file line number Diff line number Diff line change
@@ -71,7 +71,8 @@ private bool IsAssignedByRefArgument(Declaration enclosingProcedure, IdentifierR
return false;
}

var parameter = finder.FindParameterOfNonDefaultMemberFromSimpleArgumentNotPassedByValExplicitly(argExpression, enclosingProcedure);
var argument = argExpression.GetAncestor<VBAParser.ArgumentContext>();
var parameter = finder.FindParameterOfNonDefaultMemberFromSimpleArgumentNotPassedByValExplicitly(argument, enclosingProcedure);

// note: not recursive, by design.
return parameter != null
Original file line number Diff line number Diff line change
@@ -142,7 +142,8 @@ private static bool IsPotentiallyAssignedByRefArgument(QualifiedModuleName modul
return false;
}

var parameter = finder.FindParameterOfNonDefaultMemberFromSimpleArgumentNotPassedByValExplicitly(argExpression, module);
var argument = argExpression.GetAncestor<VBAParser.ArgumentContext>();
var parameter = finder.FindParameterOfNonDefaultMemberFromSimpleArgumentNotPassedByValExplicitly(argument, module);

if (parameter == null)
{
Original file line number Diff line number Diff line change
@@ -114,7 +114,7 @@ private static bool TryFindParameterIndex(ParameterDeclaration parameter, IParam

private static bool ParameterAtIndexIsNotUsed(IParameterizedDeclaration declaration, int parameterIndex)
{
var parameter = declaration.Parameters.ElementAtOrDefault(parameterIndex);
var parameter = declaration?.Parameters.ElementAtOrDefault(parameterIndex);
return parameter != null
&& !parameter.References.Any();
}
Original file line number Diff line number Diff line change
@@ -88,7 +88,8 @@ private static bool IsUsageAsAssignedToByRefArgument(IdentifierReference referen
return false;
}

var parameter = finder.FindParameterOfNonDefaultMemberFromSimpleArgumentNotPassedByValExplicitly(argExpression, reference.QualifiedModuleName);
var argument = argExpression.GetAncestor<VBAParser.ArgumentContext>();
var parameter = finder.FindParameterOfNonDefaultMemberFromSimpleArgumentNotPassedByValExplicitly(argument, reference.QualifiedModuleName);

if (parameter == null)
{
Original file line number Diff line number Diff line change
@@ -155,7 +155,8 @@ private static bool IsAssignedByRefArgument(Declaration enclosingProcedure, Iden
return false;
}

var parameter = finder.FindParameterOfNonDefaultMemberFromSimpleArgumentNotPassedByValExplicitly(argExpression, enclosingProcedure);
var argument = argExpression.GetAncestor<VBAParser.ArgumentContext>();
var parameter = finder.FindParameterOfNonDefaultMemberFromSimpleArgumentNotPassedByValExplicitly(argument, enclosingProcedure);

// note: not recursive, by design.
return parameter != null
Original file line number Diff line number Diff line change
@@ -98,23 +98,24 @@ public UnreachableCaseInspector(

private UnreachableCaseInspection.CaseInspectionResultType? InvalidRangeExpressionsType(ICollection<IRangeClauseExpression> rangeClauseExpressions)
{
if (rangeClauseExpressions.Any(expr => expr.IsMismatch))
var usableClauses = rangeClauseExpressions.Where(expr => expr != null).ToList();
if (usableClauses.Any(expr => expr.IsMismatch))
{
return UnreachableCaseInspection.CaseInspectionResultType.MismatchType;
}

if (rangeClauseExpressions.Any(expr => expr.IsOverflow))
if (usableClauses.Any(expr => expr.IsOverflow))
{
return UnreachableCaseInspection.CaseInspectionResultType.Overflow;
}

if (rangeClauseExpressions.All(expr => expr.IsInherentlyUnreachable))
if (usableClauses.All(expr => expr.IsInherentlyUnreachable))
{
return UnreachableCaseInspection.CaseInspectionResultType.InherentlyUnreachable;
}

if (rangeClauseExpressions.All(expr =>
expr.IsUnreachable || expr.IsMismatch || expr.IsOverflow || expr.IsInherentlyUnreachable))
if (usableClauses.All(expr =>
expr.IsUnreachable || expr.IsMismatch|| expr.IsOverflow || expr.IsInherentlyUnreachable))
{
return UnreachableCaseInspection.CaseInspectionResultType.Unreachable;
}
Original file line number Diff line number Diff line change
@@ -69,7 +69,8 @@ private static bool IsAssignedByRefArgument(Declaration enclosingProcedure, Iden
return false;
}

var parameter = finder.FindParameterOfNonDefaultMemberFromSimpleArgumentNotPassedByValExplicitly(argExpression, enclosingProcedure);
var argument = argExpression.GetAncestor<VBAParser.ArgumentContext>();
var parameter = finder.FindParameterOfNonDefaultMemberFromSimpleArgumentNotPassedByValExplicitly(argument, enclosingProcedure);

// note: not recursive, by design.
return parameter != null
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System.Globalization;
using Rubberduck.Parsing.Symbols;
using Rubberduck.Resources;

namespace Rubberduck.CodeAnalysis.Inspections.Extensions
{
@@ -9,7 +8,7 @@ public static class DeclarationTypeExtensions
//ToDo: Move this to resources. (This will require moving resource lookups to Core.)
public static string ToLocalizedString(this DeclarationType type)
{
return RubberduckUI.ResourceManager.GetString("DeclarationType_" + type, CultureInfo.CurrentUICulture);
return CodeAnalysisUI.ResourceManager.GetString("DeclarationType_" + type, CultureInfo.CurrentUICulture);
}
}
}
2 changes: 1 addition & 1 deletion Rubberduck.CodeAnalysis/Inspections/Logistics/Inspector.cs
Original file line number Diff line number Diff line change
@@ -63,7 +63,7 @@ public async Task<IEnumerable<IInspectionResult>> FindIssuesAsync(RubberduckPars
}
token.ThrowIfCancellationRequested();

state.OnStatusMessageUpdate(RubberduckUI.CodeInspections_Inspecting);
state.OnStatusMessageUpdate(CodeAnalysisUI.CodeInspections_Inspecting);
var allIssues = new ConcurrentBag<IInspectionResult>();
token.ThrowIfCancellationRequested();

226 changes: 111 additions & 115 deletions Rubberduck.CodeAnalysis/Properties/CodeInspectionDefaults.Designer.cs

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -13,12 +13,10 @@
&lt;CodeInspection Name="EmptyStringLiteralInspection" Severity="Warning" InspectionType="LanguageOpportunities" /&gt;
&lt;CodeInspection Name="ImplicitByRefModifierInspection" Severity="Hint" InspectionType="CodeQualityIssues" /&gt;
&lt;CodeInspection Name="FunctionReturnValueNotUsedInspection" Severity="Warning" InspectionType="CodeQualityIssues" /&gt;
&lt;CodeInspection Name="IllegalAnnotationInspection" Severity="Error" InspectionType="RubberduckOpportunities" /&gt;
&lt;CodeInspection Name="RedundantByRefModifierInspection" Severity="DoNotShow" InspectionType="CodeQualityIssues" /&gt;
&lt;CodeInspection Name="MissingAttributeInspection" Severity="Warning" InspectionType="RubberduckOpportunities" /&gt;
&lt;CodeInspection Name="AttributeValueOutOfSyncInspection" Severity="Warning" InspectionType="RubberduckOpportunities" /&gt;
&lt;CodeInspection Name="AttributeOutOfSyncInspection" Severity="Warning" InspectionType="RubberduckOpportunities" /&gt;
&lt;CodeInspection Name="MissingAnnotationArgumentInspection" Severity="Error" InspectionType="CodeQualityIssues" /&gt;
&lt;CodeInspection Name="MissingMemberAnnotationInspection" Severity="Error" InspectionType="RubberduckOpportunities" /&gt;
&lt;CodeInspection Name="ModuleScopeDimKeywordInspection" Severity="Suggestion" InspectionType="LanguageOpportunities" /&gt;
&lt;CodeInspection Name="MultilineParameterInspection" Severity="Suggestion" InspectionType="MaintainabilityAndReadabilityIssues" /&gt;
&lt;CodeInspection Name="MultipleDeclarationsInspection" Severity="Warning" InspectionType="MaintainabilityAndReadabilityIssues" /&gt;
@@ -48,9 +46,7 @@
&lt;CodeInspection Name="HostSpecificExpressionInspection" Severity="Warning" InspectionType="LanguageOpportunities" /&gt;
&lt;CodeInspection Name="HungarianNotationInspection" Severity="Suggestion" InspectionType="MaintainabilityAndReadabilityIssues" /&gt;
&lt;CodeInspection Name="ImplicitActiveSheetReferenceInspection" Severity="Warning" InspectionType="LanguageOpportunities" /&gt;
&lt;CodeInspection Name="ImplicitContainingSheetReferenceInspection" Severity="Suggestion" InspectionType="LanguageOpportunities" /&gt;
&lt;CodeInspection Name="ImplicitActiveWorkbookReferenceInspection" Severity="Warning" InspectionType="LanguageOpportunities" /&gt;
&lt;CodeInspection Name="ImplicitContainingWorkbookReferenceInspection" Severity="Suggestion" InspectionType="LanguageOpportunities" /&gt;
&lt;CodeInspection Name="ImplicitDefaultMemberAssignmentInspection" Severity="Suggestion" InspectionType="LanguageOpportunities" /&gt;
&lt;CodeInspection Name="ImplicitPublicMemberInspection" Severity="Hint" InspectionType="LanguageOpportunities" /&gt;
&lt;CodeInspection Name="ImplicitVariantReturnTypeInspection" Severity="Hint" InspectionType="LanguageOpportunities" /&gt;
@@ -86,6 +82,8 @@
&lt;CodeInspection Name="AssignmentNotUsedInspection" Severity="Suggestion" InspectionType="CodeQualityIssues" /&gt;
&lt;CodeInspection Name="UnderscoreInPublicClassModuleMemberInspection" Severity="Warning" InspectionType="CodeQualityIssues" /&gt;
&lt;CodeInspection Name="ExcelUdfNameIsValidCellReferenceInspection" Severity="Warning" InspectionType="CodeQualityIssues" /&gt;
&lt;CodeInspection Name="EmptyMethodInspection" Severity="Warning" InspectionType="CodeQualityIssues" /&gt;
&lt;CodeInspection Name="ImplementedInterfaceMemberInspection" Severity="Suggestion" InspectionType="CodeQualityIssues" /&gt;
&lt;/CodeInspections&gt;
&lt;WhitelistedIdentifiers /&gt;
&lt;RunInspectionsOnSuccessfulParse&gt;true&lt;/RunInspectionsOnSuccessfulParse&gt;
Original file line number Diff line number Diff line change
@@ -2,6 +2,7 @@
using Rubberduck.CodeAnalysis.Inspections;
using Rubberduck.CodeAnalysis.Inspections.Concrete;
using Rubberduck.CodeAnalysis.QuickFixes.Abstract;
using Rubberduck.Refactorings;
using Rubberduck.Refactorings.Rename;
using Rubberduck.Resources;

@@ -64,9 +65,9 @@ protected override void Refactor(IInspectionResult result)

public override string Description(IInspectionResult result)
{
return string.Format(RubberduckUI.Rename_DeclarationType,
RubberduckUI.ResourceManager.GetString("DeclarationType_" + result.Target.DeclarationType,
CultureInfo.CurrentUICulture));
return string.Format(RefactoringsUI.Rename_DeclarationType,
RubberduckUI.ResourceManager.GetString("DeclarationType_" + result.Target.DeclarationType,
CultureInfo.CurrentUICulture));
}
}
}
12 changes: 12 additions & 0 deletions Rubberduck.CodeAnalysis/Rubberduck.CodeAnalysis.csproj
Original file line number Diff line number Diff line change
@@ -61,12 +61,24 @@
</PackageReference>
</ItemGroup>
<ItemGroup>
<Compile Update="CodeAnalysisUI.Designer.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>CodeAnalysisUI.resx</DependentUpon>
</Compile>
<Compile Update="Properties\CodeInspectionDefaults.Designer.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>CodeInspectionDefaults.settings</DependentUpon>
<DesignTimeSharedInput>True</DesignTimeSharedInput>
</Compile>
</ItemGroup>
<ItemGroup>
<EmbeddedResource Update="CodeAnalysisUI.resx">
<Generator>PublicResXFileCodeGenerator</Generator>
<LastGenOutput>CodeAnalysisUI.Designer.cs</LastGenOutput>
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<None Update="Properties\CodeInspectionDefaults.settings">
<Generator>PublicSettingsSingleFileGenerator</Generator>
232 changes: 154 additions & 78 deletions Rubberduck.CodeAnalysis/app.config

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions Rubberduck.Core/AddRemoveReferences/ReferenceReconciler.cs
Original file line number Diff line number Diff line change
@@ -137,7 +137,7 @@ public ReferenceModel TryAddReference(IVBProject project, string path)
}
catch (COMException ex)
{
_messageBox.NotifyWarn(ex.Message, RubberduckUI.References_AddFailedCaption);
_messageBox.NotifyWarn(ex.Message, AddRemoveReferencesUI.AddFailedCaption);
}
return null;
}
@@ -158,7 +158,7 @@ public ReferenceModel TryAddReference(IVBProject project, ReferenceModel referen
}
catch (COMException ex)
{
_messageBox.NotifyWarn(ex.Message, RubberduckUI.References_AddFailedCaption);
_messageBox.NotifyWarn(ex.Message, AddRemoveReferencesUI.AddFailedCaption);
}
return null;
}
7 changes: 4 additions & 3 deletions Rubberduck.Core/AddRemoveReferences/RegisteredLibraryInfo.cs
Original file line number Diff line number Diff line change
@@ -3,6 +3,7 @@
using System.Globalization;
using Path = System.IO.Path;
using System.Runtime.InteropServices.ComTypes;
using Rubberduck.UI.AddRemoveReferences;

namespace Rubberduck.AddRemoveReferences
{
@@ -24,7 +25,7 @@ public class RegisteredLibraryInfo
{
private static readonly Dictionary<int, string> NativeLocaleNames = new Dictionary<int, string>
{
{ 0, Resources.RubberduckUI.References_DefaultLocale }
{ 0, AddRemoveReferencesUI.DefaultLocale }
};

public RegisteredLibraryKey UniqueId { get; }
@@ -54,8 +55,8 @@ public string LocaleName
}
catch
{
NativeLocaleNames.Add(LocaleId, Resources.RubberduckUI.References_DefaultLocale);
return Resources.RubberduckUI.References_DefaultLocale;
NativeLocaleNames.Add(LocaleId, AddRemoveReferencesUI.DefaultLocale);
return AddRemoveReferencesUI.DefaultLocale;
}
}
}
16 changes: 9 additions & 7 deletions Rubberduck.Core/AppMenu.cs
Original file line number Diff line number Diff line change
@@ -2,6 +2,8 @@
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Threading;
using System.Threading.Tasks;
using NLog;
using Rubberduck.Parsing;
using Rubberduck.Parsing.VBA;
@@ -75,26 +77,26 @@ private void InitializeRubberduckMenus()
_logger.Error(exception);
}
}
EvaluateCanExecute(_parser.State);
EvaluateCanExecuteAsync(_parser.State, CancellationToken.None).Wait();
}

public void OnSelectedDeclarationChange(object sender, DeclarationChangedEventArgs e)
public async void OnSelectedDeclarationChange(object sender, DeclarationChangedEventArgs e)
{
EvaluateCanExecute(_parser.State);
await EvaluateCanExecuteAsync(_parser.State, CancellationToken.None);
}

private void OnParserStateChanged(object sender, EventArgs e)
private async void OnParserStateChanged(object sender, EventArgs e)
{
EvaluateCanExecute(_parser.State);
await EvaluateCanExecuteAsync(_parser.State, CancellationToken.None);
}

public void EvaluateCanExecute(RubberduckParserState state)
public async Task EvaluateCanExecuteAsync(RubberduckParserState state, CancellationToken token)
{
foreach (var menu in _menus)
{
try
{
menu.EvaluateCanExecute(state);
await menu.EvaluateCanExecuteAsync(state, token);
}
catch (Exception exception)
{
8 changes: 4 additions & 4 deletions Rubberduck.Core/Common/Hotkeys/HotkeyInfo.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System;
using System.Text;
using System.Windows.Forms;
using Rubberduck.Resources;
using Rubberduck.UI.Settings;

namespace Rubberduck.Common.Hotkeys
{
@@ -23,17 +23,17 @@ public override string ToString()
var builder = new StringBuilder();
if (Keys.HasFlag(Keys.Alt))
{
builder.Append(RubberduckUI.GeneralSettings_HotkeyAlt);
builder.Append(GeneralSettingsUI.HotkeyAlt);
builder.Append('+');
}
if (Keys.HasFlag(Keys.Control))
{
builder.Append(RubberduckUI.GeneralSettings_HotkeyCtrl);
builder.Append(GeneralSettingsUI.HotkeyCtrl);
builder.Append('+');
}
if (Keys.HasFlag(Keys.Shift))
{
builder.Append(RubberduckUI.GeneralSettings_HotkeyShift);
builder.Append(GeneralSettingsUI.HotkeyShift);
builder.Append('+');
}

4 changes: 2 additions & 2 deletions Rubberduck.Core/Formatters/ToDoItemFormatter.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Rubberduck.ToDoItems;
using Rubberduck.Common;
using Rubberduck.Resources;
using Rubberduck.Resources.ToDoExplorer;

namespace Rubberduck.Formatters
{
@@ -22,7 +22,7 @@ public object[] ToArray()
public string ToClipboardString()
{
var module = _toDoItem.Selection.QualifiedName;
return string.Format(RubberduckUI.ToDoExplorerToDoItemFormat,
return string.Format(ToDoExplorerUI.ToDoExplorerToDoItemFormat,
_toDoItem.Type,
_toDoItem.Description,
module.ProjectName,
Original file line number Diff line number Diff line change
@@ -5,9 +5,9 @@
using System.Linq;
using System.Windows;
using NLog;
using Rubberduck.CodeAnalysis;
using Rubberduck.Parsing;
using Rubberduck.Parsing.Symbols;
using Rubberduck.Resources;
using Rubberduck.UI;
using Rubberduck.VBEditor;

@@ -63,7 +63,7 @@ public virtual string PanelTitle
}

var nameWithDeclarationType =
$"{Declaration.IdentifierName} - ({RubberduckUI.ResourceManager.GetString("DeclarationType_" + Declaration.DeclarationType, CultureInfo.CurrentUICulture)})";
$"{Declaration.IdentifierName} - ({CodeAnalysisUI.ResourceManager.GetString("DeclarationType_" + Declaration.DeclarationType, CultureInfo.CurrentUICulture)})";

if (string.IsNullOrEmpty(Declaration.AsTypeName))
{
70 changes: 69 additions & 1 deletion Rubberduck.Core/Navigation/CodeExplorer/CodeExplorerViewModel.cs
Original file line number Diff line number Diff line change
@@ -3,6 +3,7 @@
using System.Collections.ObjectModel;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Threading.Tasks;
using NLog;
using Rubberduck.Parsing.Symbols;
using Rubberduck.Parsing.VBA;
@@ -19,6 +20,7 @@
using Rubberduck.Templates;
using Rubberduck.UI.CodeExplorer.Commands.DragAndDrop;
using Rubberduck.UI.Command.ComCommands;
using Rubberduck.UI.Controls;
using Rubberduck.UI.UnitTesting.ComCommands;
using Rubberduck.VBEditor.SafeComWrappers.Abstract;

@@ -35,8 +37,13 @@ public enum CodeExplorerSortOrder
DeclarationTypeThenCodeLine = DeclarationType | CodeLine
}

public interface IPeekDefinitionPopupProvider
{
void PeekDefinition(Declaration target);
}

[SuppressMessage("ReSharper", "InconsistentNaming")]
public sealed class CodeExplorerViewModel : ViewModelBase
public sealed class CodeExplorerViewModel : ViewModelBase, IPeekDefinitionPopupProvider
{
// ReSharper disable NotAccessedField.Local - The settings providers aren't used, but several enhancement requests will need them.
#pragma warning disable IDE0052 // Remove unread private members
@@ -53,6 +60,7 @@ public sealed class CodeExplorerViewModel : ViewModelBase
public CodeExplorerViewModel(
RubberduckParserState state,
RemoveCommand removeCommand,
PeekDefinitionNavigateCommand peekNavigateCommand,
IConfigurationService<GeneralSettings> generalSettingsProvider,
IConfigurationService<WindowSettings> windowSettingsProvider,
IUiDispatcher uiDispatcher,
@@ -86,6 +94,8 @@ public CodeExplorerViewModel(
RemoveCommand = new DelegateCommand(LogManager.GetCurrentClassLogger(), ExecuteRemoveCommand, _externalRemoveCommand.CanExecute);
}

PeekDefinitionCommand = new DelegateCommand(LogManager.GetCurrentClassLogger(), ExecutePeekDefinitionCommand, CanExecutePeekDefinitionCommand);
ClosePeekDefinitionCommand = new DelegateCommand(LogManager.GetCurrentClassLogger(), ExecuteClosePeekDefinitionCommand);

OnPropertyChanged(nameof(Projects));

@@ -445,6 +455,61 @@ private void ExecuteRemoveCommand(object param)
public CommandBase CollapseAllCommand { get; }
public CommandBase ExpandAllCommand { get; }

public CommandBase PeekDefinitionCommand { get; }
public CommandBase ClosePeekDefinitionCommand { get; }
public PeekDefinitionFindAllReferencesCommand PeekFindReferencesCommand { get; set; }
public PeekDefinitionNavigateCommand PeekNavigateCommand { get; set; }

private bool _showPeekDefinitionPopup;
public bool ShowPeekDefinitionPopup
{
get => _showPeekDefinitionPopup;
set
{
if (value != _showPeekDefinitionPopup)
{
_showPeekDefinitionPopup = value;
OnPropertyChanged();
}
}
}

private PeekDefinitionViewModel _peekDefinitionViewModel;
public PeekDefinitionViewModel PeekDefinitionViewModel
{
get => _peekDefinitionViewModel;
private set
{
if (_peekDefinitionViewModel != value)
{
_peekDefinitionViewModel = value;
OnPropertyChanged();
}
}
}

private void ExecutePeekDefinitionCommand(object param)
{
if (param is ICodeExplorerNode node)
{
PeekDefinitionViewModel = new PeekDefinitionViewModel(node, PeekFindReferencesCommand, PeekNavigateCommand, ClosePeekDefinitionCommand, _state);
}
else if (param is Declaration declaration)
{
PeekDefinitionViewModel = new PeekDefinitionViewModel(declaration, PeekFindReferencesCommand, PeekNavigateCommand, ClosePeekDefinitionCommand, _state);
}
else
{
PeekDefinitionViewModel = null;
}

ShowPeekDefinitionPopup = PeekDefinitionViewModel != null;
}

private void ExecuteClosePeekDefinitionCommand(object param) => ShowPeekDefinitionPopup = false;

private bool CanExecutePeekDefinitionCommand(object param) => param is Declaration || SelectedItem is CodeExplorerMemberViewModel || SelectedItem is CodeExplorerComponentViewModel;

public ICodeExplorerNode FindVisibleNodeForDeclaration(Declaration declaration)
{
if (declaration == null)
@@ -541,5 +606,8 @@ public void Dispose()
_generalSettingsProvider.SettingsChanged -= GeneralSettingsChanged;
}
}

// IPeekDefinitionPopupProvider.PeekDefinition
public void PeekDefinition(Declaration target) => ExecutePeekDefinitionCommand(target);
}
}
2 changes: 1 addition & 1 deletion Rubberduck.Core/Properties/Settings.Designer.cs
30 changes: 9 additions & 21 deletions Rubberduck.Core/Refactorings/ExtractMethod/ExtractedParameter.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
using Rubberduck.Parsing.Grammar;
using Rubberduck.Resources;
using Tokens = Rubberduck.Resources.Tokens;

namespace Rubberduck.Refactorings.ExtractMethod
{
@@ -11,37 +12,24 @@ public enum PassedBy
ByVal
}

public static readonly string None = RubberduckUI.ExtractMethod_OutputNone;

private readonly string _name;
private readonly string _typeName;
private readonly PassedBy _passedBy;
public static readonly string None = RefactoringsUI.ExtractMethod_OutputNone;

public ExtractedParameter(string typeName, PassedBy passedBy, string name = null)
{
_name = name ?? None;
_typeName = typeName;
_passedBy = passedBy;
Name = name ?? None;
TypeName = typeName;
Passed = passedBy;
}

public string Name
{
get { return _name; }
}
public string Name { get; }

public string TypeName
{
get { return _typeName; }
}
public string TypeName { get; }

public PassedBy Passed
{
get { return _passedBy; }
}
public PassedBy Passed { get; }

public override string ToString()
{
return _passedBy.ToString() + ' ' + Name + ' ' + Tokens.As + ' ' + TypeName;
return Passed.ToString() + ' ' + Name + ' ' + Tokens.As + ' ' + TypeName;
}
}
}
Loading