diff --git a/src/SharpIDE.Godot/Features/CodeEditor/SharpIdeCodeEdit_Completions.cs b/src/SharpIDE.Godot/Features/CodeEditor/SharpIdeCodeEdit_Completions.cs index f194141..d9b786d 100644 --- a/src/SharpIDE.Godot/Features/CodeEditor/SharpIdeCodeEdit_Completions.cs +++ b/src/SharpIDE.Godot/Features/CodeEditor/SharpIdeCodeEdit_Completions.cs @@ -9,6 +9,7 @@ public partial class SharpIdeCodeEdit private readonly Texture2D _csharpClassIcon = ResourceLoader.Load("uid://b027uufaewitj"); private readonly Texture2D _csharpInterfaceIcon = ResourceLoader.Load("uid://bdwmkdweqvowt"); private readonly Texture2D _localVariableIcon = ResourceLoader.Load("uid://vwvkxlnvqqk3"); + private readonly Texture2D _fieldIcon = ResourceLoader.Load("uid://c4y7d5m4upfju"); private Texture2D? GetIconForCompletion(SymbolKind? symbolKind, TypeKind? typeKind, Accessibility? accessibility) { @@ -18,8 +19,8 @@ public partial class SharpIdeCodeEdit (_, TypeKind.Interface, _) => _csharpInterfaceIcon, (SymbolKind.NamedType, _, _) => _csharpClassIcon, (SymbolKind.Local, _, _) => _localVariableIcon, + (SymbolKind.Field, _, _) => _fieldIcon, //SymbolKind.Property => , - //SymbolKind.Field => , _ => null }; return texture; diff --git a/src/SharpIDE.Godot/Features/Completions/Resources/field-icon.svg b/src/SharpIDE.Godot/Features/Completions/Resources/field-icon.svg new file mode 100644 index 0000000..d8d53fd --- /dev/null +++ b/src/SharpIDE.Godot/Features/Completions/Resources/field-icon.svg @@ -0,0 +1,48 @@ + + + + + + + + diff --git a/src/SharpIDE.Godot/Features/Completions/Resources/field-icon.svg.import b/src/SharpIDE.Godot/Features/Completions/Resources/field-icon.svg.import new file mode 100644 index 0000000..28a4043 --- /dev/null +++ b/src/SharpIDE.Godot/Features/Completions/Resources/field-icon.svg.import @@ -0,0 +1,43 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://c4y7d5m4upfju" +path="res://.godot/imported/field-icon.svg-2bce0f4da4cb9983d05585335634c4c1.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://Features/Completions/Resources/field-icon.svg" +dest_files=["res://.godot/imported/field-icon.svg-2bce0f4da4cb9983d05585335634c4c1.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 +svg/scale=0.1 +editor/scale_with_editor_scale=false +editor/convert_colors_with_editor_theme=false