mirror of
https://github.com/microsoft/vscode-extension-samples.git
synced 2026-06-13 07:10:26 +08:00
20 lines
447 B
JavaScript
20 lines
447 B
JavaScript
// Simple Provider Playground
|
|
// This file demonstrates the Simple Context-Aware Provider
|
|
// Switch to the Simple Provider using Command Palette: "Inline Completion: Switch Provider"
|
|
|
|
// Try typing the following patterns to see inline completions:
|
|
|
|
// 1. Console logging
|
|
console.
|
|
|
|
// 2. Function declaration
|
|
function
|
|
|
|
// 3. If statement
|
|
if
|
|
|
|
// 4. For loop
|
|
for
|
|
|
|
// The simple provider will suggest completions as you type these common patterns!
|