From 5e09d45b50dc591552d4e5f6a8a1ec1c0077a44c Mon Sep 17 00:00:00 2001 From: DarthMooMancer <107283522+DarthMooMancer@users.noreply.github.com> Date: Fri, 14 Mar 2025 10:14:03 -0400 Subject: [PATCH 1/9] Create python.md --- docs/languages/python.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 docs/languages/python.md diff --git a/docs/languages/python.md b/docs/languages/python.md new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/docs/languages/python.md @@ -0,0 +1 @@ + From dcaa5c29b8ea0d2f9241202af5da110ea4791690 Mon Sep 17 00:00:00 2001 From: DarthMooMancer <107283522+DarthMooMancer@users.noreply.github.com> Date: Fri, 14 Mar 2025 10:14:11 -0400 Subject: [PATCH 2/9] Create lua.md --- docs/languages/lua.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 docs/languages/lua.md diff --git a/docs/languages/lua.md b/docs/languages/lua.md new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/docs/languages/lua.md @@ -0,0 +1 @@ + From 855854c2ac29585318ec591641d2db527174b0be Mon Sep 17 00:00:00 2001 From: DarthMooMancer <107283522+DarthMooMancer@users.noreply.github.com> Date: Fri, 14 Mar 2025 10:15:50 -0400 Subject: [PATCH 3/9] Update lua.md --- docs/languages/lua.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/docs/languages/lua.md b/docs/languages/lua.md index 8b13789..6c7db45 100644 --- a/docs/languages/lua.md +++ b/docs/languages/lua.md @@ -1 +1,11 @@ - +## Keybinds +```lua +-- These are the defaults for lua +require("Polydev").lua.setup({ + keybinds = { + [""] = "CloseTerminal", + ["pr"] = "LuaRun", + ["nf"] = "NewLuaFile", + } +}) +``` From d640617a8c8233abe5725c1ef8693f9e90e7358d Mon Sep 17 00:00:00 2001 From: DarthMooMancer <107283522+DarthMooMancer@users.noreply.github.com> Date: Fri, 14 Mar 2025 10:18:58 -0400 Subject: [PATCH 4/9] Update lua.md --- docs/languages/lua.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docs/languages/lua.md b/docs/languages/lua.md index 6c7db45..b4520ca 100644 --- a/docs/languages/lua.md +++ b/docs/languages/lua.md @@ -9,3 +9,14 @@ require("Polydev").lua.setup({ } }) ``` + +## File Structure +```md +Projects/ +└── Lua/ + └── Project_Name/ + ├── .polydev + └── lua/ + └── Project_name/ + └── init.lua +``` From f9686fb6486ef95e75eda19bf3a5389c5e8f4243 Mon Sep 17 00:00:00 2001 From: DarthMooMancer <107283522+DarthMooMancer@users.noreply.github.com> Date: Fri, 14 Mar 2025 10:21:31 -0400 Subject: [PATCH 5/9] Update python.md --- docs/languages/python.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/docs/languages/python.md b/docs/languages/python.md index 8b13789..cd5da27 100644 --- a/docs/languages/python.md +++ b/docs/languages/python.md @@ -1 +1,24 @@ +## Keybinds +```lua +require("Polydev").python.setup({ + keybinds = { + [""] = "CloseTerminal", + ["pr"] = "PythonRun", + ["nf"] = "NewPythonFile", + ["pb"] = "PythonPip" + } +}) +``` +## File Structure +```md +Projects/ +└── Python/ + └── Project_Name/ + ├── main.py + ├── requirements.txt + ├── setup.py + ├── tests/ + └── venv/ + +``` From 179f3c31b8d94a2f4346bd8b0d5af0603061d073 Mon Sep 17 00:00:00 2001 From: DarthMooMancer <107283522+DarthMooMancer@users.noreply.github.com> Date: Fri, 14 Mar 2025 10:23:04 -0400 Subject: [PATCH 6/9] Update java.md --- docs/languages/java.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docs/languages/java.md b/docs/languages/java.md index 071621d..42b3d35 100644 --- a/docs/languages/java.md +++ b/docs/languages/java.md @@ -10,3 +10,14 @@ require("Polydev").java.setup({ } }) ``` +## File Structure + +```md +Projects/ +└── Java/ + └── Project_Name/ + ├── src/ + │ └── Main.java + └── build/ + └── *.class +``` From 791f52d209242d1d551191478a837f24cf657d3a Mon Sep 17 00:00:00 2001 From: DarthMooMancer <107283522+DarthMooMancer@users.noreply.github.com> Date: Fri, 14 Mar 2025 10:24:44 -0400 Subject: [PATCH 7/9] Update c.md --- docs/languages/c.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/docs/languages/c.md b/docs/languages/c.md index ba8a914..0354bf6 100644 --- a/docs/languages/c.md +++ b/docs/languages/c.md @@ -12,3 +12,18 @@ require("Polydev").c.setup({ ["nh"] = "NewCHeaderFile", -- Creates a new header file in the current project src folder }) ``` + +## File Structure +```md +Projects/ +└── C/ + └── Project_Name/ + ├── CMakeLists.txt + ├── src/ + │ ├── main.c + │ └── *.c + ├── build/ + │ └── .polydev + └── include/ + └── *.h +``` From 6627acd78e99b9b52081d1a39cf364856bd1ccae Mon Sep 17 00:00:00 2001 From: DarthMooMancer <107283522+DarthMooMancer@users.noreply.github.com> Date: Fri, 14 Mar 2025 10:49:30 -0400 Subject: [PATCH 8/9] Update mkdocs.yml --- mkdocs.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mkdocs.yml b/mkdocs.yml index 691f37c..dd63759 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -6,7 +6,9 @@ nav: - Examples: examples.md - Language Specific Docs: - Java: languages/java.md - - C: languages/c.md + - C: languages/c.md + - Lua: languages/lua.md + - Python: languages/python.md theme: name: material features: From 47092d80cec70f53544b81e6e12531246b9bd8f0 Mon Sep 17 00:00:00 2001 From: DarthMooMancer <107283522+DarthMooMancer@users.noreply.github.com> Date: Fri, 14 Mar 2025 10:51:05 -0400 Subject: [PATCH 9/9] Update python.md --- docs/languages/python.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/languages/python.md b/docs/languages/python.md index cd5da27..63a625f 100644 --- a/docs/languages/python.md +++ b/docs/languages/python.md @@ -10,6 +10,9 @@ require("Polydev").python.setup({ }) ``` +## Python Features +* A feature that is added to the python language for this plugin is to be able to install dependencies with pip within the terminal. You can even update pip. Just type your dependency you want and boom it is installed or not depending on if python likes you. + ## File Structure ```md Projects/