IBM i SEU Line Commands
SEU/RDi-style line command column for editing IBM i source members in VS Code: move, copy, delete, repeat and insert lines using M, C, A, B, D, R, I and block commands.
Versión en español más abajo
Usage
Alt+Shift+E: show/hide the command column.
- Click on the column of a line and type the command.
Enter: run all pending commands (the typed commands are cleared afterwards).
- A click on the code goes back to normal editing.
Esc or F4 leave/enter column mode.
Without a shortcut: press F1 and run IBM i SEU: Show / Hide Line Commands.
Commands
| Command |
Action |
M / MM...MM |
Move line / block |
C / CC...CC |
Copy line / block |
A / B |
Destination: after / before the line |
D / DD...DD |
Delete line / block (D3 deletes 3 lines) |
R / RR...RR |
Repeat line / block (R2 repeats twice) |
I |
Insert blank line (I3 inserts 3) |
Move and copy need a destination (A or B). Everything is applied in a single edit, so one Ctrl+Z undoes it.
Settings
ibmiSeu.hideRealCaret: hides the real text cursor while you type in the column (it temporarily changes workbench.colorCustomizations).
Keyboard shortcuts
You can change them in Ctrl+K Ctrl+S by searching for "IBM i SEU".
Limitations
- The column is a visual decoration, not real text: the blinking cursor inside it is simulated.
- It is not compatible with extensions that also take over typing (for example, Vim).
Español
Columna de comandos de línea estilo SEU/RDi para editar fuentes IBM i en VS Code: mover, copiar, borrar, repetir e insertar líneas con M, C, A, B, D, R, I y comandos de bloque.
Uso
Alt+Shift+E: muestra/oculta la columna.
- Haz clic en la columna de una línea y escribe el comando.
Enter: ejecuta todos los comandos pendientes (después se borran las letras).
- Un clic en el código vuelve a la edición normal.
Esc o F4 salen/entran del modo columna.
Sin atajo: pulsa F1 y ejecuta IBM i SEU: Show / Hide Line Commands.
Comandos
| Comando |
Acción |
M / MM...MM |
Mover línea / bloque |
C / CC...CC |
Copiar línea / bloque |
A / B |
Destino: después / antes de la línea |
D / DD...DD |
Borrar línea / bloque (D3 borra 3) |
R / RR...RR |
Repetir línea / bloque (R2 repite 2 veces) |
I |
Insertar línea en blanco (I3 inserta 3) |
Mover y copiar necesitan un destino (A o B). Todo se aplica en una sola edición, así que un único Ctrl+Z lo deshace.
Ajustes
ibmiSeu.hideRealCaret: oculta el cursor real mientras escribes en la columna (cambia temporalmente workbench.colorCustomizations).
Atajos de teclado
Se pueden cambiar en Ctrl+K Ctrl+S buscando "IBM i SEU".
Limitaciones
- La columna es una decoración visual, no texto real: el cursor parpadeante dentro de ella es simulado.
- Es incompatible con extensiones que también controlen la escritura (por ejemplo, Vim).