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 * as vscode from 'vscode';
import { RefType } from './typings/git.constants.js';
import type { API as GitAPI, Repository } from './typings/git.d.ts';
import { getRepositoryFromUrl, repositoryHasGitHubRemote } from './util.js';
export function isFileInRepo(repository: Repository, file: vscode.Uri): boolean {
return file.path.toLowerCase() === repositoryrootUripath
filepathrepositoryrootUripath
filepathrepositoryrootUripathlength
gitAPI GitAPI file vscodeUri Repository
repository gitAPIrepositories
repository file
repository
LinkType
File
Notebook
type LinkTypeFile
uri vscodeUri
range vscodeRange
type LinkTypeNotebook
uri vscodeUri
cellIndex
range vscodeRange
uri vscodeUri
lineNumber
vscodeUri EditorLineNumberContext
context LinkContext fileUri vscodeUri lineNumber
context
fileUri lineNumber
context Uri
fileUri context lineNumber
fileUri contexturi lineNumber contextlineNumber
context LinkContext IFilePosition INotebookPosition
range vscodeRange
fileUri lineNumber context
uri fileUri vscodewindowactiveTextEditordocumenturi
uri
urischeme vscodewindowactiveNotebookEditornotebookurifsPath urifsPath
cell vscodewindowactiveNotebookEditornotebookcell celldocumenturifragment urifragment
cellIndex cellindex vscodewindowactiveNotebookEditorselectionstart
range lineNumber
type LinkTypeNotebook uri cellIndex range
range lineNumber
type LinkTypeFile uri range
vscodewindowactiveNotebookEditor
type LinkTypeNotebook uri vscodewindowactiveNotebookEditornotebookuri cellIndex vscodewindowactiveNotebookEditorselectionstart range
lineNumber
lineNumber vscodewindowactiveTextEditor vscodewindowactiveTextEditorselectionisEmpty vscodewindowactiveTextEditorselection lineNumber
lineNumber lineNumber
vscodewindowactiveTextEditorselection
range vscodeRange
range
hash
rangestartline rangeendline
hash
hash
index range vscodeRange
index
range
hash
rangestartline rangeendline
hash
hash
path
pathsegment segment
gitAPI GitAPI useSelection shouldEnsurePublished hostPrefix linkType context LinkContext useRange
hostPrefix hostPrefix
fileAndPosition context
fileUri fileAndPositionuri
githubRepository gitAPIrepositoriesrepo repo
gitRepo fileUri gitAPI fileUri githubRepository githubRepository
gitRepo
shouldEnsurePublished fileUri
gitRepo fileUri
repo owner repo
gitRepostateremotesremote
remotefetchUrl
foundRepo remotefetchUrl
foundRepo remotename gitRepostateupstreamremote
repo foundRepo
foundRepo repo
repo foundRepo
repo
blobSegment gitRepostate
uriWithoutFileSegments
fileUri
uriWithoutFileSegments
encodedFilePath fileUripathgitReporootUripathlength
fileSegments fileAndPositiontype LinkTypeFile
useSelection
useSelection
userId size
url branch hostPrefix
repo url
repo
branch branch
url hash hostPrefix
repo url
repo
repository Repository file vscodeUri
repository
repositorystatetype RefTypeHead repositorystatetype RefTypeTag
repositorystateupstream
publishBranch vscodel10n
selection vscodewindow
vscodel10n
modal
publishBranch
selection publishBranch
vscodecommands
uncommittedChanges repositorystateworkingTreeChanges repositorystateindexChanges
uncommittedChangesc curi file repositorystateahead repositorystatebehind
commitChanges vscodel10n
copyAnyway vscodel10n
selection vscodewindow
vscodel10n
modal
commitChanges
copyAnyway
selection copyAnyway
vscodecommands
repositorystateahead
pushCommits vscodel10n
selection vscodewindow
vscodel10n
modal
pushCommits
selection pushCommits
repository
repositorystatebehind
pull vscodel10n
selection vscodewindow
vscodel10n
modal
pull
selection pull
repository
repository