When I was a Windows user (a long time ago), I remember that it was
possible to select the whole environment in WinEdt just by double
clicking the\begin
command.Is it possible to do this in TeXstudio? How do we select an
environment?
Edit I tried the suggestions below with no progress. I am posting an image showing what happens when I press the shortcut Ctrl+Shift+P
and (after released the 3 keys) I pressed the keyi
orI
.
First, with the cursor at the right, that is,\begin{equation}|
(note the yellow color). Second, after Ctrl+Shift+P, note the
equation
in blue color. Then, I pressed only the keyi
(I tried
also onlyI
).
[Tex/LaTex] How to select whole environment in TeXstudio
texstudio
Best Answer
As benibela from the TeXstudio development group answered:
So, if you have the following code snippet
and place the cursor like this (notice the yellow highlighting):
you can use Ctrl+Shift+P, I (for Parenthesis/Inner) to get
or Ctrl+Shift+P, O (for Parenthesis/Outer) to get
Also available is:
begin
/{
orend
/}
,