Merge branch 'main' of https://github.com/DarthMooMancer/Polydev
This commit is contained in:
@@ -12,3 +12,18 @@ require("Polydev").c.setup({
|
|||||||
["<leader>nh"] = "NewCHeaderFile", -- Creates a new header file in the current project src folder
|
["<leader>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/
|
||||||
|
│ └── <project_name>.polydev
|
||||||
|
└── include/
|
||||||
|
└── *.h
|
||||||
|
```
|
||||||
|
|||||||
@@ -10,3 +10,14 @@ require("Polydev").java.setup({
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
```
|
```
|
||||||
|
## File Structure
|
||||||
|
|
||||||
|
```md
|
||||||
|
Projects/
|
||||||
|
└── Java/
|
||||||
|
└── Project_Name/
|
||||||
|
├── src/
|
||||||
|
│ └── Main.java
|
||||||
|
└── build/
|
||||||
|
└── *.class
|
||||||
|
```
|
||||||
|
|||||||
@@ -0,0 +1,22 @@
|
|||||||
|
## Keybinds
|
||||||
|
```lua
|
||||||
|
-- These are the defaults for lua
|
||||||
|
require("Polydev").lua.setup({
|
||||||
|
keybinds = {
|
||||||
|
["<Esc>"] = "CloseTerminal",
|
||||||
|
["<leader>pr"] = "LuaRun",
|
||||||
|
["<leader>nf"] = "NewLuaFile",
|
||||||
|
}
|
||||||
|
})
|
||||||
|
```
|
||||||
|
|
||||||
|
## File Structure
|
||||||
|
```md
|
||||||
|
Projects/
|
||||||
|
└── Lua/
|
||||||
|
└── Project_Name/
|
||||||
|
├── <Project_name>.polydev
|
||||||
|
└── lua/
|
||||||
|
└── Project_name/
|
||||||
|
└── init.lua
|
||||||
|
```
|
||||||
@@ -0,0 +1,27 @@
|
|||||||
|
## Keybinds
|
||||||
|
```lua
|
||||||
|
require("Polydev").python.setup({
|
||||||
|
keybinds = {
|
||||||
|
["<Esc>"] = "CloseTerminal",
|
||||||
|
["<leader>pr"] = "PythonRun",
|
||||||
|
["<leader>nf"] = "NewPythonFile",
|
||||||
|
["<leader>pb"] = "PythonPip"
|
||||||
|
}
|
||||||
|
})
|
||||||
|
```
|
||||||
|
|
||||||
|
## 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/
|
||||||
|
└── Python/
|
||||||
|
└── Project_Name/
|
||||||
|
├── main.py
|
||||||
|
├── requirements.txt
|
||||||
|
├── setup.py
|
||||||
|
├── tests/
|
||||||
|
└── venv/
|
||||||
|
|
||||||
|
```
|
||||||
@@ -7,6 +7,8 @@ nav:
|
|||||||
- Language Specific Docs:
|
- Language Specific Docs:
|
||||||
- Java: languages/java.md
|
- Java: languages/java.md
|
||||||
- C: languages/c.md
|
- C: languages/c.md
|
||||||
|
- Lua: languages/lua.md
|
||||||
|
- Python: languages/python.md
|
||||||
theme:
|
theme:
|
||||||
name: material
|
name: material
|
||||||
features:
|
features:
|
||||||
|
|||||||
Reference in New Issue
Block a user