CPPPROGLIB Telegram 6127
⚡️ VS Code: мультикурсоры

Знакомо ли тебе чувство, когда нужно изменить одинаковые переменные в 15 местах, и ты тыкаешь мышкой чтобы поменять каждое из них?


Решение: Ctrl+D - выделяет каждое следующее вхождения

Выдели слово → жми Ctrl+D для каждого следующего → редактируй все сразу

// Было
int temp = 0;
temp = getValue();
process(temp);
return temp;

// Жмёшь Ctrl+D три раза на temp и меняешь
int result = 0;
result = getValue();
process(result);
return result;


💣
Бонус: Ctrl+Shift+L выделяет ВСЕ вхождения сразу. Но осторожно - может зацепить лишнее.


Библиотека C/C++ разработчика


#буст
👍83



tgoop.com/cppproglib/6127
Create:
Last Update:

⚡️ VS Code: мультикурсоры

Знакомо ли тебе чувство, когда нужно изменить одинаковые переменные в 15 местах, и ты тыкаешь мышкой чтобы поменять каждое из них?


Решение: Ctrl+D - выделяет каждое следующее вхождения

Выдели слово → жми Ctrl+D для каждого следующего → редактируй все сразу

// Было
int temp = 0;
temp = getValue();
process(temp);
return temp;

// Жмёшь Ctrl+D три раза на temp и меняешь
int result = 0;
result = getValue();
process(result);
return result;


💣
Бонус: Ctrl+Shift+L выделяет ВСЕ вхождения сразу. Но осторожно - может зацепить лишнее.


Библиотека C/C++ разработчика


#буст

BY Библиотека C/C++ разработчика | cpp, boost, qt


Share with your friend now:
tgoop.com/cppproglib/6127

View MORE
Open in Telegram


Telegram News

Date: |

The SUCK Channel on Telegram, with a message saying some content has been removed by the police. Photo: Telegram screenshot. The Channel name and bio must be no more than 255 characters long Ng, who had pleaded not guilty to all charges, had been detained for more than 20 months. His channel was said to have contained around 120 messages and photos that incited others to vandalise pro-government shops and commit criminal damage targeting police stations. Polls In handing down the sentence yesterday, deputy judge Peter Hui Shiu-keung of the district court said that even if Ng did not post the messages, he cannot shirk responsibility as the owner and administrator of such a big group for allowing these messages that incite illegal behaviors to exist.
from us


Telegram Библиотека C/C++ разработчика | cpp, boost, qt
FROM American