Add multiline params documentation
This commit is contained in:
@@ -43,6 +43,8 @@ A comprehensive Neovim/LazyVim plugin providing **Language Server Protocol (LSP)
|
|||||||
| Feature | Description |
|
| Feature | Description |
|
||||||
|---------|-------------|
|
|---------|-------------|
|
||||||
| **Auto-Prefix** | Automatically adds `#` prefix to local variables (like TIA Portal) |
|
| **Auto-Prefix** | Automatically adds `#` prefix to local variables (like TIA Portal) |
|
||||||
|
| **Multiline Parameters** | Fill FB/Function call parameters across multiple lines with `<Space>mp` or `:SCLMultilineParams` |
|
||||||
|
| **Tab Navigation** | Jump between parameters with `<Tab>` in insert mode |
|
||||||
| **Workspace UDT Scanner** | Scans project for user-defined types |
|
| **Workspace UDT Scanner** | Scans project for user-defined types |
|
||||||
| **blink.cmp Integration** | Smart completion source for blink.cmp |
|
| **blink.cmp Integration** | Smart completion source for blink.cmp |
|
||||||
|
|
||||||
@@ -110,6 +112,7 @@ require("scl_lsp").setup({
|
|||||||
| `:SCLShowWorkspaceTypes` | Show workspace UDTs and FB count |
|
| `:SCLShowWorkspaceTypes` | Show workspace UDTs and FB count |
|
||||||
| `:SCLRescanWorkspaceTypes` | Rescan workspace for types |
|
| `:SCLRescanWorkspaceTypes` | Rescan workspace for types |
|
||||||
| `:SCLPrefixWord` | Manually prefix current word with `#` |
|
| `:SCLPrefixWord` | Manually prefix current word with `#` |
|
||||||
|
| `:SCLMultilineParams` | Fill multiline parameters for FB/Function call |
|
||||||
| `:LspSCLFormat` | Format current SCL file |
|
| `:LspSCLFormat` | Format current SCL file |
|
||||||
| `:SCLGeneratePlcJson` | Generate plc.data.json from data_types/ |
|
| `:SCLGeneratePlcJson` | Generate plc.data.json from data_types/ |
|
||||||
|
|
||||||
@@ -121,6 +124,8 @@ require("scl_lsp").setup({
|
|||||||
| `gd` | Go to Definition |
|
| `gd` | Go to Definition |
|
||||||
| `<leader>s` | Document Symbols |
|
| `<leader>s` | Document Symbols |
|
||||||
| `<leader>w` | Workspace Symbols |
|
| `<leader>w` | Workspace Symbols |
|
||||||
|
| `<Space>mp` | Fill multiline FB/Function parameters (insert mode) |
|
||||||
|
| `<Tab>` | Jump to next parameter (insert mode) |
|
||||||
| `<leader>fw` | Workspace Symbols (Telescope) |
|
| `<leader>fw` | Workspace Symbols (Telescope) |
|
||||||
| `<leader>ca` | Code Actions |
|
| `<leader>ca` | Code Actions |
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user