You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*Note: since the paths might change, we recommend you manually search for GriddyCode in the AppData of your OS.*
51
+
>>>>>>> Stashed changes
44
52
45
53
## How?
46
54
You may see the folders **"langs"** and **"themes"**.
@@ -64,7 +72,11 @@ To extend the functionality of GriddyCode for a specific **file extension**, cre
64
72
|`detect_functions(content: String) -> Array[String]`|`detect_functions("const test = 3; function main() {}; async init() => { main() }")`| Called by GriddyCode upon input. Results are showed in the autocomplete feature. | This must be provided by the Lua script. It must return an array of strings (i.e. ["main", "init"]). |
65
73
|`detect_variables(content: String) -> Array[String]`|`detect_variables("const test = 3;")`| Called by GriddyCode upon input. Results are showed in the autocomplete feature. | This must be provided by the Lua script. It must return an array of strings (i.e. ["test"]). |
66
74
75
+
<<<<<<< Updated upstream
67
76
*Note: to provide reserved variables/functions (i.e. `Math`/`parseInt()` in JS) you can have them already set up in the array you return. GriddyCode will handle the rest!*
77
+
=======
78
+
*Note: to provide reserved variables/functions (i.e. `Math`/`parseInt()` in JS) you can have them as preset values in the array you return. GriddyCode will handle the rest!*
79
+
>>>>>>> Stashed changes
68
80
### Themes
69
81
#### Introduction
70
82
To add a theme, create a file in the **"themes"** folder with any name. (i.e. "dracula.lua"). You will be able to choose it within GriddyCode.
@@ -76,14 +88,22 @@ To add a theme, create a file in the **"themes"** folder with any name. (i.e. "d
76
88
|`set_gui(property: String, new_color: String)`|`set_gui("background_color", "#ff00ff")`| This method is dedicated to the overall GUI aspect of GriddyCode. | Available properties: `background_color`, `current_line_color`, `selection_color`, `font_color`, `word_highlighted_color`, `selection_background_color`. Properties except `background_color`, if not provided, will be set to a slightly modified version of `background_color`. Although possible, we don't recommend you rely on those & instead set all the values. |
77
89
78
90
*Note: if the HEX you input is invalid, it will default to #ff0000 (red)*
91
+
<<<<<<< Updated upstream
79
92
## Publishing
80
93
If you want to use a theme/plugin for **yourself**, you can put it into your [AppData](#where).
81
94
82
95
If you want to **submit** a theme/plugin, open a pull request adding it to `Lua/Plugins` or `Lua/Themes` respectively. If merged, it will be included in the next build.
96
+
=======
97
+
98
+
# Known issues
99
+
## Visual bugs
100
+
- The `CheckButton` node for each `setting` scene doesn't change with the theme. This affects light themes specifically.
101
+
>>>>>>> Stashed changes
83
102
84
103
# Contributions
85
104
Contributions are heavily appreciated, whether it's for adding Lua plugins, themes, safely exposing more features to Lua, or adding features directly to GriddyCode!
86
105
106
+
<<<<<<< Updated upstream
87
107
## Notice
88
108
- You will need to install the [Godot Engine](https://godotengine.org/) to run your proposed change & make sure it runs flawlessly.
89
109
- You don't have to submit executables.
@@ -103,3 +123,13 @@ Contributions are heavily appreciated, whether it's for adding Lua plugins, them
103
123
-`CTRL` + `P` to open a **quick file picker**, similar to [VSCode](https://code.visualstudio.com/docs/editor/editingevolved#:~:text=Quick%20file%20navigation,-Tip%3A%20You%20can&text=VS%20Code%20provides%20two%20powerful,release%20Ctrl%20to%20open%20it.).
104
124
- Selecting a setting with the property "shader" *should* disable previously-enabled settings with "shader".
105
125
- The `CheckButton` node for each `setting` scene doesn't change with the theme. This affects light themes specifically.
126
+
=======
127
+
Stuff we are currently looking for: (this doesn't mean you can't contribute with other stuff!)
128
+
-`CTRL` + `P` to open a **quick file picker**, similar to [VSCode](https://code.visualstudio.com/docs/editor/editingevolved#:~:text=Quick%20file%20navigation,-Tip%3A%20You%20can&text=VS%20Code%20provides%20two%20powerful,release%20Ctrl%20to%20open%20it.)
129
+
- An option in the settings menu (`CTRL` + `,`) to change the font!
130
+
- Making the cat jumping video in the settings menu fade in/out along the actual menu. Currently it ignores the transition
131
+
- Heavy cleanup of `settings.gd`!
132
+
- The file picker (`CTRL` + `O`) stores the position of the selected item even after entering/exiting a directory. However, if the directory's file size is lower than it, it will disappear until you move it up. This can be fixed by setting its selected item to the last item if it exceeds dirs.size()
133
+
134
+
Please note that creating a Pull Request to fix these features does *not* guarantee its merge. Please don't open a Pull Request unless you are confident you've done a good job.
text = "Created by [url=https://youtube.com/facedevstuff][color=#b4a7d6]Face[/color][/url] & the contributors at [url=https://github.com/face-hh/griddycode][color=#b4a7d6]GitHub[/color][/url]
0 commit comments