From 590a65bbe3eb1cc3550f8fa1ac44cb243db1e39e Mon Sep 17 00:00:00 2001 From: Matt Parker <61717342+MattParkerDev@users.noreply.github.com> Date: Sun, 17 Aug 2025 17:45:49 +1000 Subject: [PATCH] add new godot project --- src/SharpIDE.Godot/.editorconfig | 4 +++ src/SharpIDE.Godot/.gitattributes | 2 ++ src/SharpIDE.Godot/.gitignore | 3 ++ src/SharpIDE.Godot/ExampleScript.gd | 6 ++++ src/SharpIDE.Godot/ExampleScript.gd.uid | 1 + src/SharpIDE.Godot/IdeRoot.tscn | 20 +++++++++++++ src/SharpIDE.Godot/SharpIDE.Godot.csproj | 6 ++++ src/SharpIDE.Godot/SharpIDE.Godot.sln | 19 ++++++++++++ src/SharpIDE.Godot/icon.svg | 1 + src/SharpIDE.Godot/icon.svg.import | 37 ++++++++++++++++++++++++ src/SharpIDE.Godot/project.godot | 22 ++++++++++++++ 11 files changed, 121 insertions(+) create mode 100644 src/SharpIDE.Godot/.editorconfig create mode 100644 src/SharpIDE.Godot/.gitattributes create mode 100644 src/SharpIDE.Godot/.gitignore create mode 100644 src/SharpIDE.Godot/ExampleScript.gd create mode 100644 src/SharpIDE.Godot/ExampleScript.gd.uid create mode 100644 src/SharpIDE.Godot/IdeRoot.tscn create mode 100644 src/SharpIDE.Godot/SharpIDE.Godot.csproj create mode 100644 src/SharpIDE.Godot/SharpIDE.Godot.sln create mode 100644 src/SharpIDE.Godot/icon.svg create mode 100644 src/SharpIDE.Godot/icon.svg.import create mode 100644 src/SharpIDE.Godot/project.godot diff --git a/src/SharpIDE.Godot/.editorconfig b/src/SharpIDE.Godot/.editorconfig new file mode 100644 index 0000000..f28239b --- /dev/null +++ b/src/SharpIDE.Godot/.editorconfig @@ -0,0 +1,4 @@ +root = true + +[*] +charset = utf-8 diff --git a/src/SharpIDE.Godot/.gitattributes b/src/SharpIDE.Godot/.gitattributes new file mode 100644 index 0000000..8ad74f7 --- /dev/null +++ b/src/SharpIDE.Godot/.gitattributes @@ -0,0 +1,2 @@ +# Normalize EOL for all files that Git considers text files. +* text=auto eol=lf diff --git a/src/SharpIDE.Godot/.gitignore b/src/SharpIDE.Godot/.gitignore new file mode 100644 index 0000000..0af181c --- /dev/null +++ b/src/SharpIDE.Godot/.gitignore @@ -0,0 +1,3 @@ +# Godot 4+ specific ignores +.godot/ +/android/ diff --git a/src/SharpIDE.Godot/ExampleScript.gd b/src/SharpIDE.Godot/ExampleScript.gd new file mode 100644 index 0000000..08fdaf3 --- /dev/null +++ b/src/SharpIDE.Godot/ExampleScript.gd @@ -0,0 +1,6 @@ +extends Node + + + + +# asdfasdfasdfadsf asdf asdfa sdfadf diff --git a/src/SharpIDE.Godot/ExampleScript.gd.uid b/src/SharpIDE.Godot/ExampleScript.gd.uid new file mode 100644 index 0000000..0fea21b --- /dev/null +++ b/src/SharpIDE.Godot/ExampleScript.gd.uid @@ -0,0 +1 @@ +uid://tcisse2vmp8h diff --git a/src/SharpIDE.Godot/IdeRoot.tscn b/src/SharpIDE.Godot/IdeRoot.tscn new file mode 100644 index 0000000..f090c58 --- /dev/null +++ b/src/SharpIDE.Godot/IdeRoot.tscn @@ -0,0 +1,20 @@ +[gd_scene format=3 uid="uid://b2oniigcp5ew5"] + +[node name="IdeRoot" type="Control"] +layout_mode = 3 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 + +[node name="CodeEdit" type="CodeEdit" parent="."] +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +gutters_draw_line_numbers = true +code_completion_enabled = true +auto_brace_completion_enabled = true diff --git a/src/SharpIDE.Godot/SharpIDE.Godot.csproj b/src/SharpIDE.Godot/SharpIDE.Godot.csproj new file mode 100644 index 0000000..8eebc1d --- /dev/null +++ b/src/SharpIDE.Godot/SharpIDE.Godot.csproj @@ -0,0 +1,6 @@ + + + net8.0 + true + + \ No newline at end of file diff --git a/src/SharpIDE.Godot/SharpIDE.Godot.sln b/src/SharpIDE.Godot/SharpIDE.Godot.sln new file mode 100644 index 0000000..79109ce --- /dev/null +++ b/src/SharpIDE.Godot/SharpIDE.Godot.sln @@ -0,0 +1,19 @@ +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 2012 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SharpIDE.Godot", "SharpIDE.Godot.csproj", "{1E1D2A40-F21E-449D-BD10-6EEC21509EA5}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + ExportDebug|Any CPU = ExportDebug|Any CPU + ExportRelease|Any CPU = ExportRelease|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {1E1D2A40-F21E-449D-BD10-6EEC21509EA5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {1E1D2A40-F21E-449D-BD10-6EEC21509EA5}.Debug|Any CPU.Build.0 = Debug|Any CPU + {1E1D2A40-F21E-449D-BD10-6EEC21509EA5}.ExportDebug|Any CPU.ActiveCfg = ExportDebug|Any CPU + {1E1D2A40-F21E-449D-BD10-6EEC21509EA5}.ExportDebug|Any CPU.Build.0 = ExportDebug|Any CPU + {1E1D2A40-F21E-449D-BD10-6EEC21509EA5}.ExportRelease|Any CPU.ActiveCfg = ExportRelease|Any CPU + {1E1D2A40-F21E-449D-BD10-6EEC21509EA5}.ExportRelease|Any CPU.Build.0 = ExportRelease|Any CPU + EndGlobalSection +EndGlobal diff --git a/src/SharpIDE.Godot/icon.svg b/src/SharpIDE.Godot/icon.svg new file mode 100644 index 0000000..9d8b7fa --- /dev/null +++ b/src/SharpIDE.Godot/icon.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/SharpIDE.Godot/icon.svg.import b/src/SharpIDE.Godot/icon.svg.import new file mode 100644 index 0000000..584da3a --- /dev/null +++ b/src/SharpIDE.Godot/icon.svg.import @@ -0,0 +1,37 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dmwmctdhkng84" +path="res://.godot/imported/icon.svg-218a8f2b3041327d8a5756f3a245f83b.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://icon.svg" +dest_files=["res://.godot/imported/icon.svg-218a8f2b3041327d8a5756f3a245f83b.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +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/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=1.0 +editor/scale_with_editor_scale=false +editor/convert_colors_with_editor_theme=false diff --git a/src/SharpIDE.Godot/project.godot b/src/SharpIDE.Godot/project.godot new file mode 100644 index 0000000..76fe94c --- /dev/null +++ b/src/SharpIDE.Godot/project.godot @@ -0,0 +1,22 @@ +; Engine configuration file. +; It's best edited using the editor UI and not directly, +; since the parameters that go here are not all obvious. +; +; Format: +; [section] ; section goes between [] +; param=value ; assign values to parameters + +config_version=5 + +[application] + +config/name="SharpIDE.Godot" +run/main_scene="uid://b2oniigcp5ew5" +config/features=PackedStringArray("4.4", "Forward Plus") +run/max_fps=157 +run/low_processor_mode=true +config/icon="res://icon.svg" + +[dotnet] + +project/assembly_name="SharpIDE.Godot"