10 results found
-
Polyglot Notebooks in VS Code
Polyglot programming is the practice of using multiple programming languages to leverage the strength of each language for different tasks. What are Notebooks? Notebooks are interactive files that allow the mixing of executable code, visualizations, equations, and narrative text.
-
Terminal Basics - Visual Studio Code
Visual Studio Code includes a full featured integrated terminal that starts at the root of your workspace. It provides integration with the editor to support features like links and error detection. The integrated terminal can run commands such as mkdir and git just like a standalone terminal. You can open a terminal as follows:
-
Manage context for AI - Visual Studio Code
In this article, you learn how to manage context in chat, including how to use #-mentions to reference files, folders, and symbols, how to reference web content, or how you can use custom instructions to guide the AI's responses. VS Code automatically provides context to the chat prompt based on your current activity.
-
Making chat an expert in your workspace - Visual Studio Code
To ask questions in chat about your entire codebase, you can reference @workspace or #codebase in your chat prompt. Based on the question, chat intelligently retrieves relevant files and symbols, which it then references in its answer as links and code examples. What is the difference between @workspace and #codebase?
-
Bing-powered settings search in VS Code
We decided to build a test framework based on the concept of Normalized Discounted Cumulative Gain, or NDCG. Without getting too far into the weeds, this is a way to grade the results from a search engine, given a query, a set of results, and scores for those results.
-
Variables reference - Visual Studio Code
To reference VS Code settings (configurations), use the $ {config:Name} syntax. For example, $ {config:editor.fontSize} references the editor.fontSize setting. You can use any VS Code command as a variable with the $ {command:commandID} syntax. A command variable is replaced with the (string) result from the command evaluation.
-
Built-in Commands | Visual Studio Code Extension API
This document lists a subset of Visual Studio Code commands that you might use with vscode.commands.executeCommand API. Read the Commands guide for how to use the commands API. Note: You can review the full set of VS Code commands via the Keyboard Shortcuts editor File > Preferences > Keyboard Shortcuts.
-
Basic editing - Visual Studio Code
Default is true. For example, the following keyboard shortcut runs the search when the Search Editor is opened but leaves the focus in the search query control. { "key": "ctrl+o", "command": "search.action.openNewEditor", "args": { "query": "VS Code", "triggerSearch": true, "focusResults": false } } Search Editor context default
-
Chat extensions | Visual Studio Code Extension API
Chat participants can use different approaches to process a user query: Use AI to interpret the request and generate a response, for example by using the Language Model API. Forward the user request to a backend service, which processes the request and returns a response. Use procedural logic and local resources to generate a response.
-
GitHub Pull Requests in Visual Studio Code
Starting this past spring, our team has been working to bring you a new integrated pull request experience so that you can collaborate, comment, review, and validate GitHub pull requests directly from within Visual Studio Code.