diff --git a/src/SharpIDE.Godot/Features/CodeEditor/SharpIdeCodeEdit.cs b/src/SharpIDE.Godot/Features/CodeEditor/SharpIdeCodeEdit.cs index b98dc38..16fcb2f 100644 --- a/src/SharpIDE.Godot/Features/CodeEditor/SharpIdeCodeEdit.cs +++ b/src/SharpIDE.Godot/Features/CodeEditor/SharpIdeCodeEdit.cs @@ -518,6 +518,7 @@ public partial class SharpIdeCodeEdit : CodeEdit SymbolKind.Method => CodeCompletionKind.Function, SymbolKind.NamedType => CodeCompletionKind.Class, SymbolKind.Local => CodeCompletionKind.Variable, + SymbolKind.Parameter => CodeCompletionKind.Variable, SymbolKind.Property => CodeCompletionKind.Member, SymbolKind.Field => CodeCompletionKind.Member, _ => CodeCompletionKind.PlainText diff --git a/src/SharpIDE.Godot/Features/CodeEditor/SharpIdeCodeEdit_Completions.cs b/src/SharpIDE.Godot/Features/CodeEditor/SharpIdeCodeEdit_Completions.cs index 94d412a..77ec391 100644 --- a/src/SharpIDE.Godot/Features/CodeEditor/SharpIdeCodeEdit_Completions.cs +++ b/src/SharpIDE.Godot/Features/CodeEditor/SharpIdeCodeEdit_Completions.cs @@ -10,6 +10,7 @@ public partial class SharpIdeCodeEdit 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 readonly Texture2D _parameterIcon = ResourceLoader.Load("uid://b0bv71yfmd08f"); private readonly Texture2D _propertyIcon = ResourceLoader.Load("uid://y5pwrwwrjqmc"); private readonly Texture2D _keywordIcon = ResourceLoader.Load("uid://b0ujhoq2xg2v0"); private readonly Texture2D _namespaceIcon = ResourceLoader.Load("uid://bob5blfjll4h3"); @@ -31,6 +32,7 @@ public partial class SharpIdeCodeEdit (SymbolKind.NamedType, _, _) => _csharpClassIcon, (SymbolKind.Local, _, _) => _localVariableIcon, (SymbolKind.Field, _, _) => _fieldIcon, + (SymbolKind.Parameter, _, _) => _parameterIcon, (SymbolKind.Property, _, _) => _propertyIcon, (SymbolKind.Namespace, _, _) => _namespaceIcon, (SymbolKind.Event, _, _) => _eventIcon, diff --git a/src/SharpIDE.Godot/Features/Completions/Resources/parameter-icon.svg b/src/SharpIDE.Godot/Features/Completions/Resources/parameter-icon.svg new file mode 100644 index 0000000..3bb1ce2 --- /dev/null +++ b/src/SharpIDE.Godot/Features/Completions/Resources/parameter-icon.svg @@ -0,0 +1,57 @@ + + + + + + + + diff --git a/src/SharpIDE.Godot/Features/Completions/Resources/parameter-icon.svg.import b/src/SharpIDE.Godot/Features/Completions/Resources/parameter-icon.svg.import new file mode 100644 index 0000000..2d69420 --- /dev/null +++ b/src/SharpIDE.Godot/Features/Completions/Resources/parameter-icon.svg.import @@ -0,0 +1,43 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://b0bv71yfmd08f" +path="res://.godot/imported/parameter-icon.svg-e8efb5295d762320d48b667e0c085211.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://Features/Completions/Resources/parameter-icon.svg" +dest_files=["res://.godot/imported/parameter-icon.svg-e8efb5295d762320d48b667e0c085211.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