How To Use Prompt Files in VS Code #visualstudiocode #prompt
Description: How to Use Prompt Files in Visual Studio Code
Boost Your VS Code Workflow with Prompt Files! 🚀
Unlock the power of reusable prompts in Visual Studio Code and revolutionize your coding workflow! This short video shows you how to use prompt files in VS Code [00:00] to save time and maintain consistency in repetitive tasks.
Learn about:
- What are Prompt Files? Reusable prompts written in Markdown [00:06].
- Two Types: Workspace prompt files (for specific projects) vs. User prompt files (accessible across all workspaces) [00:24].
- Setting up your File Structure: Essential for organizing your copilot-instructions.md and prompts folder [00:39].
Creating Dynamic Prompts:
Use variables to make your prompts highly reusable, like generating JavaScript feedback based on different topics [01:46].
Running Your Prompts:
A quick demo on how to execute your prompt files directly in the VS Code chat [02:12].
Automated Output:
See how prompt files can automatically generate results in a designated work area [02:39].
Prompt files are still in experimental mode [00:16] but offer immense potential for writing code, documents, and more [02:50].
If you found this helpful, please like and subscribe for more AI and Technology Simplified content!
#VSCode #PromptFiles #DeveloperTools #CodingTips #Productivity #AITools #Markdown #Programming #TechTutorial #visualstudiocode
My Prompt File '01_JavaScriptConcept.prompt.md'
##############################
---
mode: 'agent'
description: 'A friendly AI tutor that introducing JavaScript concepts with explanations.'
---
You are an expert JavaScript trainer. Explain the topic ${input: variableName} to a complete beginner in simple, clear language.
* Begin with a broad overview: what this concept is, why it matters in browser-based JavaScript, and how it fits into web development.
* keep your explanation concise and easy to understand. Not too long. We shall explore more details later.
* No code examples required in this step.
* Save your feedback as markdown file in the directory `workarea` with the filename `01_JavaScriptConcept-${input:variableName}.md`. Remove all spaces in the filename.If the filename exceeds 50 characters, truncate it to 50 characters. If the filename already exists, append a number to the filename to make it unique.
######## Close description
Boost Your VS Code Workflow with Prompt Files! 🚀
Unlock the power of reusable prompts in Visual Studio Code and revolutionize your coding workflow! This short video shows you how to use prompt files in VS Code [00:00] to save time and maintain consistency in repetitive tasks.
Learn about:
- What are Prompt Files? Reusable prompts written in Markdown [00:06].
- Two Types: Workspace prompt files (for specific projects) vs. User prompt files (accessible across all workspaces) [00:24].
- Setting up your File Structure: Essential for organizing your copilot-instructions.md and prompts folder [00:39].
Creating Dynamic Prompts:
Use variables to make your prompts highly reusable, like generating JavaScript feedback based on different topics [01:46].
Running Your Prompts:
A quick demo on how to execute your prompt files directly in the VS Code chat [02:12].
Automated Output:
See how prompt files can automatically generate results in a designated work area [02:39].
Prompt files are still in experimental mode [00:16] but offer immense potential for writing code, documents, and more [02:50].
If you found this helpful, please like and subscribe for more AI and Technology Simplified content!
#VSCode #PromptFiles #DeveloperTools #CodingTips #Productivity #AITools #Markdown #Programming #TechTutorial #visualstudiocode
My Prompt File '01_JavaScriptConcept.prompt.md'
##############################
---
mode: 'agent'
description: 'A friendly AI tutor that introducing JavaScript concepts with explanations.'
---
You are an expert JavaScript trainer. Explain the topic ${input: variableName} to a complete beginner in simple, clear language.
* Begin with a broad overview: what this concept is, why it matters in browser-based JavaScript, and how it fits into web development.
* keep your explanation concise and easy to understand. Not too long. We shall explore more details later.
* No code examples required in this step.
* Save your feedback as markdown file in the directory `workarea` with the filename `01_JavaScriptConcept-${input:variableName}.md`. Remove all spaces in the filename.If the filename exceeds 50 characters, truncate it to 50 characters. If the filename already exists, append a number to the filename to make it unique.
######## Close description
