ide на основе vs code
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import { CancellationToken, CompletionContext, CompletionItem, CompletionItemKind, CompletionItemProvider, Position, Range, TextDocument, workspace } from 'vscode';
import * as phpGlobalFunctions from './phpGlobalFunctions';
import * as phpGlobals from './phpGlobals';
export default class PHPCompletionItemProvider implements CompletionItemProvider {
public provideCompletionItems(document: TextDocument, position: Position, _token: CancellationToken, context: CompletionContext): CompletionItem
result CompletionItem
shouldProvideCompletionItems workspace
shouldProvideCompletionItems
result
range documentposition
prefix range documentrange
range
range position position
contexttriggerCharacter
twoBeforeCursor positionline Math positioncharacter
previousTwoChars document twoBeforeCursor position
previousTwoChars
result
added
kind CompletionItemKind name entry phpGlobalsIEntry CompletionItem
proposal CompletionItem name
proposalkind kind
entry
entrydescription
proposaldocumentation entrydescription
entrysignature
proposaldetail entrysignature
proposal
name
prefixlength namelength prefixlength name prefixlength prefix
rangestartcharacter
twoBeforePosition rangestartline rangestartcharacter
beforeWord document twoBeforePosition rangestart
beforeWord
proposal CompletionItemKindClass
proposalinsertText
proposalrange twoBeforePosition position
resultproposal
result
globalvariables phpGlobalsglobalvariables
phpGlobalsglobalvariablesglobalvariables globalvariables
addedglobalvariables
resultCompletionItemKindVariable globalvariables phpGlobalsglobalvariablesglobalvariables
globalfunctions phpGlobalFunctionsglobalfunctions
phpGlobalFunctionsglobalfunctionsglobalfunctions globalfunctions
addedglobalfunctions
resultCompletionItemKind globalfunctions phpGlobalFunctionsglobalfunctionsglobalfunctions
compiletimeconstants phpGlobalscompiletimeconstants
phpGlobalscompiletimeconstantscompiletimeconstants compiletimeconstants
addedcompiletimeconstants
resultCompletionItemKindField compiletimeconstants phpGlobalscompiletimeconstantscompiletimeconstants
keywords phpGlobalskeywords
phpGlobalskeywordskeywords keywords
addedkeywords
resultCompletionItemKindKeyword keywords phpGlobalskeywordskeywords
text document
prefix
variableMatch
match RegExpExecArray
match variableMatchtext
word match
addedword
addedword
resultCompletionItemKindVariable word
functionMatch
match2 RegExpExecArray
match2 functionMatchtext
word2 match2
addedword2
addedword2
resultCompletionItemKind word2
result