Is there a way to replace all photos from my code to others from a folder on Visual Studio Code?
CodePudding user response:
Yes, you can,
Start by typing
"X* "
at the beginning, in the middle you type the name of the first photo in the folder you want to place, and at the end you type
" *Y"
Then, What it will do, is to replace
"X* "
by the beginning of the path:
"https://github.com/sushi-js/sushis-demo/blob/main/src/common/components/elements/02 Body/11 CaseStudies"
and
" *Y"
by
".png?raw=true"
Only the first 4 names will be typed by hand.
/* Hello Copilot */
X* adidas *Y
X* agusti-torello-mata *Y
X* alfapar *Y
X* audi *Y
Github copilot detects it, and gives you the correct suggestion.
/* Hello Copilot */
X* adidas *Y
X* agusti-torello-mata *Y
X* alfapar *Y
*X* audi *Y* <-- The suggestion is the same as the sidebar photos from my directory.
Don't stop tabbing like there's no tomorrow.
and you're done.
CodePudding user response:
3 more ways to avoid visual studio code explicitly prohibit photo replacement solutions that works inside VS Code
- With Bash terminal on VS Code, and command tree
- With Python terminal on VS Code, do a mini executable to get all paths from the photos
- With data fetch request xml to github folder on a small folder, create a small component to print the paths
Then go to VS Code and copy paste
CodePudding user response:
And the most easiest way ever Control Right click on photos:
Copy paths, and paste, bye bye solved.
CodePudding user response:
Here is the proof that the solutions works.
At the end, you can.
Then just use Copilot to get the following pattern: until 57...