Answer the question
In order to leave comments, you need to log in
How to automate typing in VSCode?
I work at the post office, I make myself a program to determine the index at the house along its street.
And for this I now manually need to drive in addresses and house numbers.
And sometimes it comes across that it is necessary to fill from 1 house to 30 the same street, and I would like to automate this moment.
And how to do it?
That's it in vscode?
I pressed the button and it all clicked in quickly.
Maybe somehow a macro can be done, or is it somehow easier to do, or is there already something ready?
Ie, I want it to be like this: In
vske
, I could somehow indicate in advance the initial number of the house and the final one.
let's say from 2 to 9
Or from 13 to 36
From 4 to 20
Ie something like this
And for example, with this code, I indicated the initial house number 1 and the final 9
And from this piece of js code:
['чапаева ', '424004'],
['чапаева ', '424004'],
['чапаева ', '424004'],
['чапаева ', '424004'],
['чапаева ', '424004'],
['чапаева ', '424004'],
['чапаева ', '424004'],
['чапаева ', '424004'],
['чапаева ', '424004'],
['чапаева 1', '424004'],
['чапаева 2', '424004'],
['чапаева 3', '424004'],
['чапаева 4', '424004'],
['чапаева 5', '424004'],
['чапаева 6', '424004'],
['чапаева 7', '424004'],
['чапаева 8', '424004'],
['чапаева 9', '424004'],
Answer the question
In order to leave comments, you need to log in
Enter:
{['чапаева $', '424004']}*5
Get:
['чапаева 1', '424004'],
['чапаева 2', '424004'],
['чапаева 3', '424004'],
['чапаева 4', '424004'],
['чапаева 5', '424004'],
{['чапаева [email protected]', '424004'],}*5
['чапаева 3', '424004'],
['чапаева 4', '424004'],
['чапаева 5', '424004'],
['чапаева 6', '424004'],
['чапаева 7', '424004'],
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question