-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add documentation for VSCode whole-line autocomplete #351
Open
ayim
wants to merge
10
commits into
main
Choose a base branch
from
aayim_vscwlc
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
99e0c84
Added content for whole-line autocompletions
ayim f72d26d
Restructured content on page
ayim 4c896c4
Added installation instructions
ayim 8d1fa78
Added a page to encapsulate IntelliCode Completion
ayim a24d1e2
Updated version info based on David's feedback
ayim ef6f5f1
Added info about vsc-wlc to the overview page
ayim 3327107
Removed vsc-wlc content from main VSC Intellicode page
ayim cd577fa
Reordered 'how to use' content
ayim 31dfdbf
Added content RE: snippet completion
ayim 0e16181
Improved punctuation and clarity
ayim File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
--- | ||
title: VS Code Completions Preview | ||
description: Read an overview of IntelliCode for Visual Studio Code. The IntelliCode extension provides AI-assisted IntelliSense for Python, Java, TypeScript, and JavaScript. | ||
ms.custom: SEO-VS-2020 | ||
ms.date: 04/19/2022 | ||
ms.prod: visual-studio-family | ||
ms.technology: intellicode | ||
ms.topic: conceptual | ||
author: aayim | ||
ms.author: aayim | ||
manager: andster | ||
--- | ||
|
||
# IntelliCode Completions Preview for Visual Studio Code | ||
|
||
The [IntelliCode Completions extension for Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=VisualStudioExptTeam.vscodeintellicode-completions) is an experimental extension which predicts up to a whole line of code based on your current code context. | ||
|
||
 | ||
|
||
This extension may contain unstable, experimental code. The IntelliCode team is focused on iterating rapidly and new functionality will be added. | ||
|
||
## How to use | ||
 | ||
|
||
Completions will appear after your cursor as you type, with a faded color. When the IntelliSense list is open, its selection is used to inform the whole-line autocompletion. | ||
|
||
At any time you can accept the suggestion by pressing the tab key (you will need to press it twice if the IntelliSense list is visible). If you don't want to accept the suggestion, you can just keep on typing or press ESC. | ||
|
||
### Snippet Completion | ||
|
||
 | ||
|
||
If the whole-line autocompletion includes empty strings: | ||
|
||
1. The cursor will automatically move to the first empty string upon accepting the prediction with the TAB key. | ||
2. If further empty strings exist within the prediction, pressing the TAB key again will automatically move the cursor to the next empty string. | ||
|
||
### Enabling JavaScript/TypeScript Support | ||
|
||
To enable experimental support for JavaScript and TypeScript, search for `intellicodeCompletions.language` in the Settings menu. | ||
|
||
## Installation | ||
|
||
The extension can be aquired at the following link: [IntelliCode Completions extension for VS Code](https://marketplace.visualstudio.com/items?itemName=VisualStudioExptTeam.vscodeintellicode-completions) | ||
|
||
The extension is supported by Visual Studio Code November 2021 Release 1.63 or later. | ||
|
||
## Provide feedback | ||
|
||
If you encounter a problem, you can browse [existing issues](https://github.com/MicrosoftDocs/intellicode/issues) and upvote them using a 👍 "thumbs up" reaction. If you don't see your particular problem, we'd love to hear from you. Include any **Output** window log entries from Visual Studio IntelliCode, Python, Java, JavaScript, or TypeScript with the bug. | ||
|
||
## See also | ||
|
||
- [IntelliCode for Visual Studio](intellicode-visual-studio.md) | ||
- [IntelliCode general FAQ](faq.yml) | ||
|
||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
might be helpful to include a screenshot of how to do this