├── .github
├── FUNDING.yml
├── workflows
│ ├── Windows.runsettings
│ └── build.yaml
├── ISSUE_TEMPLATE
│ ├── bug_report.md
│ └── feature_request.md
├── CODE_OF_CONDUCT.md
└── CONTRIBUTING.md
├── art
└── EmojiSense.gif
├── src
├── Resources
│ └── Icon.png
├── VSCommandTable.vsct
├── Properties
│ └── AssemblyInfo.cs
├── source.extension.cs
├── EmojiSensePackage.cs
├── VSCommandTable.cs
├── source.extension.vsixmanifest
├── EmojiSense.csproj
├── IntelliSense.cs
├── Emojis.cs
└── CharHelper.cs
├── vs-publish.json
├── README.md
├── EmojiSense.sln
├── .gitattributes
├── .editorconfig
├── .gitignore
└── LICENSE
/.github/FUNDING.yml:
--------------------------------------------------------------------------------
1 | # These are supported funding model platforms
2 |
3 | github: madskristensen
4 |
--------------------------------------------------------------------------------
/art/EmojiSense.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/madskristensen/EmojiSense/master/art/EmojiSense.gif
--------------------------------------------------------------------------------
/src/Resources/Icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/madskristensen/EmojiSense/master/src/Resources/Icon.png
--------------------------------------------------------------------------------
/vs-publish.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "http://json.schemastore.org/vsix-publish",
3 | "categories": [ "coding", "documentation" ],
4 | "identity": {
5 | "internalName": "EmojiSense",
6 | "tags": [ "emoji", "unicode", "intellisense" ]
7 | },
8 | "assetFiles": [
9 | {
10 | "pathOnDisk": "art/EmojiSense.gif",
11 | "targetPath": "art/EmojiSense.gif"
12 | }
13 | ],
14 | "overview": "README.md",
15 | "publisher": "MadsKristensen",
16 | "repo": "https://github.com/MadsKristensen/EmojiSense"
17 | }
--------------------------------------------------------------------------------
/src/VSCommandTable.vsct:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/.github/workflows/Windows.runsettings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 | %GITHUB_WORKSPACE%
10 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/.github/ISSUE_TEMPLATE/bug_report.md:
--------------------------------------------------------------------------------
1 | ---
2 | name: Bug report
3 | about: Create a report to help us improve
4 | title: ''
5 | labels: bug
6 | assignees: ''
7 |
8 | ---
9 |
10 | **Describe the bug**
11 | A clear and concise description of what the bug is.
12 |
13 | **To Reproduce**
14 | Steps to reproduce the behavior:
15 | 1. Go to '...'
16 | 2. Click on '....'
17 | 3. Scroll down to '....'
18 | 4. See error
19 |
20 | **Expected behavior**
21 | A clear and concise description of what you expected to happen.
22 |
23 | **Screenshots**
24 | If applicable, add screenshots to help explain your problem.
25 |
26 | **Additional context**
27 | Add any other context about the problem here.
28 |
--------------------------------------------------------------------------------
/src/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using EmojiSense;
2 |
3 | using System.Reflection;
4 | using System.Runtime.InteropServices;
5 |
6 | [assembly: AssemblyTitle(Vsix.Name)]
7 | [assembly: AssemblyDescription(Vsix.Description)]
8 | [assembly: AssemblyConfiguration("")]
9 | [assembly: AssemblyCompany(Vsix.Author)]
10 | [assembly: AssemblyProduct(Vsix.Name)]
11 | [assembly: AssemblyCopyright(Vsix.Author)]
12 | [assembly: AssemblyTrademark("")]
13 | [assembly: AssemblyCulture("")]
14 |
15 | [assembly: ComVisible(false)]
16 |
17 | [assembly: AssemblyVersion(Vsix.Version)]
18 | [assembly: AssemblyFileVersion(Vsix.Version)]
19 |
20 | namespace System.Runtime.CompilerServices
21 | {
22 | public class IsExternalInit { }
23 | }
--------------------------------------------------------------------------------
/.github/ISSUE_TEMPLATE/feature_request.md:
--------------------------------------------------------------------------------
1 | ---
2 | name: Feature request
3 | about: Suggest an idea for this project
4 | title: ''
5 | labels: enhancement
6 | assignees: ''
7 |
8 | ---
9 |
10 | **Is your feature request related to a problem? Please describe.**
11 | A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
12 |
13 | **Describe the solution you'd like**
14 | A clear and concise description of what you want to happen.
15 |
16 | **Describe alternatives you've considered**
17 | A clear and concise description of any alternative solutions or features you've considered.
18 |
19 | **Additional context**
20 | Add any other context or screenshots about the feature request here.
21 |
--------------------------------------------------------------------------------
/src/source.extension.cs:
--------------------------------------------------------------------------------
1 | // ------------------------------------------------------------------------------
2 | //
3 | // This file was generated by VSIX Synchronizer
4 | //
5 | // ------------------------------------------------------------------------------
6 | namespace EmojiSense
7 | {
8 | internal sealed partial class Vsix
9 | {
10 | public const string Id = "EmojiSense.2461fd3c-53c0-4e86-a00f-52d181d4a194";
11 | public const string Name = "EmojiSense";
12 | public const string Description = @"IntelliSense for emojis in code comments and string for all languages";
13 | public const string Language = "en-US";
14 | public const string Version = "1.0";
15 | public const string Author = "Mads Kristensen";
16 | public const string Tags = "emoji, unicode, char";
17 | }
18 | }
19 |
--------------------------------------------------------------------------------
/src/EmojiSensePackage.cs:
--------------------------------------------------------------------------------
1 | global using Community.VisualStudio.Toolkit;
2 | global using Microsoft.VisualStudio.Shell;
3 | global using System;
4 | global using Task = System.Threading.Tasks.Task;
5 | using System.Runtime.InteropServices;
6 | using System.Threading;
7 |
8 | namespace EmojiSense
9 | {
10 | [PackageRegistration(UseManagedResourcesOnly = true, AllowsBackgroundLoading = true)]
11 | [InstalledProductRegistration(Vsix.Name, Vsix.Description, Vsix.Version)]
12 | [ProvideMenuResource("Menus.ctmenu", 1)]
13 | [Guid(PackageGuids.EmojiSenseString)]
14 | public sealed class EmojiSensePackage : ToolkitPackage
15 | {
16 | protected override async Task InitializeAsync(CancellationToken cancellationToken, IProgress progress)
17 | {
18 | await JoinableTaskFactory.SwitchToMainThreadAsync(cancellationToken);
19 | }
20 | }
21 | }
--------------------------------------------------------------------------------
/src/VSCommandTable.cs:
--------------------------------------------------------------------------------
1 | // ------------------------------------------------------------------------------
2 | //
3 | // This file was generated by VSIX Synchronizer
4 | //
5 | // ------------------------------------------------------------------------------
6 | namespace EmojiSense
7 | {
8 | using System;
9 |
10 | ///
11 | /// Helper class that exposes all GUIDs used across VS Package.
12 | ///
13 | internal sealed partial class PackageGuids
14 | {
15 | public const string EmojiSenseString = "63ed108b-1f54-482f-90d1-0b2c753e0d2a";
16 | public static Guid EmojiSense = new Guid(EmojiSenseString);
17 | }
18 | ///
19 | /// Helper class that encapsulates all CommandIDs uses across VS Package.
20 | ///
21 | internal sealed partial class PackageIds
22 | {
23 |
24 | }
25 | }
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | [marketplace]: https://marketplace.visualstudio.com/items?itemName=MadsKristensen.EmojiSense
2 | [vsixgallery]: http://vsixgallery.com/extension/EmojiSense.2461fd3c-53c0-4e86-a00f-52d181d4a194/
3 | [repo]:https://github.com/madskristensen/EmojiSense
4 |
5 | # EmojiSense for Visual Studio
6 |
7 | [](https://github.com/madskristensen/EmojiSense/actions/workflows/build.yaml)
8 |
9 | Download this extension from the [Visual Studio Marketplace][marketplace]
10 | or get the [CI build][vsixgallery].
11 |
12 | --------------------------------------
13 |
14 | Gives IntelliSense for emojis inside strings and comments in the Visual Studio editor. Just type a colon to show the list of available emojis
15 |
16 | 
17 |
18 | Inspired by [:emojisense:](https://marketplace.visualstudio.com/items?itemName=bierner.emojisense) for VS Code by [Matt Bierner](https://github.com/mattbierner)
19 |
20 | ## How can I help?
21 | If you enjoy using the extension, please give it a ★★★★★ rating on the [Visual Studio Marketplace][marketplace].
22 |
23 | Should you encounter bugs or if you have feature requests, head on over to the [GitHub repo][repo] to open an issue if one doesn't already exist.
24 |
25 | Pull requests are also very welcome, since I can't always get around to fixing all bugs myself. This is a personal passion project, so my time is limited.
26 |
27 | Another way to help out is to [sponsor me on GitHub](https://github.com/sponsors/madskristensen).
28 |
--------------------------------------------------------------------------------
/src/source.extension.vsixmanifest:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | EmojiSense
6 | IntelliSense for emojis in code comments and string for all languages
7 | https://github.com/madskristensen/EmojiSense
8 | Resources\LICENSE
9 | Resources\Icon.png
10 | Resources\Icon.png
11 | emoji, unicode, char
12 |
13 |
14 |
17 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
--------------------------------------------------------------------------------
/EmojiSense.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio Version 17
4 | VisualStudioVersion = 17.5.33108.404
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EmojiSense", "src\EmojiSense.csproj", "{F8917353-B3A1-4368-8A55-DA1008E6DBDB}"
7 | EndProject
8 | Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{29BB8FA8-47B8-4080-B0C9-75EAD9FB1088}"
9 | ProjectSection(SolutionItems) = preProject
10 | README.md = README.md
11 | vs-publish.json = vs-publish.json
12 | EndProjectSection
13 | EndProject
14 | Global
15 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
16 | Debug|Any CPU = Debug|Any CPU
17 | Debug|arm64 = Debug|arm64
18 | Debug|x86 = Debug|x86
19 | Release|Any CPU = Release|Any CPU
20 | Release|arm64 = Release|arm64
21 | Release|x86 = Release|x86
22 | EndGlobalSection
23 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
24 | {F8917353-B3A1-4368-8A55-DA1008E6DBDB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
25 | {F8917353-B3A1-4368-8A55-DA1008E6DBDB}.Debug|Any CPU.Build.0 = Debug|Any CPU
26 | {F8917353-B3A1-4368-8A55-DA1008E6DBDB}.Debug|arm64.ActiveCfg = Debug|arm64
27 | {F8917353-B3A1-4368-8A55-DA1008E6DBDB}.Debug|arm64.Build.0 = Debug|arm64
28 | {F8917353-B3A1-4368-8A55-DA1008E6DBDB}.Debug|x86.ActiveCfg = Debug|x86
29 | {F8917353-B3A1-4368-8A55-DA1008E6DBDB}.Debug|x86.Build.0 = Debug|x86
30 | {F8917353-B3A1-4368-8A55-DA1008E6DBDB}.Release|Any CPU.ActiveCfg = Release|Any CPU
31 | {F8917353-B3A1-4368-8A55-DA1008E6DBDB}.Release|Any CPU.Build.0 = Release|Any CPU
32 | {F8917353-B3A1-4368-8A55-DA1008E6DBDB}.Release|arm64.ActiveCfg = Release|arm64
33 | {F8917353-B3A1-4368-8A55-DA1008E6DBDB}.Release|arm64.Build.0 = Release|arm64
34 | {F8917353-B3A1-4368-8A55-DA1008E6DBDB}.Release|x86.ActiveCfg = Release|x86
35 | {F8917353-B3A1-4368-8A55-DA1008E6DBDB}.Release|x86.Build.0 = Release|x86
36 | EndGlobalSection
37 | GlobalSection(SolutionProperties) = preSolution
38 | HideSolutionNode = FALSE
39 | EndGlobalSection
40 | GlobalSection(ExtensibilityGlobals) = postSolution
41 | SolutionGuid = {6F4AA1CE-9B1B-4141-A2DF-25FFDB9D029B}
42 | EndGlobalSection
43 | EndGlobal
44 |
--------------------------------------------------------------------------------
/.gitattributes:
--------------------------------------------------------------------------------
1 | ###############################################################################
2 | # Set default behavior to automatically normalize line endings.
3 | ###############################################################################
4 | * text=auto
5 |
6 | ###############################################################################
7 | # Set default behavior for command prompt diff.
8 | #
9 | # This is need for earlier builds of msysgit that does not have it on by
10 | # default for csharp files.
11 | # Note: This is only used by command line
12 | ###############################################################################
13 | #*.cs diff=csharp
14 |
15 | ###############################################################################
16 | # Set the merge driver for project and solution files
17 | #
18 | # Merging from the command prompt will add diff markers to the files if there
19 | # are conflicts (Merging from VS is not affected by the settings below, in VS
20 | # the diff markers are never inserted). Diff markers may cause the following
21 | # file extensions to fail to load in VS. An alternative would be to treat
22 | # these files as binary and thus will always conflict and require user
23 | # intervention with every merge. To do so, just uncomment the entries below
24 | ###############################################################################
25 | #*.sln merge=binary
26 | #*.csproj merge=binary
27 | #*.vbproj merge=binary
28 | #*.vcxproj merge=binary
29 | #*.vcproj merge=binary
30 | #*.dbproj merge=binary
31 | #*.fsproj merge=binary
32 | #*.lsproj merge=binary
33 | #*.wixproj merge=binary
34 | #*.modelproj merge=binary
35 | #*.sqlproj merge=binary
36 | #*.wwaproj merge=binary
37 |
38 | ###############################################################################
39 | # behavior for image files
40 | #
41 | # image files are treated as binary by default.
42 | ###############################################################################
43 | #*.jpg binary
44 | #*.png binary
45 | #*.gif binary
46 |
47 | ###############################################################################
48 | # diff behavior for common document formats
49 | #
50 | # Convert binary document formats to text before diffing them. This feature
51 | # is only available from the command line. Turn it on by uncommenting the
52 | # entries below.
53 | ###############################################################################
54 | #*.doc diff=astextplain
55 | #*.DOC diff=astextplain
56 | #*.docx diff=astextplain
57 | #*.DOCX diff=astextplain
58 | #*.dot diff=astextplain
59 | #*.DOT diff=astextplain
60 | #*.pdf diff=astextplain
61 | #*.PDF diff=astextplain
62 | #*.rtf diff=astextplain
63 | #*.RTF diff=astextplain
64 |
--------------------------------------------------------------------------------
/.github/workflows/build.yaml:
--------------------------------------------------------------------------------
1 | # yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
2 | name: "Build"
3 |
4 | on:
5 | push:
6 | branches: [master]
7 | pull_request:
8 | branches: [master]
9 | workflow_dispatch:
10 | branches: [master]
11 |
12 | jobs:
13 | build:
14 | outputs:
15 | version: ${{ steps.vsix_version.outputs.version-number }}
16 | name: Build
17 | runs-on: windows-2022
18 | env:
19 | Configuration: Release
20 | DeployExtension: False
21 | VsixManifestPath: src\source.extension.vsixmanifest
22 | VsixManifestSourcePath: src\source.extension.cs
23 |
24 | steps:
25 | - uses: actions/checkout@v3
26 |
27 | - name: Setup .NET build dependencies
28 | uses: timheuer/bootstrap-dotnet@v1
29 | with:
30 | nuget: 'false'
31 | sdk: 'false'
32 | msbuild: 'true'
33 |
34 | - name: Increment VSIX version
35 | id: vsix_version
36 | uses: timheuer/vsix-version-stamp@v1
37 | with:
38 | manifest-file: ${{ env.VsixManifestPath }}
39 | vsix-token-source-file: ${{ env.VsixManifestSourcePath }}
40 |
41 | - name: Build
42 | run: msbuild /v:m -restore /p:OutDir=\_built
43 |
44 | - name: Upload artifact
45 | uses: actions/upload-artifact@v3
46 | with:
47 | name: ${{ github.event.repository.name }}.vsix
48 | path: /_built/**/*.vsix
49 |
50 | publish:
51 | if: ${{ github.event_name == 'push' || github.event_name == 'workflow_dispatch' }}
52 | needs: build
53 | runs-on: windows-latest
54 |
55 | steps:
56 | - uses: actions/checkout@v3
57 |
58 | - name: Download Package artifact
59 | uses: actions/download-artifact@v3
60 | with:
61 | name: ${{ github.event.repository.name }}.vsix
62 |
63 | - name: Upload to Open VSIX
64 | uses: timheuer/openvsixpublish@v1
65 | with:
66 | vsix-file: ${{ github.event.repository.name }}.vsix
67 |
68 | - name: Tag and Release
69 | if: ${{ github.event_name == 'workflow_dispatch' || contains(github.event.head_commit.message, '[release]') }}
70 | id: tag_release
71 | uses: softprops/action-gh-release@v0.1.13
72 | with:
73 | body: Release ${{ needs.build.outputs.version }}
74 | tag_name: ${{ needs.build.outputs.version }}
75 | files: |
76 | **/*.vsix
77 |
78 | - name: Publish extension to Marketplace
79 | if: ${{ github.event_name == 'workflow_dispatch' || contains(github.event.head_commit.message, '[release]') }}
80 | uses: cezarypiatek/VsixPublisherAction@0.1
81 | with:
82 | extension-file: '${{ github.event.repository.name }}.vsix'
83 | publish-manifest-file: 'vs-publish.json'
84 | personal-access-code: ${{ secrets.VS_PUBLISHER_ACCESS_TOKEN }}
--------------------------------------------------------------------------------
/.editorconfig:
--------------------------------------------------------------------------------
1 | # EditorConfig is awesome:http://EditorConfig.org
2 |
3 | # top-most EditorConfig file
4 | root = true
5 |
6 | # Don't use tabs for indentation.
7 | [*]
8 | indent_style = space
9 | end_of_line = crlf
10 | # (Please don't specify an indent_size here; that has too many unintended consequences.)
11 |
12 | # Code files
13 | [*.{cs,csx,vb,vbx,xaml}]
14 | indent_size = 4
15 |
16 | # Xml project files
17 | [*.{csproj,vbproj,vcxproj,vcxproj.filters,proj,projitems,shproj}]
18 | indent_size = 2
19 |
20 | # Xml config files
21 | [*.{props,targets,ruleset,config,nuspec,resx,vsixmanifest,vsct}]
22 | indent_size = 2
23 |
24 | # JSON files
25 | [*.json]
26 | indent_size = 2
27 |
28 | # Dotnet code style settings:
29 | [*.{cs,vb}]
30 | # Sort using and Import directives with System.* appearing first
31 | dotnet_sort_system_directives_first = true
32 | dotnet_separate_import_directive_groups = false
33 |
34 | # Avoid "this." and "Me." if not necessary
35 | dotnet_style_qualification_for_field = false : suggestion
36 | dotnet_style_qualification_for_property = false : suggestion
37 | dotnet_style_qualification_for_method = false : suggestion
38 | dotnet_style_qualification_for_event = false : suggestion
39 |
40 | # Use language keywords instead of framework type names for type references
41 | dotnet_style_predefined_type_for_locals_parameters_members = true : suggestion
42 | dotnet_style_predefined_type_for_member_access = true : suggestion
43 |
44 | # Suggest more modern language features when available
45 | dotnet_style_object_initializer = true : suggestion
46 | dotnet_style_collection_initializer = true : suggestion
47 | dotnet_style_coalesce_expression = true : suggestion
48 | dotnet_style_null_propagation = true : suggestion
49 | dotnet_style_explicit_tuple_names = true : suggestion
50 |
51 | # Naming rules - async methods to be prefixed with Async
52 | dotnet_naming_rule.async_methods_must_end_with_async.severity = warning
53 | dotnet_naming_rule.async_methods_must_end_with_async.symbols = method_symbols
54 | dotnet_naming_rule.async_methods_must_end_with_async.style = end_in_async_style
55 |
56 | dotnet_naming_symbols.method_symbols.applicable_kinds = method
57 | dotnet_naming_symbols.method_symbols.required_modifiers = async
58 |
59 | dotnet_naming_style.end_in_async_style.capitalization = pascal_case
60 | dotnet_naming_style.end_in_async_style.required_suffix = Async
61 |
62 | # Naming rules - private fields must start with an underscore
63 | dotnet_naming_rule.field_must_start_with_underscore.severity = warning
64 | dotnet_naming_rule.field_must_start_with_underscore.symbols = private_fields
65 | dotnet_naming_rule.field_must_start_with_underscore.style = start_underscore_style
66 |
67 | dotnet_naming_symbols.private_fields.applicable_kinds = field
68 | dotnet_naming_symbols.private_fields.applicable_accessibilities = private
69 |
70 | dotnet_naming_style.start_underscore_style.capitalization = camel_case
71 | dotnet_naming_style.start_underscore_style.required_prefix = _
72 |
73 | # CSharp code style settings:
74 | [*.cs]
75 | # Prefer "var" everywhere
76 | csharp_style_var_for_built_in_types =false:error
77 | csharp_style_var_when_type_is_apparent =false:error
78 | csharp_style_var_elsewhere =false:error
79 |
80 | # Prefer method-like constructs to have a block body
81 | csharp_style_expression_bodied_methods = false : none
82 | csharp_style_expression_bodied_constructors = false : none
83 | csharp_style_expression_bodied_operators = false : none
84 |
85 | # Prefer property-like constructs to have an expression-body
86 | csharp_style_expression_bodied_properties = true : none
87 | csharp_style_expression_bodied_indexers = true : none
88 | csharp_style_expression_bodied_accessors = true : none
89 |
90 | # Suggest more modern language features when available
91 | csharp_style_pattern_matching_over_is_with_cast_check = true : suggestion
92 | csharp_style_pattern_matching_over_as_with_null_check = true : suggestion
93 | csharp_style_inlined_variable_declaration = true : suggestion
94 | csharp_style_throw_expression = true : suggestion
95 | csharp_style_conditional_delegate_call = true : suggestion
96 |
97 | # Newline settings
98 | csharp_new_line_before_open_brace = all
99 | csharp_new_line_before_else = true
100 | csharp_new_line_before_catch = true
101 | csharp_new_line_before_finally = true
102 | csharp_new_line_before_members_in_object_initializers = true
103 | csharp_new_line_before_members_in_anonymous_types = true
104 |
105 | # IDE
106 | dotnet_diagnostic.IDE0058.severity = none
107 | dotnet_diagnostic.RS2008.severity = none # RS2008: Enable analyzer release tracking
108 |
--------------------------------------------------------------------------------
/src/EmojiSense.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)
5 | 10
6 |
7 |
8 |
9 | Debug
10 | AnyCPU
11 | 2.0
12 | {82b43b9b-a64c-4715-b499-d71e9ca2bd60};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
13 | {F8917353-B3A1-4368-8A55-DA1008E6DBDB}
14 | Library
15 | Properties
16 | EmojiSense
17 | EmojiSense
18 | v4.8
19 | true
20 | true
21 | true
22 | true
23 | false
24 | true
25 | true
26 | Program
27 | $(DevEnvDir)devenv.exe
28 | /rootsuffix Exp
29 |
30 |
31 | true
32 | full
33 | false
34 | bin\Debug\
35 | DEBUG;TRACE
36 | prompt
37 | 4
38 |
39 |
40 | pdbonly
41 | true
42 | bin\Release\
43 | TRACE
44 | prompt
45 | 4
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 | True
55 | True
56 | source.extension.vsixmanifest
57 |
58 |
59 |
60 |
61 | Menus.ctmenu
62 | VsctGenerator
63 | VSCommandTable.cs
64 |
65 |
66 | True
67 | True
68 | VSCommandTable.vsct
69 |
70 |
71 |
72 |
73 | Resources\LICENSE
74 | true
75 |
76 |
77 | Designer
78 | VsixManifestGenerator
79 | source.extension.cs
80 |
81 |
82 | PreserveNewest
83 | true
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 | compile; build; native; contentfiles; analyzers; buildtransitive
95 |
96 |
97 | runtime; build; native; contentfiles; analyzers; buildtransitive
98 | all
99 |
100 |
101 |
102 |
103 |
110 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | ## Ignore Visual Studio temporary files, build results, and
2 | ## files generated by popular Visual Studio add-ons.
3 |
4 | # User-specific files
5 | *.suo
6 | *.user
7 | *.userosscache
8 | *.sln.docstates
9 |
10 | # User-specific files (MonoDevelop/Xamarin Studio)
11 | *.userprefs
12 |
13 | # Build results
14 | [Dd]ebug/
15 | [Dd]ebugPublic/
16 | [Rr]elease/
17 | [Rr]eleases/
18 | x64/
19 | x86/
20 | bld/
21 | [Bb]in/
22 | [Oo]bj/
23 | [Ll]og/
24 |
25 | # Visual Studio 2015 cache/options directory
26 | .vs/
27 | # Uncomment if you have tasks that create the project's static files in wwwroot
28 | #wwwroot/
29 |
30 | # MSTest test Results
31 | [Tt]est[Rr]esult*/
32 | [Bb]uild[Ll]og.*
33 |
34 | # NUNIT
35 | *.VisualState.xml
36 | TestResult.xml
37 |
38 | # Build Results of an ATL Project
39 | [Dd]ebugPS/
40 | [Rr]eleasePS/
41 | dlldata.c
42 |
43 | # DNX
44 | project.lock.json
45 | project.fragment.lock.json
46 | artifacts/
47 |
48 | *_i.c
49 | *_p.c
50 | *_i.h
51 | *.ilk
52 | *.meta
53 | *.obj
54 | *.pch
55 | *.pdb
56 | *.pgc
57 | *.pgd
58 | *.rsp
59 | *.sbr
60 | *.tlb
61 | *.tli
62 | *.tlh
63 | *.tmp
64 | *.tmp_proj
65 | *.log
66 | *.vspscc
67 | *.vssscc
68 | .builds
69 | *.pidb
70 | *.svclog
71 | *.scc
72 |
73 | # Chutzpah Test files
74 | _Chutzpah*
75 |
76 | # Visual C++ cache files
77 | ipch/
78 | *.aps
79 | *.ncb
80 | *.opendb
81 | *.opensdf
82 | *.sdf
83 | *.cachefile
84 | *.VC.db
85 | *.VC.VC.opendb
86 |
87 | # Visual Studio profiler
88 | *.psess
89 | *.vsp
90 | *.vspx
91 | *.sap
92 |
93 | # TFS 2012 Local Workspace
94 | $tf/
95 |
96 | # Guidance Automation Toolkit
97 | *.gpState
98 |
99 | # ReSharper is a .NET coding add-in
100 | _ReSharper*/
101 | *.[Rr]e[Ss]harper
102 | *.DotSettings.user
103 |
104 | # JustCode is a .NET coding add-in
105 | .JustCode
106 |
107 | # TeamCity is a build add-in
108 | _TeamCity*
109 |
110 | # DotCover is a Code Coverage Tool
111 | *.dotCover
112 |
113 | # NCrunch
114 | _NCrunch_*
115 | .*crunch*.local.xml
116 | nCrunchTemp_*
117 |
118 | # MightyMoose
119 | *.mm.*
120 | AutoTest.Net/
121 |
122 | # Web workbench (sass)
123 | .sass-cache/
124 |
125 | # Installshield output folder
126 | [Ee]xpress/
127 |
128 | # DocProject is a documentation generator add-in
129 | DocProject/buildhelp/
130 | DocProject/Help/*.HxT
131 | DocProject/Help/*.HxC
132 | DocProject/Help/*.hhc
133 | DocProject/Help/*.hhk
134 | DocProject/Help/*.hhp
135 | DocProject/Help/Html2
136 | DocProject/Help/html
137 |
138 | # Click-Once directory
139 | publish/
140 |
141 | # Publish Web Output
142 | *.[Pp]ublish.xml
143 | *.azurePubxml
144 | # TODO: Comment the next line if you want to checkin your web deploy settings
145 | # but database connection strings (with potential passwords) will be unencrypted
146 | #*.pubxml
147 | *.publishproj
148 |
149 | # Microsoft Azure Web App publish settings. Comment the next line if you want to
150 | # checkin your Azure Web App publish settings, but sensitive information contained
151 | # in these scripts will be unencrypted
152 | PublishScripts/
153 |
154 | # NuGet Packages
155 | *.nupkg
156 | # The packages folder can be ignored because of Package Restore
157 | **/packages/*
158 | # except build/, which is used as an MSBuild target.
159 | !**/packages/build/
160 | # Uncomment if necessary however generally it will be regenerated when needed
161 | #!**/packages/repositories.config
162 | # NuGet v3's project.json files produces more ignoreable files
163 | *.nuget.props
164 | *.nuget.targets
165 |
166 | # Microsoft Azure Build Output
167 | csx/
168 | *.build.csdef
169 |
170 | # Microsoft Azure Emulator
171 | ecf/
172 | rcf/
173 |
174 | # Windows Store app package directories and files
175 | AppPackages/
176 | BundleArtifacts/
177 | Package.StoreAssociation.xml
178 | _pkginfo.txt
179 |
180 | # Visual Studio cache files
181 | # files ending in .cache can be ignored
182 | *.[Cc]ache
183 | # but keep track of directories ending in .cache
184 | !*.[Cc]ache/
185 |
186 | # Others
187 | ClientBin/
188 | ~$*
189 | *~
190 | *.dbmdl
191 | *.dbproj.schemaview
192 | *.jfm
193 | *.pfx
194 | *.publishsettings
195 | node_modules/
196 | orleans.codegen.cs
197 |
198 | # Since there are multiple workflows, uncomment next line to ignore bower_components
199 | # (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
200 | #bower_components/
201 |
202 | # RIA/Silverlight projects
203 | Generated_Code/
204 |
205 | # Backup & report files from converting an old project file
206 | # to a newer Visual Studio version. Backup files are not needed,
207 | # because we have git ;-)
208 | _UpgradeReport_Files/
209 | Backup*/
210 | UpgradeLog*.XML
211 | UpgradeLog*.htm
212 |
213 | # SQL Server files
214 | *.mdf
215 | *.ldf
216 |
217 | # Business Intelligence projects
218 | *.rdl.data
219 | *.bim.layout
220 | *.bim_*.settings
221 |
222 | # Microsoft Fakes
223 | FakesAssemblies/
224 |
225 | # GhostDoc plugin setting file
226 | *.GhostDoc.xml
227 |
228 | # Node.js Tools for Visual Studio
229 | .ntvs_analysis.dat
230 |
231 | # Visual Studio 6 build log
232 | *.plg
233 |
234 | # Visual Studio 6 workspace options file
235 | *.opt
236 |
237 | # Visual Studio LightSwitch build output
238 | **/*.HTMLClient/GeneratedArtifacts
239 | **/*.DesktopClient/GeneratedArtifacts
240 | **/*.DesktopClient/ModelManifest.xml
241 | **/*.Server/GeneratedArtifacts
242 | **/*.Server/ModelManifest.xml
243 | _Pvt_Extensions
244 |
245 | # Paket dependency manager
246 | .paket/paket.exe
247 | paket-files/
248 |
249 | # FAKE - F# Make
250 | .fake/
251 |
252 | # JetBrains Rider
253 | .idea/
254 | *.sln.iml
255 |
256 | # CodeRush
257 | .cr/
258 |
259 | # Python Tools for Visual Studio (PTVS)
260 | __pycache__/
261 | *.pyc
--------------------------------------------------------------------------------
/.github/CODE_OF_CONDUCT.md:
--------------------------------------------------------------------------------
1 | # Contributor Covenant Code of Conduct
2 |
3 | ## Our Pledge
4 |
5 | We as members, contributors, and leaders pledge to make participation in our
6 | community a harassment-free experience for everyone, regardless of age, body
7 | size, visible or invisible disability, ethnicity, sex characteristics, gender
8 | identity and expression, level of experience, education, socio-economic status,
9 | nationality, personal appearance, race, religion, or sexual identity
10 | and orientation.
11 |
12 | We pledge to act and interact in ways that contribute to an open, welcoming,
13 | diverse, inclusive, and healthy community.
14 |
15 | ## Our Standards
16 |
17 | Examples of behavior that contributes to a positive environment for our
18 | community include:
19 |
20 | * Demonstrating empathy and kindness toward other people
21 | * Being respectful of differing opinions, viewpoints, and experiences
22 | * Giving and gracefully accepting constructive feedback
23 | * Accepting responsibility and apologizing to those affected by our mistakes,
24 | and learning from the experience
25 | * Focusing on what is best not just for us as individuals, but for the
26 | overall community
27 |
28 | Examples of unacceptable behavior include:
29 |
30 | * The use of sexualized language or imagery, and sexual attention or
31 | advances of any kind
32 | * Trolling, insulting or derogatory comments, and personal or political attacks
33 | * Public or private harassment
34 | * Publishing others' private information, such as a physical or email
35 | address, without their explicit permission
36 | * Other conduct which could reasonably be considered inappropriate in a
37 | professional setting
38 |
39 | ## Enforcement Responsibilities
40 |
41 | Community leaders are responsible for clarifying and enforcing our standards of
42 | acceptable behavior and will take appropriate and fair corrective action in
43 | response to any behavior that they deem inappropriate, threatening, offensive,
44 | or harmful.
45 |
46 | Community leaders have the right and responsibility to remove, edit, or reject
47 | comments, commits, code, wiki edits, issues, and other contributions that are
48 | not aligned to this Code of Conduct, and will communicate reasons for moderation
49 | decisions when appropriate.
50 |
51 | ## Scope
52 |
53 | This Code of Conduct applies within all community spaces, and also applies when
54 | an individual is officially representing the community in public spaces.
55 | Examples of representing our community include using an official e-mail address,
56 | posting via an official social media account, or acting as an appointed
57 | representative at an online or offline event.
58 |
59 | ## Enforcement
60 |
61 | Instances of abusive, harassing, or otherwise unacceptable behavior may be
62 | reported to the community leaders responsible for enforcement at
63 | @mkristensen on Twitter.
64 | All complaints will be reviewed and investigated promptly and fairly.
65 |
66 | All community leaders are obligated to respect the privacy and security of the
67 | reporter of any incident.
68 |
69 | ## Enforcement Guidelines
70 |
71 | Community leaders will follow these Community Impact Guidelines in determining
72 | the consequences for any action they deem in violation of this Code of Conduct:
73 |
74 | ### 1. Correction
75 |
76 | **Community Impact**: Use of inappropriate language or other behavior deemed
77 | unprofessional or unwelcome in the community.
78 |
79 | **Consequence**: A private, written warning from community leaders, providing
80 | clarity around the nature of the violation and an explanation of why the
81 | behavior was inappropriate. A public apology may be requested.
82 |
83 | ### 2. Warning
84 |
85 | **Community Impact**: A violation through a single incident or series
86 | of actions.
87 |
88 | **Consequence**: A warning with consequences for continued behavior. No
89 | interaction with the people involved, including unsolicited interaction with
90 | those enforcing the Code of Conduct, for a specified period of time. This
91 | includes avoiding interactions in community spaces as well as external channels
92 | like social media. Violating these terms may lead to a temporary or
93 | permanent ban.
94 |
95 | ### 3. Temporary Ban
96 |
97 | **Community Impact**: A serious violation of community standards, including
98 | sustained inappropriate behavior.
99 |
100 | **Consequence**: A temporary ban from any sort of interaction or public
101 | communication with the community for a specified period of time. No public or
102 | private interaction with the people involved, including unsolicited interaction
103 | with those enforcing the Code of Conduct, is allowed during this period.
104 | Violating these terms may lead to a permanent ban.
105 |
106 | ### 4. Permanent Ban
107 |
108 | **Community Impact**: Demonstrating a pattern of violation of community
109 | standards, including sustained inappropriate behavior, harassment of an
110 | individual, or aggression toward or disparagement of classes of individuals.
111 |
112 | **Consequence**: A permanent ban from any sort of public interaction within
113 | the community.
114 |
115 | ## Attribution
116 |
117 | This Code of Conduct is adapted from the [Contributor Covenant][homepage],
118 | version 2.0, available at
119 | https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
120 |
121 | Community Impact Guidelines were inspired by [Mozilla's code of conduct
122 | enforcement ladder](https://github.com/mozilla/diversity).
123 |
124 | [homepage]: https://www.contributor-covenant.org
125 |
126 | For answers to common questions about this code of conduct, see the FAQ at
127 | https://www.contributor-covenant.org/faq. Translations are available at
128 | https://www.contributor-covenant.org/translations.
129 |
--------------------------------------------------------------------------------
/.github/CONTRIBUTING.md:
--------------------------------------------------------------------------------
1 | # Contributing
2 |
3 | Looking to contribute something? **Here's how you can help.**
4 |
5 | Please take a moment to review this document in order to make the contribution
6 | process easy and effective for everyone involved.
7 |
8 | Following these guidelines helps to communicate that you respect the time of
9 | the developers managing and developing this open source project. In return,
10 | they should reciprocate that respect in addressing your issue or assessing
11 | patches and features.
12 |
13 |
14 | ## Using the issue tracker
15 |
16 | The issue tracker is the preferred channel for [bug reports](#bug-reports),
17 | [features requests](#feature-requests) and
18 | [submitting pull requests](#pull-requests), but please respect the
19 | following restrictions:
20 |
21 | * Please **do not** use the issue tracker for personal support requests. Stack
22 | Overflow is a better place to get help.
23 |
24 | * Please **do not** derail or troll issues. Keep the discussion on topic and
25 | respect the opinions of others.
26 |
27 | * Please **do not** open issues or pull requests which *belongs to* third party
28 | components.
29 |
30 |
31 | ## Bug reports
32 |
33 | A bug is a _demonstrable problem_ that is caused by the code in the repository.
34 | Good bug reports are extremely helpful, so thanks!
35 |
36 | Guidelines for bug reports:
37 |
38 | 1. **Use the GitHub issue search** — check if the issue has already been
39 | reported.
40 |
41 | 2. **Check if the issue has been fixed** — try to reproduce it using the
42 | latest `master` or development branch in the repository.
43 |
44 | 3. **Isolate the problem** — ideally create an
45 | [SSCCE](http://www.sscce.org/) and a live example.
46 | Uploading the project on cloud storage (OneDrive, DropBox, et el.)
47 | or creating a sample GitHub repository is also helpful.
48 |
49 |
50 | A good bug report shouldn't leave others needing to chase you up for more
51 | information. Please try to be as detailed as possible in your report. What is
52 | your environment? What steps will reproduce the issue? What browser(s) and OS
53 | experience the problem? Do other browsers show the bug differently? What
54 | would you expect to be the outcome? All these details will help people to fix
55 | any potential bugs.
56 |
57 | Example:
58 |
59 | > Short and descriptive example bug report title
60 | >
61 | > A summary of the issue and the Visual Studio, browser, OS environments
62 | > in which it occurs. If suitable, include the steps required to reproduce the bug.
63 | >
64 | > 1. This is the first step
65 | > 2. This is the second step
66 | > 3. Further steps, etc.
67 | >
68 | > `` - a link to the project/file uploaded on cloud storage or other publicly accessible medium.
69 | >
70 | > Any other information you want to share that is relevant to the issue being
71 | > reported. This might include the lines of code that you have identified as
72 | > causing the bug, and potential solutions (and your opinions on their
73 | > merits).
74 |
75 |
76 | ## Feature requests
77 |
78 | Feature requests are welcome. But take a moment to find out whether your idea
79 | fits with the scope and aims of the project. It's up to *you* to make a strong
80 | case to convince the project's developers of the merits of this feature. Please
81 | provide as much detail and context as possible.
82 |
83 |
84 | ## Pull requests
85 |
86 | Good pull requests, patches, improvements and new features are a fantastic
87 | help. They should remain focused in scope and avoid containing unrelated
88 | commits.
89 |
90 | **Please ask first** before embarking on any significant pull request (e.g.
91 | implementing features, refactoring code, porting to a different language),
92 | otherwise you risk spending a lot of time working on something that the
93 | project's developers might not want to merge into the project.
94 |
95 | Please adhere to the [coding guidelines](#code-guidelines) used throughout the
96 | project (indentation, accurate comments, etc.) and any other requirements
97 | (such as test coverage).
98 |
99 | Adhering to the following process is the best way to get your work
100 | included in the project:
101 |
102 | 1. [Fork](http://help.github.com/fork-a-repo/) the project, clone your fork,
103 | and configure the remotes:
104 |
105 | ```bash
106 | # Clone your fork of the repo into the current directory
107 | git clone https://github.com//.git
108 | # Navigate to the newly cloned directory
109 | cd
110 | # Assign the original repo to a remote called "upstream"
111 | git remote add upstream https://github.com/madskristensen/.git
112 | ```
113 |
114 | 2. If you cloned a while ago, get the latest changes from upstream:
115 |
116 | ```bash
117 | git checkout master
118 | git pull upstream master
119 | ```
120 |
121 | 3. Create a new topic branch (off the main project development branch) to
122 | contain your feature, change, or fix:
123 |
124 | ```bash
125 | git checkout -b
126 | ```
127 |
128 | 4. Commit your changes in logical chunks. Please adhere to these [git commit
129 | message guidelines](http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html)
130 | or your code is unlikely be merged into the main project. Use Git's
131 | [interactive rebase](https://help.github.com/articles/interactive-rebase)
132 | feature to tidy up your commits before making them public. Also, prepend name of the feature
133 | to the commit message. For instance: "SCSS: Fixes compiler results for IFileListener.\nFixes `#123`"
134 |
135 | 5. Locally merge (or rebase) the upstream development branch into your topic branch:
136 |
137 | ```bash
138 | git pull [--rebase] upstream master
139 | ```
140 |
141 | 6. Push your topic branch up to your fork:
142 |
143 | ```bash
144 | git push origin
145 | ```
146 |
147 | 7. [Open a Pull Request](https://help.github.com/articles/using-pull-requests/)
148 | with a clear title and description against the `master` branch.
149 |
150 |
151 | ## Code guidelines
152 |
153 | - Always use proper indentation.
154 | - In Visual Studio under `Tools > Options > Text Editor > C# > Advanced`, make sure
155 | `Place 'System' directives first when sorting usings` option is enabled (checked).
156 | - Before committing, organize usings for each updated C# source file. Either you can
157 | right-click editor and select `Organize Usings > Remove and sort` OR use extension
158 | like [BatchFormat](https://marketplace.visualstudio.com/items?itemName=vs-publisher-147549.BatchFormat).
159 | - Before committing, run Code Analysis in `Debug` configuration and follow the guidelines
160 | to fix CA issues. Code Analysis commits can be made separately.
161 |
--------------------------------------------------------------------------------
/src/IntelliSense.cs:
--------------------------------------------------------------------------------
1 | using System.Collections.Generic;
2 | using System.Globalization;
3 | using System.Collections.Immutable;
4 | using System.ComponentModel.Composition;
5 | using System.Linq;
6 | using System.Text.RegularExpressions;
7 | using System.Threading;
8 | using System.Threading.Tasks;
9 | using Microsoft.VisualStudio.Core.Imaging;
10 | using Microsoft.VisualStudio.Imaging;
11 | using Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion;
12 | using Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data;
13 | using Microsoft.VisualStudio.Text;
14 | using Microsoft.VisualStudio.Text.Adornments;
15 | using Microsoft.VisualStudio.Text.Editor;
16 | using Microsoft.VisualStudio.Utilities;
17 | using Microsoft.VisualStudio.Text.Classification;
18 |
19 | namespace EmojiSense
20 | {
21 | [Export(typeof(IAsyncCompletionSourceProvider))]
22 | [ContentType("text")]
23 | [Name(nameof(IntelliSense))]
24 | public class IntelliSense : IAsyncCompletionSourceProvider
25 | {
26 | [Import]
27 | public IClassifierAggregatorService ClassifierAggregatorService { get; set; }
28 |
29 | public IAsyncCompletionSource GetOrCreate(ITextView textView)
30 | {
31 | IClassifier classifier = ClassifierAggregatorService.GetClassifier(textView.TextBuffer);
32 | return textView.Properties.GetOrCreateSingletonProperty(() => new AsyncCompletionSource(classifier));
33 | }
34 | }
35 |
36 | public class AsyncCompletionSource : IAsyncCompletionSource
37 | {
38 | private static string[] _supportedClassifications = new[] { "string", "comment", "CSS Comment", "CSS String Value", "HTML Comment", "XML Comment" };
39 |
40 | private readonly IClassifier _classifier;
41 | private static ImmutableArray _cache;
42 | private static readonly ImageElement _icon = new(KnownMonikers.GlyphRight.ToImageId(), "Variable");
43 | private static readonly Regex _regex = new(@"(?:\s|^):([^:\s]*):?", RegexOptions.Compiled);
44 |
45 | public static CompletionFilter PeopleFilter = new("People", "P", new ImageElement(KnownMonikers.FeedbackSmile.ToImageId()));
46 | public static CompletionFilter NatureFilter = new("Nature", "N", new ImageElement(KnownMonikers.BlankWebSite.ToImageId()));
47 | public static CompletionFilter ObjectFilter = new("Objects", "O", new ImageElement(KnownMonikers.NotificationAlertMute.ToImageId()));
48 | public static CompletionFilter PlacesFilter = new("Places", "L", new ImageElement(KnownMonikers.FlagGroup.ToImageId()));
49 | public static CompletionFilter SymbolsFilter = new("Symbols", "S", new ImageElement(KnownMonikers.LineArrow.ToImageId()));
50 |
51 | public AsyncCompletionSource(IClassifier classifier)
52 | {
53 | _classifier = classifier;
54 | }
55 |
56 | public Task GetCompletionContextAsync(IAsyncCompletionSession session, CompletionTrigger trigger, SnapshotPoint triggerLocation, SnapshotSpan applicableToSpan, CancellationToken token)
57 | {
58 | if (_cache == null)
59 | {
60 | var people = Emojis.People.Select(e => CreateCompletionItem(e, PeopleFilter));
61 | var nature = Emojis.Nature.Select(e => CreateCompletionItem(e, NatureFilter));
62 | var objects = Emojis.Objects.Select(e => CreateCompletionItem(e, ObjectFilter));
63 | var places = Emojis.Places.Select(e => CreateCompletionItem(e, PlacesFilter));
64 | var symbols = Emojis.Symbols.Select(e => CreateCompletionItem(e, SymbolsFilter));
65 | _cache = people.Union(nature).Union(objects).Union(places).Union(symbols).ToImmutableArray();
66 | }
67 |
68 | return Task.FromResult(new CompletionContext(_cache));
69 | }
70 |
71 | private CompletionItem CreateCompletionItem(KeyValuePair emojiPair, CompletionFilter compFilter)
72 | {
73 | string name = emojiPair.Key;
74 | string displayName = CultureInfo.CurrentCulture.TextInfo.ToTitleCase(name.Trim(':'));
75 | string value = emojiPair.Value;
76 | ImmutableArray filter = new List() { compFilter }.ToImmutableArray();
77 | ImmutableArray icons = ImmutableArray.Empty;
78 |
79 | return new CompletionItem(displayName, this, _icon, filter, value, value, displayName, displayName, icons);
80 | }
81 |
82 | public Task