SYMBOL INDEX (1309 symbols across 145 files) FILE: packages/foam-vscode/esbuild.js function getPlatform (line 8) | function getPlatform() { method setup (line 40) | setup(build) { method setup (line 48) | setup(build) { method setup (line 60) | setup(build) { function buildExtension (line 87) | async function buildExtension() { function main (line 111) | async function main() { method setup (line 121) | setup(build) { FILE: packages/foam-vscode/src/ai/model/embedding-cache.ts type Checksum (line 4) | type Checksum = string; type EmbeddingCacheEntry (line 9) | interface EmbeddingCacheEntry { type EmbeddingCache (line 17) | type EmbeddingCache = ICache; FILE: packages/foam-vscode/src/ai/model/embeddings.test.ts class MockProvider (line 14) | class MockProvider implements EmbeddingProvider { method embed (line 15) | async embed(text: string): Promise { method isAvailable (line 20) | async isAvailable(): Promise { method getProviderInfo (line 23) | getProviderInfo(): EmbeddingProviderInfo { constant ROOT (line 32) | const ROOT = [URI.parse('/', 'file')]; FILE: packages/foam-vscode/src/ai/model/embeddings.ts type SimilarResource (line 18) | interface SimilarResource { type EmbeddingProgressContext (line 26) | interface EmbeddingProgressContext { class FoamEmbeddings (line 36) | class FoamEmbeddings implements IDisposable { method constructor (line 50) | constructor( method getEmbedding (line 61) | public getEmbedding(uri: URI): number[] | null { method hasEmbeddings (line 70) | public hasEmbeddings(): boolean { method size (line 78) | public size(): number { method getSimilar (line 88) | public getSimilar(uri: URI, topK: number = 10): SimilarResource[] { method cosineSimilarity (line 123) | public cosineSimilarity(a: number[], b: number[]): number { method updateResource (line 151) | public async updateResource(uri: URI): Promise { method update (line 222) | public async update( method prepareTextForEmbedding (line 327) | private prepareTextForEmbedding(title: string, content: string): string { method fromWorkspace (line 349) | public static fromWorkspace( method dispose (line 376) | public dispose(): void { FILE: packages/foam-vscode/src/ai/model/in-memory-embedding-cache.ts class InMemoryEmbeddingCache (line 7) | class InMemoryEmbeddingCache implements EmbeddingCache { method get (line 10) | get(uri: URI): EmbeddingCacheEntry { method has (line 14) | has(uri: URI): boolean { method set (line 18) | set(uri: URI, entry: EmbeddingCacheEntry): void { method del (line 22) | del(uri: URI): void { method clear (line 26) | clear(): void { FILE: packages/foam-vscode/src/ai/providers/ollama/ollama-provider.ts type OllamaConfig (line 10) | interface OllamaConfig { constant DEFAULT_OLLAMA_CONFIG (line 22) | const DEFAULT_OLLAMA_CONFIG: OllamaConfig = { class OllamaEmbeddingProvider (line 31) | class OllamaEmbeddingProvider implements EmbeddingProvider { method constructor (line 34) | constructor(config: Partial = {}) { method embed (line 41) | async embed(text: string): Promise { method isAvailable (line 102) | async isAvailable(): Promise { method getProviderInfo (line 136) | getProviderInfo(): EmbeddingProviderInfo { method getConfig (line 156) | getConfig(): OllamaConfig { FILE: packages/foam-vscode/src/ai/services/embedding-provider.ts type EmbeddingProviderInfo (line 4) | interface EmbeddingProviderInfo { type EmbeddingProvider (line 32) | interface EmbeddingProvider { type Embedding (line 56) | interface Embedding { FILE: packages/foam-vscode/src/ai/services/noop-embedding-provider.ts class NoOpEmbeddingProvider (line 7) | class NoOpEmbeddingProvider implements EmbeddingProvider { method embed (line 8) | async embed(_text: string): Promise { method isAvailable (line 12) | async isAvailable(): Promise { method getProviderInfo (line 16) | getProviderInfo(): EmbeddingProviderInfo { FILE: packages/foam-vscode/src/ai/vscode/commands/build-embeddings.ts constant BUILD_EMBEDDINGS_COMMAND (line 8) | const BUILD_EMBEDDINGS_COMMAND = { function activate (line 13) | async function activate( function buildEmbeddings (line 40) | async function buildEmbeddings( FILE: packages/foam-vscode/src/ai/vscode/commands/show-similar-notes.ts constant SHOW_SIMILAR_NOTES_COMMAND (line 7) | const SHOW_SIMILAR_NOTES_COMMAND = { function activate (line 12) | async function activate( function showSimilarNotes (line 28) | async function showSimilarNotes(foam: Foam): Promise { FILE: packages/foam-vscode/src/ai/vscode/panels/related-notes.ts function activate (line 10) | async function activate( class RelatedNotesTreeDataProvider (line 55) | class RelatedNotesTreeDataProvider extends BaseTreeProvider { method getChildren (line 100) | async getChildren(item?: vscode.TreeItem): Promise { method getState (line 129) | public getState(): 'no-note' | 'no-embedding' | 'ready' { FILE: packages/foam-vscode/src/core/common/cancellation.ts type CancellationToken (line 11) | interface CancellationToken { method dispose (line 38) | dispose() { function isCancellationToken (line 45) | function isCancellationToken( class MutableToken (line 78) | class MutableToken implements CancellationToken { method cancel (line 82) | public cancel() { method isCancellationRequested (line 92) | get isCancellationRequested(): boolean { method onCancellationRequested (line 96) | get onCancellationRequested(): Event { method dispose (line 106) | public dispose(): void { class CancellationTokenSource (line 114) | class CancellationTokenSource { method constructor (line 118) | constructor(parent?: CancellationToken) { method token (line 123) | get token(): CancellationToken { method cancel (line 132) | cancel(): void { method dispose (line 144) | dispose(cancel: boolean = false): void { FILE: packages/foam-vscode/src/core/common/charCode.ts type CharCode (line 14) | const enum CharCode { FILE: packages/foam-vscode/src/core/common/errors.ts type ErrorListenerCallback (line 8) | interface ErrorListenerCallback { type ErrorListenerUnbind (line 12) | interface ErrorListenerUnbind { class ErrorHandler (line 17) | class ErrorHandler { method constructor (line 21) | constructor() { method addListener (line 35) | addListener(listener: ErrorListenerCallback): ErrorListenerUnbind { method emit (line 43) | private emit(e: any): void { method _removeListener (line 49) | private _removeListener(listener: ErrorListenerCallback): void { method setUnexpectedErrorHandler (line 53) | setUnexpectedErrorHandler(newUnexpectedErrorHandler: (e: any) => void)... method getUnexpectedErrorHandler (line 57) | getUnexpectedErrorHandler(): (e: any) => void { method onUnexpectedError (line 61) | onUnexpectedError(e: any): void { method onUnexpectedExternalError (line 67) | onUnexpectedExternalError(e: any): void { function setUnexpectedErrorHandler (line 74) | function setUnexpectedErrorHandler( function onUnexpectedError (line 80) | function onUnexpectedError(e: any): undefined { function onUnexpectedExternalError (line 88) | function onUnexpectedExternalError(e: any): undefined { type SerializedError (line 96) | interface SerializedError { function transformErrorForSerialization (line 105) | function transformErrorForSerialization(error: any): any { type V8CallSite (line 122) | interface V8CallSite { function isPromiseCanceledError (line 144) | function isPromiseCanceledError(error: any): boolean { function canceled (line 155) | function canceled(): Error { function illegalArgument (line 161) | function illegalArgument(name?: string): Error { function illegalState (line 169) | function illegalState(name?: string): Error { function readonly (line 177) | function readonly(name?: string): Error { function disposed (line 183) | function disposed(what: string): Error { function getErrorMessage (line 189) | function getErrorMessage(err: any): string { class NotImplementedError (line 205) | class NotImplementedError extends Error { method constructor (line 206) | constructor(message?: string) { class NotSupportedError (line 214) | class NotSupportedError extends Error { method constructor (line 215) | constructor(message?: string) { FILE: packages/foam-vscode/src/core/common/event.ts type Event (line 23) | interface Event { function once (line 37) | function once(event: Event): Event { function map (line 70) | function map(event: Event, map: (i: I) => O): Event { function forEach (line 80) | function forEach(event: Event, each: (i: I) => void): Event { function filter (line 105) | function filter( function signal (line 117) | function signal(event: Event): Event { function any (line 127) | function any(...events: Event[]): Event { function reduce (line 140) | function reduce( function snapshot (line 158) | function snapshot(event: Event): Event { function debounce (line 195) | function debounce( function stopwatch (line 245) | function stopwatch(event: Event): Event { function latch (line 254) | function latch(event: Event): Event { function buffer (line 288) | function buffer( type IChainableEvent (line 338) | interface IChainableEvent { class ChainableEvent (line 373) | class ChainableEvent implements IChainableEvent { method constructor (line 374) | constructor(readonly event: Event) {} method map (line 376) | map(fn: (i: T) => O): IChainableEvent { method forEach (line 380) | forEach(fn: (i: T) => void): IChainableEvent { method filter (line 386) | filter(fn: (e: T) => boolean): IChainableEvent { method reduce (line 390) | reduce( method latch (line 397) | latch(): IChainableEvent { method debounce (line 413) | debounce( method on (line 424) | on( method once (line 432) | once(listener: (e: T) => any, thisArgs: any, disposables: IDisposable[... function chain (line 437) | function chain(event: Event): IChainableEvent { type NodeEventEmitter (line 441) | interface NodeEventEmitter { function fromNodeEventEmitter (line 446) | function fromNodeEventEmitter( type DOMEventEmitter (line 459) | interface DOMEventEmitter { function fromDOMEventEmitter (line 464) | function fromDOMEventEmitter( function fromPromise (line 478) | function fromPromise(promise: Promise): Event { function toPromise (line 496) | function toPromise(event: Event): Promise { type Listener (line 501) | type Listener = [(e: T) => void, any] | ((e: T) => void); type EmitterOptions (line 503) | interface EmitterOptions { function setGlobalLeakWarningThreshold (line 512) | function setGlobalLeakWarningThreshold(n: number): IDisposable { class LeakageMonitor (line 522) | class LeakageMonitor { method constructor (line 526) | constructor( method dispose (line 531) | dispose(): void { method check (line 537) | check(listenerCount: number): undefined | (() => void) { class Emitter (line 604) | class Emitter { method constructor (line 614) | constructor(options?: EmitterOptions) { method event (line 628) | get event(): Event { method fire (line 706) | fire(event: T): void { method dispose (line 735) | dispose() { class PauseableEmitter (line 749) | class PauseableEmitter extends Emitter { method constructor (line 754) | constructor(options?: EmitterOptions & { merge?: (input: T[]) => T }) { method pause (line 759) | pause(): void { method resume (line 763) | resume(): void { method fire (line 781) | fire(event: T): void { type IWaitUntil (line 792) | interface IWaitUntil { class EventMultiplexer (line 796) | class EventMultiplexer implements IDisposable { method constructor (line 801) | constructor() { method event (line 808) | get event(): Event { method add (line 812) | add(event: Event): IDisposable { method onFirstListenerAdd (line 832) | private onFirstListenerAdd(): void { method onLastListenerRemove (line 837) | private onLastListenerRemove(): void { method hook (line 842) | private hook(e: { event: Event; listener: IDisposable | null }): vo... method unhook (line 846) | private unhook(e: { event: Event; listener: IDisposable | null }): ... method dispose (line 853) | dispose(): void { class EventBufferer (line 878) | class EventBufferer { method wrapEvent (line 881) | wrapEvent(event: Event): Event { method bufferEvents (line 899) | bufferEvents(fn: () => R): R { class Relay (line 915) | class Relay implements IDisposable { method input (line 936) | set input(event: Event) { method dispose (line 945) | dispose() { FILE: packages/foam-vscode/src/core/common/functional.ts function once (line 8) | function once(this: unknown, fn: T): T { FILE: packages/foam-vscode/src/core/common/iterator.ts function is (line 9) | function is(thing: any): thing is IterableIterator { function empty (line 18) | function empty(): Iterable { function from (line 26) | function from( function first (line 32) | function first(iterable: Iterable): T | undefined { function some (line 36) | function some( function consume (line 80) | function consume( FILE: packages/foam-vscode/src/core/common/lifecycle.ts constant TRACK_DISPOSABLES (line 18) | const TRACK_DISPOSABLES = false; function markTracked (line 22) | function markTracked(x: T): void { function trackDisposable (line 36) | function trackDisposable(x: T): T { class MultiDisposeError (line 50) | class MultiDisposeError extends Error { method constructor (line 51) | constructor(public readonly errors: any[]) { type IDisposable (line 60) | interface IDisposable { function isDisposable (line 64) | function isDisposable( function dispose (line 85) | function dispose( function combinedDisposable (line 116) | function combinedDisposable(...disposables: IDisposable[]): IDisposable { function toDisposable (line 121) | function toDisposable(fn: () => void): IDisposable { class DisposableStore (line 131) | class DisposableStore implements IDisposable { method dispose (line 142) | public dispose(): void { method clear (line 155) | public clear(): void { method add (line 163) | public add(t: T): T { method dispose (line 189) | dispose() {} method constructor (line 193) | constructor() { method dispose (line 197) | public dispose(): void { method _register (line 203) | protected _register(t: T): T { class MutableDisposable (line 217) | class MutableDisposable implements IDisposable { method constructor (line 221) | constructor() { method value (line 225) | get value(): T | undefined { method value (line 229) | set value(value: T | undefined) { method clear (line 243) | clear() { method dispose (line 247) | dispose(): void { type IReference (line 257) | interface IReference extends IDisposable { method acquire (line 267) | acquire(key: string, ...args: any[]): IReference { class ImmortalReference (line 295) | class ImmortalReference implements IReference { method constructor (line 296) | constructor(public object: T) {} method dispose (line 297) | dispose(): void { FILE: packages/foam-vscode/src/core/common/linkedList.ts class Node (line 8) | class Node { method constructor (line 15) | constructor(element: E) { class LinkedList (line 22) | class LinkedList { method size (line 27) | get size(): number { method isEmpty (line 31) | isEmpty(): boolean { method clear (line 35) | clear(): void { method unshift (line 41) | unshift(element: E): () => void { method push (line 45) | push(element: E): () => void { method _insert (line 49) | private _insert(element: E, atTheEnd: boolean): () => void { method shift (line 78) | shift(): E | undefined { method pop (line 88) | pop(): E | undefined { method _remove (line 98) | private _remove(node: Node): void { method [Symbol.iterator] (line 122) | *[Symbol.iterator](): Iterator { FILE: packages/foam-vscode/src/core/common/platform.ts constant LANGUAGE_DEFAULT (line 8) | const LANGUAGE_DEFAULT = 'en'; type NLSConfig (line 21) | interface NLSConfig { type IProcessEnvironment (line 27) | interface IProcessEnvironment { type INodeProcess (line 31) | interface INodeProcess { type INavigator (line 45) | interface INavigator { type Platform (line 118) | const enum Platform { function PlatformToString (line 124) | function PlatformToString(platform: Platform) { function value (line 163) | function value(): string { function isDefaultVariant (line 167) | function isDefaultVariant(): boolean { function isDefault (line 177) | function isDefault(): boolean { type ISetImmediate (line 196) | interface ISetImmediate { FILE: packages/foam-vscode/src/core/common/snippetParser.test.ts function assertText (line 115) | function assertText(value: string, expected: string) { function assertMarker (line 121) | function assertMarker(input: TextmateSnippet | Marker[] | string, ...cto... function assertTextAndMarker (line 140) | function assertTextAndMarker(value: string, escaped: string, ...ctors: F... function assertEscaped (line 145) | function assertEscaped(value: string, expected: string) { function assertTextsnippetString (line 316) | function assertTextsnippetString(input: string, expected: string): void { function assertIdent (line 333) | function assertIdent(input: string): void { function assertLen (line 517) | function assertLen(template: string, ...lengths: number[]): void { function assertParent (line 761) | function assertParent(marker: Marker) { FILE: packages/foam-vscode/src/core/common/snippetParser.ts type TokenType (line 31) | const enum TokenType { type Token (line 49) | interface Token { class Scanner (line 56) | class Scanner { method isDigitCharacter (line 72) | static isDigitCharacter(ch: number): boolean { method isVariableCharacter (line 76) | static isVariableCharacter(ch: number): boolean { method text (line 85) | text(value: string) { method tokenText (line 90) | tokenText(token: Token): string { method next (line 94) | next(): Token { method appendChild (line 160) | appendChild(child: Marker): this { method replace (line 172) | replace(child: Marker, others: Marker[]): void { method children (line 187) | get children(): Marker[] { method snippet (line 191) | get snippet(): TextmateSnippet | undefined { method toString (line 204) | toString(): string { method len (line 210) | len(): number { class Text (line 217) | class Text extends Marker { method escape (line 219) | static escape(value: string): string { method constructor (line 223) | constructor(public value: string) { method toString (line 226) | toString() { method toTextmateString (line 229) | toTextmateString(): string { method len (line 232) | len(): number { method clone (line 235) | clone(): Text { class Placeholder (line 244) | class Placeholder extends TransformableMarker { method compareByIndex (line 245) | static compareByIndex(a: Placeholder, b: Placeholder): number { method constructor (line 261) | constructor(public index: number) { method isFinalTabstop (line 265) | get isFinalTabstop() { method choice (line 269) | get choice(): Choice | undefined { method toTextmateString (line 275) | toTextmateString(): string { method clone (line 291) | clone(): Placeholder { class Choice (line 301) | class Choice extends Marker { method appendChild (line 305) | appendChild(marker: Marker): this { method toString (line 313) | toString() { method toTextmateString (line 317) | toTextmateString(): string { method len (line 323) | len(): number { method clone (line 327) | clone(): Choice { class Transform (line 334) | class Transform extends Marker { method resolve (line 338) | resolve(value: string): string { method _replace (line 353) | private _replace(groups: string[]): string { method toString (line 367) | toString(): string { method toTextmateString (line 371) | toTextmateString(): string { method clone (line 375) | clone(): Transform { class FormatString (line 384) | class FormatString extends Marker { method constructor (line 386) | constructor( method resolve (line 395) | resolve(value?: string): string { method _toPascalCase (line 415) | private _toPascalCase(value: string): string { method _toCamelCase (line 427) | private _toCamelCase(value: string): string { method toTextmateString (line 443) | toTextmateString(): string { method clone (line 460) | clone(): FormatString { class Variable (line 466) | class Variable extends TransformableMarker { method constructor (line 470) | constructor(public name: string, pos?: number, endPos?: number) { method resolve (line 476) | async resolve(resolver: VariableResolver): Promise { method toTextmateString (line 488) | toTextmateString(): string { method clone (line 500) | clone(): Variable { type VariableResolver (line 510) | interface VariableResolver { function asyncWalk (line 514) | async function asyncWalk(marker: Marker[], visitor: (marker: Marker) => ... function walk (line 526) | function walk(marker: Marker[], visitor: (marker: Marker) => boolean): v... class TextmateSnippet (line 538) | class TextmateSnippet extends Marker { method constructor (line 543) | constructor(value: string) { method variables (line 548) | variables(): Variable[] { method snippetTextWithVariablesSubstituted (line 559) | snippetTextWithVariablesSubstituted(variableNames?: Set): stri... method placeholderInfo (line 581) | get placeholderInfo() { method placeholders (line 598) | get placeholders(): Placeholder[] { method offset (line 603) | offset(marker: Marker): number { method fullLen (line 621) | fullLen(marker: Marker): number { method enclosingPlaceholders (line 630) | enclosingPlaceholders(placeholder: Placeholder): Placeholder[] { method resolveVariables (line 642) | async resolveVariables(resolver: VariableResolver, variableNames?: Set... method appendChild (line 654) | appendChild(child: Marker) { method replace (line 659) | replace(child: Marker, others: Marker[]): void { method toTextmateString (line 664) | toTextmateString(): string { method clone (line 668) | clone(): TextmateSnippet { method asyncWalk (line 674) | async asyncWalk(visitor: (marker: Marker) => Promise): Promis... method walk (line 678) | walk(visitor: (marker: Marker) => boolean): void { class SnippetParser (line 683) | class SnippetParser { method escape (line 685) | static escape(value: string): string { method guessNeedsClipboard (line 689) | static guessNeedsClipboard(template: string): boolean { method text (line 696) | text(value: string): string { method parse (line 700) | parse(value: string, insertFinalTabstop?: boolean, enforceFinalTabstop... method _accept (line 755) | private _accept(type: TokenType, value?: boolean): boolean | string { method _backTo (line 764) | private _backTo(token: Token): false { method _until (line 770) | private _until(type: TokenType): false | string { method _parse (line 790) | private _parse(marker: Marker): boolean { method _parseEscaped (line 799) | private _parseEscaped(marker: Marker): boolean { method _parseTabstopOrVariableName (line 815) | private _parseTabstopOrVariableName(parent: Marker): boolean { method _parseComplexPlaceholder (line 833) | private _parseComplexPlaceholder(parent: Marker): boolean { method _parseChoiceElement (line 912) | private _parseChoiceElement(parent: Choice): boolean { method _parseComplexVariable (line 948) | private _parseComplexVariable(parent: Marker): boolean { method _parseTransform (line 1005) | private _parseTransform(parent: TransformableMarker): boolean { method _parseFormatString (line 1074) | private _parseFormatString(parent: Transform): boolean { method _parseAnything (line 1158) | private _parseAnything(marker: Marker): boolean { FILE: packages/foam-vscode/src/core/janitor/convert-links-format.ts function convertLinkFormat (line 20) | function convertLinkFormat( FILE: packages/foam-vscode/src/core/janitor/generate-link-references.test.ts function textForNote (line 19) | function textForNote(text: string): string { type TestCase (line 27) | interface TestCase { FILE: packages/foam-vscode/src/core/janitor/generate-link-references.ts constant LINK_REFERENCE_DEFINITION_HEADER (line 8) | const LINK_REFERENCE_DEFINITION_HEADER = `[//begin]: # "Autogenerated li... constant LINK_REFERENCE_DEFINITION_FOOTER (line 9) | const LINK_REFERENCE_DEFINITION_FOOTER = `[//end]: # "Autogenerated link... FILE: packages/foam-vscode/src/core/model/foam.ts type Services (line 15) | interface Services { type Foam (line 21) | interface Foam extends IDisposable { FILE: packages/foam-vscode/src/core/model/graph.ts type Connection (line 9) | type Connection = { class FoamGraph (line 18) | class FoamGraph implements IDisposable { method constructor (line 40) | constructor(private readonly workspace: FoamWorkspace) {} method contains (line 42) | public contains(uri: URI): boolean { method getAllNodes (line 46) | public getAllNodes(): URI[] { method getAllConnections (line 53) | public getAllConnections(): Connection[] { method getConnections (line 57) | public getConnections(uri: URI): Connection[] { method getLinks (line 64) | public getLinks(uri: URI): Connection[] { method getBacklinks (line 68) | public getBacklinks(uri: URI): Connection[] { method fromWorkspace (line 81) | public static fromWorkspace( method update (line 102) | public update() { method connect (line 130) | private connect(source: URI, target: URI, link: ResourceLink) { method dispose (line 149) | public dispose(): void { FILE: packages/foam-vscode/src/core/model/location.ts type Location (line 8) | interface Location { method create (line 24) | static create(uri: URI, range: Range, data: T): Location { method forObjectWithRange (line 28) | static forObjectWithRange( FILE: packages/foam-vscode/src/core/model/note.ts type ResourceLink (line 5) | interface ResourceLink { method isReferenceStyleLink (line 17) | static isReferenceStyleLink(link: ResourceLink): boolean { method isUnresolvedReference (line 24) | static isUnresolvedReference( method isResolvedReference (line 33) | static isResolvedReference( method isRegularLink (line 42) | static isRegularLink(link: ResourceLink): boolean { type NoteLinkDefinition (line 47) | interface NoteLinkDefinition { method format (line 55) | static format(definition: NoteLinkDefinition) { method isEqual (line 66) | static isEqual(def1: NoteLinkDefinition, def2: NoteLinkDefinition): bool... type Tag (line 75) | interface Tag { type Alias (line 80) | interface Alias { type Section (line 85) | interface Section { type BlockType (line 90) | type BlockType = type Block (line 99) | interface Block { method generateId (line 113) | static generateId(): string { type Resource (line 118) | interface Resource { type ResourceParser (line 130) | interface ResourceParser { method sortByTitle (line 135) | public static sortByTitle(a: Resource, b: Resource) { method sortByPath (line 139) | public static sortByPath(a: Resource, b: Resource) { method isResource (line 143) | public static isResource(thing: any): thing is Resource { method findSection (line 158) | public static findSection(resource: Resource, label: string): Section | ... method findBlock (line 165) | public static findBlock(resource: Resource, id: string): Block | null { method getSectionAtPosition (line 181) | public static getSectionAtPosition( FILE: packages/foam-vscode/src/core/model/position.ts type Position (line 4) | interface Position { method create (line 10) | static create(line: number, character: number): Position { method Min (line 14) | static Min(...positions: Position[]): Position { method Max (line 28) | static Max(...positions: Position[]): Position { method isBefore (line 42) | static isBefore(p1: Position, p2: Position): boolean { method isBeforeOrEqual (line 52) | static isBeforeOrEqual(p1: Position, p2: Position): boolean { method isAfter (line 62) | static isAfter(p1: Position, p2: Position): boolean { method isAfterOrEqual (line 66) | static isAfterOrEqual(p1: Position, p2: Position): boolean { method isEqual (line 70) | static isEqual(p1: Position, p2: Position): boolean { method compareTo (line 74) | static compareTo(p1: Position, p2: Position): number { FILE: packages/foam-vscode/src/core/model/provider.ts type ResourceProvider (line 6) | interface ResourceProvider extends IDisposable { FILE: packages/foam-vscode/src/core/model/range.ts type Range (line 6) | interface Range { method create (line 12) | static create( method createFromPosition (line 29) | static createFromPosition(start: Position, end?: Position) { method containsRange (line 49) | static containsRange(range: Range, contained: Range): boolean { method containsPosition (line 56) | static containsPosition(range: Range, position: Position): boolean { method isEqual (line 63) | static isEqual(r1: Range, r2: Range): boolean { method isBefore (line 69) | static isBefore(a: Range, b: Range): number { method toString (line 73) | static toString(range: Range): string { FILE: packages/foam-vscode/src/core/model/tags.ts class FoamTags (line 8) | class FoamTags implements IDisposable { method constructor (line 19) | constructor(private readonly workspace: FoamWorkspace) {} method fromWorkspace (line 29) | public static fromWorkspace( method update (line 51) | update(): void { method dispose (line 63) | dispose(): void { FILE: packages/foam-vscode/src/core/model/uri.ts class URI (line 33) | class URI { method constructor (line 40) | constructor(from: Partial = {}) { method parse (line 58) | static parse(value: string, defaultScheme: URI | string | null): URI { method file (line 85) | static file(value: string): URI { method placeholder (line 90) | static placeholder(path: string): URI { method resolve (line 94) | resolve(value: string | URI, isDirectory = false): URI { method isAbsolute (line 110) | isAbsolute(): boolean { method getDirectory (line 114) | getDirectory(): URI { method getBasename (line 119) | getBasename(): string { method getName (line 123) | getName(): string { method getExtension (line 127) | getExtension(): string { method changeExtension (line 131) | changeExtension(from: string, to: string): URI { method joinPath (line 136) | joinPath(...paths: string[]) { method relativeTo (line 141) | relativeTo(uri: URI) { method with (line 155) | with(change: { method forPath (line 180) | forPath(path: string): URI { method asPlain (line 188) | asPlain(): URI { method isPlaceholder (line 192) | isPlaceholder(): boolean { method toFsPath (line 196) | toFsPath() { method toString (line 203) | toString(): string { method isMarkdown (line 207) | isMarkdown(): boolean { method isEqual (line 212) | isEqual(uri: URI): boolean { function decodeURIComponentGraceful (line 225) | function decodeURIComponentGraceful(str: string): string { function percentDecode (line 239) | function percentDecode(str: string): string { function encode (line 251) | function encode(uri: URI, skipEncoding: boolean): string { function encodeURIComponentFast (line 349) | function encodeURIComponentFast( function encodeURIComponentMinimal (line 412) | function encodeURIComponentMinimal(path: string): string { function asAbsoluteUri (line 440) | function asAbsoluteUri( FILE: packages/foam-vscode/src/core/model/workspace.ts class FoamWorkspace (line 11) | class FoamWorkspace implements IDisposable { method constructor (line 47) | constructor(roots: URI[] = [], public defaultExtension: string = '.md') { method registerProvider (line 51) | registerProvider(provider: ResourceProvider) { method resolveUri (line 67) | resolveUri(filepath: string, relativeTo?: URI): URI { method set (line 110) | set(resource: Resource) { method delete (line 123) | delete(uri: URI) { method clear (line 132) | clear() { method _directoryIndexPriority (line 147) | private _directoryIndexPriority(uri: URI): number { method _registerDirectoryIndex (line 154) | private _registerDirectoryIndex(resource: Resource): void { method _unregisterDirectoryIndex (line 168) | private _unregisterDirectoryIndex(uri: URI): void { method findByDirectory (line 201) | public findByDirectory(dirPath: string): Resource | null { method listByDirectoryIdentifier (line 212) | public listByDirectoryIdentifier(identifier: string): Resource[] { method exists (line 224) | public exists(uri: URI): boolean { method list (line 228) | public list(): Resource[] { method resources (line 232) | public resources(): IterableIterator { method get (line 240) | public get(uri: URI): Resource { method listByIdentifier (line 249) | public listByIdentifier(identifier: string): Resource[] { method getIdentifier (line 281) | public getIdentifier(forResource: URI, exclude?: URI[]): string { method getDirectoryIdentifier (line 315) | public getDirectoryIdentifier(forResource: URI): string | null { method getTrieIdentifier (line 333) | private getTrieIdentifier(reference: URI | string): string { method find (line 350) | public find(reference: URI | string, baseUri?: URI): Resource | null { method resolveLink (line 400) | public resolveLink(resource: Resource, link: ResourceLink): URI { method fetch (line 411) | public fetch(uri: URI): Promise { method fetchAndSet (line 428) | public async fetchAndSet(uri: URI): Promise { method readAsMarkdown (line 434) | public readAsMarkdown(uri: URI): Promise { method dispose (line 443) | public dispose(): void { method isIdentifier (line 449) | static isIdentifier(path: string): boolean { method getShortestIdentifier (line 463) | static getShortestIdentifier(forPath: string, amongst: string[]): stri... method fromProviders (line 494) | static async fromProviders( FILE: packages/foam-vscode/src/core/query/dql.ts constant DQL_PLACEHOLDER (line 7) | const DQL_PLACEHOLDER = `
constant KNOWN_FIELDS (line 43) | const KNOWN_FIELDS = new Set([ constant VALID_FORMATS (line 52) | const VALID_FORMATS = new Set(['list', 'table', 'count']); function validateFieldValue (line 58) | function validateFieldValue(key: string, value: unknown): string | null { function renderWarnings (line 104) | function renderWarnings(warnings: string[]): string { function renderDqlQuery (line 110) | function renderDqlQuery( FILE: packages/foam-vscode/src/core/query/html.ts function escapeHtml (line 3) | function escapeHtml(text: string): string { function noteLink (line 11) | function noteLink( function cellValue (line 27) | function cellValue( function renderList (line 41) | function renderList( function renderTable (line 76) | function renderTable( function renderCount (line 101) | function renderCount(results: ResourceView[]): string { function renderResults (line 111) | function renderResults( FILE: packages/foam-vscode/src/core/query/index.test.ts function makeWorkspaceAndGraph (line 10) | function makeWorkspaceAndGraph(notes: ReturnType[... FILE: packages/foam-vscode/src/core/query/index.ts type QueryFilter (line 6) | type QueryFilter = type QueryDescriptor (line 21) | interface QueryDescriptor { type ResourceView (line 30) | type ResourceView = Record; constant DEFAULT_SELECT (line 32) | const DEFAULT_SELECT = ['title', 'path']; type Predicate (line 36) | type Predicate = (r: Resource) => boolean; function makeExpressionContext (line 43) | function makeExpressionContext(r: Resource, graph: FoamGraph) { function parseFilter (line 53) | function parseFilter( function parseShorthand (line 157) | function parseShorthand( function buildFullView (line 196) | function buildFullView(r: Resource, graph: FoamGraph): Record, field: string): unk... function projectResource (line 220) | function projectResource( function compareValues (line 231) | function compareValues(a: unknown, b: unknown): number { function parseSortDescriptor (line 240) | function parseSortDescriptor(sort: string): { constant ALL_QUERY_FIELDS (line 253) | const ALL_QUERY_FIELDS = [ class QueryResult (line 272) | class QueryResult { method constructor (line 276) | constructor( method descriptor (line 285) | get descriptor(): QueryDescriptor { method clone (line 289) | private clone(): QueryResult { method where (line 302) | where(predicate: (r: ResourceView) => boolean): QueryResult { method sortBy (line 308) | sortBy(field: string, direction: 'asc' | 'desc' = 'asc'): QueryResult { method limit (line 317) | limit(n: number): QueryResult { method offset (line 323) | offset(n: number): QueryResult { method select (line 329) | select(fields: string[]): QueryResult { method format (line 335) | format(f: 'table' | 'list' | 'count'): QueryResult { method toArray (line 346) | toArray(): ResourceView[] { function executeQuery (line 383) | function executeQuery( FILE: packages/foam-vscode/src/core/query/js.ts constant EXECUTION_TIMEOUT (line 11) | const EXECUTION_TIMEOUT = 10_000; constant BLOCKED_GLOBALS (line 14) | const BLOCKED_GLOBALS = [ constant JS_PLACEHOLDER (line 33) | const JS_PLACEHOLDER = `
function renderJsQuery (line 41) | function renderJsQuery( FILE: packages/foam-vscode/src/core/services/attachment-provider.ts class AttachmentResourceProvider (line 33) | class AttachmentResourceProvider implements ResourceProvider { method constructor (line 37) | constructor(attachmentExtensions: string[] = []) { method supports (line 41) | supports(uri: URI) { method readAsMarkdown (line 47) | async readAsMarkdown(uri: URI): Promise { method fetch (line 54) | async fetch(uri: URI) { method resolveLink (line 58) | resolveLink(w: FoamWorkspace, resource: Resource, l: ResourceLink) { method dispose (line 65) | dispose() { FILE: packages/foam-vscode/src/core/services/datastore.ts type IDataStore (line 8) | interface IDataStore { type IWatcher (line 23) | interface IWatcher { type IMatcher (line 29) | interface IMatcher { class GenericDataStore (line 64) | class GenericDataStore implements IDataStore { method constructor (line 65) | constructor( method list (line 70) | async list(): Promise { method read (line 74) | async read(uri: URI) { class FileListBasedMatcher (line 92) | class FileListBasedMatcher implements IMatcher { method constructor (line 97) | constructor( method match (line 108) | match(files: URI[]): URI[] { method isMatch (line 112) | isMatch(uri: URI): boolean { method refresh (line 116) | async refresh() { method createFromListFn (line 120) | static async createFromListFn( class AlwaysIncludeMatcher (line 133) | class AlwaysIncludeMatcher implements IMatcher { method match (line 136) | match(files: URI[]): URI[] { method isMatch (line 140) | isMatch(uri: URI): boolean { method refresh (line 144) | refresh(): Promise { class SubstringExcludeMatcher (line 149) | class SubstringExcludeMatcher implements IMatcher { method constructor (line 152) | constructor(exclude: string) { method match (line 156) | match(files: URI[]): URI[] { method isMatch (line 160) | isMatch(uri: URI): boolean { method refresh (line 164) | refresh(): Promise { FILE: packages/foam-vscode/src/core/services/heading-edit.ts type HeadingEditResult (line 8) | interface HeadingEditResult { method createRenameBlockEdits (line 26) | static createRenameBlockEdits( method createRenameSectionEdits (line 149) | static createRenameSectionEdits( FILE: packages/foam-vscode/src/core/services/markdown-link.ts method analyzeLink (line 13) | public static analyzeLink(link: ResourceLink) { method createUpdateLinkEdit (line 78) | public static createUpdateLinkEdit( FILE: packages/foam-vscode/src/core/services/markdown-parser.ts type ParserPlugin (line 23) | interface ParserPlugin { type Checksum (line 33) | type Checksum = string; type ParserCacheEntry (line 35) | interface ParserCacheEntry { type ParserCache (line 48) | type ParserCache = ICache; function getLinkDefinitions (line 55) | function getLinkDefinitions(markdown: string): NoteLinkDefinition[] { function createMarkdownParser (line 71) | function createMarkdownParser( function getPropertiesInfoFromYAML (line 232) | function getPropertiesInfoFromYAML(yamlText: string): { constant BLOCK_ANCHOR_REGEX (line 354) | const BLOCK_ANCHOR_REGEX = /(\s)\^([a-zA-Z0-9-]+)$/; constant STANDALONE_BLOCK_ANCHOR_RE (line 356) | const STANDALONE_BLOCK_ANCHOR_RE = /^\^([a-zA-Z0-9-]+)$/; constant BLOCK_NODE_TYPES (line 374) | const BLOCK_NODE_TYPES: Record = { constant FULL_LINE_SIBLING_TYPES (line 383) | const FULL_LINE_SIBLING_TYPES: Record = { FILE: packages/foam-vscode/src/core/services/markdown-provider.ts class MarkdownResourceProvider (line 17) | class MarkdownResourceProvider implements ResourceProvider { method constructor (line 20) | constructor( method supports (line 27) | supports(uri: URI) { method readAsMarkdown (line 31) | async readAsMarkdown(uri: URI): Promise { method fetch (line 83) | async fetch(uri: URI) { method resolveLink (line 88) | resolveLink( method _resolveAsDirectory (line 170) | private _resolveAsDirectory( method _resolveDirectoryByIdentifier (line 178) | private _resolveDirectoryByIdentifier( method dispose (line 186) | dispose() { function createMarkdownReferences (line 191) | function createMarkdownReferences( FILE: packages/foam-vscode/src/core/services/progress.ts type Progress (line 4) | interface Progress { type ProgressCallback (line 16) | type ProgressCallback = (progress: Progress) => void; type CancellationToken (line 21) | interface CancellationToken { class CancellationError (line 29) | class CancellationError extends Error { method constructor (line 30) | constructor(message: string = 'Operation cancelled') { FILE: packages/foam-vscode/src/core/services/tag-edit.ts type TagEditResult (line 13) | interface TagEditResult { method createRenameTagEdits (line 39) | public static createRenameTagEdits( method createSingleTagEdit (line 73) | private static createSingleTagEdit( method validateTagRename (line 101) | public static validateTagRename( method findChildTags (line 192) | public static findChildTags(foamTags: FoamTags, parentTag: string): stri... method createHierarchicalRenameEdits (line 217) | public static createHierarchicalRenameEdits( method getTagAtPosition (line 265) | public static getTagAtPosition( FILE: packages/foam-vscode/src/core/services/text-edit.ts type TextEdit (line 6) | interface TextEdit { method apply (line 22) | public static apply( type WorkspaceTextEdit (line 74) | interface WorkspaceTextEdit { FILE: packages/foam-vscode/src/core/utils/cache.ts type ICache (line 1) | interface ICache { FILE: packages/foam-vscode/src/core/utils/core.ts function isNotNull (line 9) | function isNotNull(value: T | null): value is T { function isSome (line 19) | function isSome( function isNone (line 31) | function isNone( function isNumeric (line 43) | function isNumeric(value: string): boolean { function firstFrom (line 62) | async function firstFrom( FILE: packages/foam-vscode/src/core/utils/hashtags.ts constant HASHTAG_REGEX (line 2) | const HASHTAG_REGEX = constant WORD_REGEX (line 4) | const WORD_REGEX = FILE: packages/foam-vscode/src/core/utils/log.ts type ILogger (line 1) | interface ILogger { type LogLevel (line 10) | type LogLevel = 'debug' | 'info' | 'warn' | 'error'; type LogLevelThreshold (line 11) | type LogLevelThreshold = LogLevel | 'off'; method constructor (line 21) | constructor(private level: LogLevelThreshold = 'info') {} method doLog (line 25) | doLog(msgLevel: LogLevel, message?: any, ...params: any[]): void { method debug (line 34) | debug(message?: any, ...params: any[]): void { method info (line 37) | info(message?: any, ...params: any[]): void { method warn (line 40) | warn(message?: any, ...params: any[]): void { method error (line 43) | error(message?: any, ...params: any[]): void { method getLevel (line 46) | getLevel(): LogLevelThreshold { method setLevel (line 49) | setLevel(level: LogLevelThreshold): void { class ConsoleLogger (line 54) | class ConsoleLogger extends BaseLogger { method log (line 55) | log(level: LogLevel, msg?: string, ...params: any[]): void { class NoOpLogger (line 60) | class NoOpLogger extends BaseLogger { method log (line 61) | log(_l: LogLevel, _m?: string, ..._p: any[]): void { class Logger (line 66) | class Logger { method debug (line 67) | static debug(message?: any, ...params: any[]): void { method info (line 70) | static info(message?: any, ...params: any[]): void { method warn (line 73) | static warn(message?: any, ...params: any[]): void { method error (line 76) | static error(message?: any, ...params: any[]): void { method getLevel (line 79) | static getLevel(): LogLevelThreshold { method setLevel (line 82) | static setLevel(level: LogLevelThreshold): void { method setDefaultLogger (line 88) | static setDefaultLogger(logger: ILogger) { FILE: packages/foam-vscode/src/core/utils/md.ts function getExcerpt (line 3) | function getExcerpt( function stripFrontMatter (line 22) | function stripFrontMatter(markdown: string): string { function stripImages (line 26) | function stripImages(markdown: string): string { function isInFrontMatter (line 39) | function isInFrontMatter(content: string, lineNumber: number): boolean { function isOnYAMLKeywordLine (line 60) | function isOnYAMLKeywordLine(content: string, keyword: string): boolean { FILE: packages/foam-vscode/src/core/utils/path.ts function fromFsPath (line 15) | function fromFsPath(path: string): [string, string] { function toFsPath (line 40) | function toFsPath(path: string, authority?: string): string { function isAbsolute (line 58) | function isAbsolute(path: string): boolean { function getDirectory (line 70) | function getDirectory(path: string): string { function getBasename (line 80) | function getBasename(path: string): string { function getName (line 90) | function getName(path: string): string { function getExtension (line 103) | function getExtension(path: string): string { function changeExtension (line 115) | function changeExtension( function joinPath (line 136) | function joinPath(...paths: string[]): string { function relativeTo (line 149) | function relativeTo(path: string, basePath: string): string { function hasDrive (line 153) | function hasDrive(path: string, idx = 0): boolean { function isUNCShare (line 165) | function isUNCShare(fsPath: string): boolean { function parseUNCShare (line 173) | function parseUNCShare(uncPath: string): [string, string] { function asAbsolutePaths (line 193) | function asAbsolutePaths(path: string, baseFolders: string[]): string[] { FILE: packages/foam-vscode/src/core/utils/task-deduplicator.test.ts type Status (line 150) | type Status = 'complete' | 'cancelled' | 'error'; FILE: packages/foam-vscode/src/core/utils/task-deduplicator.ts class TaskDeduplicator (line 24) | class TaskDeduplicator { method run (line 36) | async run(task: () => Promise, onDuplicate?: () => void): Promise { method isRunning (line 57) | isRunning(): boolean { method clear (line 64) | clear(): void { FILE: packages/foam-vscode/src/dated-notes.ts function openDailyNoteFor (line 22) | async function openDailyNoteFor(date?: Date, foam?: Foam) { function getDailyNoteUri (line 45) | function getDailyNoteUri(date: Date): URI { function getDailyNoteFileName (line 61) | function getDailyNoteFileName(date: Date): string { constant DEFAULT_DAILY_NOTE_TEMPLATE (line 74) | const DEFAULT_DAILY_NOTE_TEMPLATE = `--- constant CREATE_DAILY_NOTE_WARNING_RESPONSE (line 96) | const CREATE_DAILY_NOTE_WARNING_RESPONSE = 'Create daily note template'; function createDailyNoteIfNotExists (line 105) | async function createDailyNoteIfNotExists(targetDate: Date, foam: Foam) { FILE: packages/foam-vscode/src/extension.ts function activate (line 25) | async function activate(context: ExtensionContext) { FILE: packages/foam-vscode/src/features/block-rename-provider.ts function activate (line 14) | async function activate( class BlockRenameProvider (line 27) | class BlockRenameProvider implements vscode.RenameProvider { method constructor (line 28) | constructor(private foam: Foam) {} method prepareRename (line 30) | async prepareRename( method provideRenameEdits (line 45) | provideRenameEdits( method getBlockAnchorAtCursor (line 97) | private getBlockAnchorAtCursor( FILE: packages/foam-vscode/src/features/commands/convert-links.ts constant CONVERT_WIKILINK_TO_MDLINK (line 12) | const CONVERT_WIKILINK_TO_MDLINK = { constant CONVERT_MDLINK_TO_WIKILINK (line 17) | const CONVERT_MDLINK_TO_WIKILINK = { function convertWikilinkToMarkdownAtPosition (line 26) | function convertWikilinkToMarkdownAtPosition( function convertMarkdownToWikilinkAtPosition (line 72) | function convertMarkdownToWikilinkAtPosition( function activate (line 120) | async function activate( function convertWikilinkToMarkdown (line 140) | async function convertWikilinkToMarkdown(foam: Foam): Promise { function convertMarkdownToWikilink (line 196) | async function convertMarkdownToWikilink(foam: Foam): Promise { FILE: packages/foam-vscode/src/features/commands/copy-without-brackets.ts function activate (line 3) | async function activate(context: ExtensionContext) { function copyWithoutBrackets (line 12) | async function copyWithoutBrackets() { function removeBrackets (line 38) | function removeBrackets(s: string): string { function toTitleCase (line 70) | function toTitleCase(word: string): string { FILE: packages/foam-vscode/src/features/commands/create-new-template.ts function activate (line 4) | async function activate(context: ExtensionContext) { FILE: packages/foam-vscode/src/features/commands/create-note-from-template.ts function activate (line 3) | async function activate(context: ExtensionContext) { FILE: packages/foam-vscode/src/features/commands/create-note.ts function activate (line 22) | async function activate( type CreateNoteArgs (line 34) | interface CreateNoteArgs { constant DEFAULT_NEW_NOTE_TEXT (line 84) | const DEFAULT_NEW_NOTE_TEXT = `# \${FOAM_TITLE} function forceLocalDate (line 95) | function forceLocalDate(dateString: string): Date { function createNote (line 102) | async function createNote(args: CreateNoteArgs, foam: Foam) { constant CREATE_NOTE_COMMAND (line 217) | const CREATE_NOTE_COMMAND = { FILE: packages/foam-vscode/src/features/commands/janitor.ts function activate (line 21) | async function activate( function janitor (line 32) | async function janitor(foam: Foam) { function runJanitor (line 68) | async function runJanitor(foam: Foam) { FILE: packages/foam-vscode/src/features/commands/open-daily-note-for-date.ts function activate (line 8) | async function activate( class DateItem (line 32) | class DateItem implements QuickPickItem { method constructor (line 37) | constructor(public date: Date, offset: number, public exists: boolean) { function generateDateItems (line 55) | function generateDateItems(ws: FoamWorkspace): DateItem[] { FILE: packages/foam-vscode/src/features/commands/open-daily-note.ts function activate (line 6) | async function activate( FILE: packages/foam-vscode/src/features/commands/open-dated-note.ts function activate (line 9) | async function activate( FILE: packages/foam-vscode/src/features/commands/open-random-note.ts function activate (line 5) | async function activate( FILE: packages/foam-vscode/src/features/commands/open-resource.ts function activate (line 12) | async function activate( type OpenResourceArgs (line 24) | interface OpenResourceArgs { constant OPEN_COMMAND (line 38) | const OPEN_COMMAND = { function openResource (line 52) | async function openResource( type ResourceItem (line 104) | interface ResourceItem extends vscode.QuickPickItem { FILE: packages/foam-vscode/src/features/commands/rename-tag.ts constant RENAME_TAG_COMMAND (line 15) | const RENAME_TAG_COMMAND = { function activate (line 31) | async function activate( function executeRenameTag (line 79) | async function executeRenameTag( function performTagRename (line 278) | async function performTagRename( FILE: packages/foam-vscode/src/features/commands/search-tag.ts constant SEARCH_TAG_COMMAND (line 5) | const SEARCH_TAG_COMMAND = { function generateTagSearchPattern (line 16) | function generateTagSearchPattern(tagLabel: string): string { function activate (line 27) | async function activate( FILE: packages/foam-vscode/src/features/commands/update-graph.ts constant UPDATE_GRAPH_COMMAND_NAME (line 4) | const UPDATE_GRAPH_COMMAND_NAME = 'foam-vscode.update-graph'; function activate (line 6) | async function activate( FILE: packages/foam-vscode/src/features/commands/update-wikilinks.ts function activate (line 27) | async function activate( function getWikilinkDefinitionSetting (line 60) | function getWikilinkDefinitionSetting(): function updateWikilinkDefinitions (line 69) | async function updateWikilinkDefinitions( function detectDocumentWikilinkDefinitions (line 119) | function detectDocumentWikilinkDefinitions(text: string, eol: string) { class WikilinkReferenceCodeLensProvider (line 145) | class WikilinkReferenceCodeLensProvider implements CodeLensProvider { method constructor (line 146) | constructor( method provideCodeLenses (line 151) | public async provideCodeLenses( FILE: packages/foam-vscode/src/features/date-snippets.ts function activate (line 13) | async function activate(context: ExtensionContext) { type DateSnippet (line 24) | interface DateSnippet { FILE: packages/foam-vscode/src/features/document-decorator.ts function activate (line 61) | async function activate( FILE: packages/foam-vscode/src/features/heading-rename-provider.ts function activate (line 14) | async function activate( class HeadingRenameProvider (line 26) | class HeadingRenameProvider implements vscode.RenameProvider { method constructor (line 27) | constructor(private foam: Foam) {} method prepareRename (line 29) | async prepareRename( method provideRenameEdits (line 47) | provideRenameEdits( method getSectionOnHeadingLine (line 103) | private getSectionOnHeadingLine( function getHeadingLabelRange (line 124) | function getHeadingLabelRange( FILE: packages/foam-vscode/src/features/hover-provider.ts constant CONFIG_KEY (line 20) | const CONFIG_KEY = 'links.hover.enable'; function activate (line 22) | async function activate( class HoverProvider (line 45) | class HoverProvider implements vscode.HoverProvider { method constructor (line 46) | constructor( method provideHover (line 53) | async provideHover( FILE: packages/foam-vscode/src/features/link-completion.ts constant COMPLETION_CURSOR_MOVE (line 17) | const COMPLETION_CURSOR_MOVE = { constant WIKILINK_REGEX (line 22) | const WIKILINK_REGEX = /\[\[[^[\]]*(?!.*\]\])/; constant SECTION_REGEX (line 23) | const SECTION_REGEX = /\[\[([^[\]]*#(?!.*\]\]))/; function activate (line 25) | async function activate( class SectionCompletionProvider (line 93) | class SectionCompletionProvider method constructor (line 96) | constructor(private ws: FoamWorkspace) {} method provideCompletionItems (line 98) | provideCompletionItems( method resolveCompletionItem (line 163) | resolveCompletionItem( class WikilinkCompletionProvider (line 176) | class WikilinkCompletionProvider method constructor (line 179) | constructor(private ws: FoamWorkspace, private graph: FoamGraph) {} method provideCompletionItems (line 181) | provideCompletionItems( method resolveCompletionItem (line 317) | resolveCompletionItem( class ResourceCompletionItem (line 333) | class ResourceCompletionItem extends vscode.CompletionItem { method constructor (line 334) | constructor( function getCompletionLabelSetting (line 343) | function getCompletionLabelSetting() { function getCompletionAliasSetting (line 349) | function getCompletionAliasSetting() { function getCompletionLinkFormatSetting (line 356) | function getCompletionLinkFormatSetting() { function wikilinkRequiresAlias (line 364) | function wikilinkRequiresAlias(resource: Resource, defaultExtension: str... FILE: packages/foam-vscode/src/features/navigation-provider.ts function activate (line 22) | async function activate( class NavigationProvider (line 63) | class NavigationProvider method constructor (line 69) | constructor( method provideReferences (line 79) | public provideReferences( method getTagReferences (line 119) | private getTagReferences(tagLabel: string): vscode.Location[] { method provideDefinition (line 136) | public async provideDefinition( method provideDocumentLinks (line 206) | public async provideDocumentLinks( function resolveFragmentRange (line 285) | function resolveFragmentRange( FILE: packages/foam-vscode/src/features/panels/connections.ts function activate (line 19) | async function activate( class ConnectionsTreeDataProvider (line 55) | class ConnectionsTreeDataProvider extends BaseTreeProvider { method getChildren (line 129) | async getChildren(item?: BacklinkPanelTreeItem): Promise( type NotesTreeItems (line 85) | type NotesTreeItems = class NotesProvider (line 90) | class NotesProvider extends FolderTreeProvider< method constructor (line 96) | constructor( method getValues (line 126) | getValues() { method getFilterFn (line 130) | getFilterFn() { method valueToPath (line 136) | valueToPath(value: Resource) { method createValueTreeItem (line 145) | createValueTreeItem( FILE: packages/foam-vscode/src/features/panels/orphans.ts constant EXCLUDE_TYPES (line 19) | const EXCLUDE_TYPES = ['image', 'attachment']; function activate (line 20) | async function activate( function getOrphansConfig (line 57) | function getOrphansConfig(): GroupedResourcesConfig { class OrphanTreeView (line 63) | class OrphanTreeView extends GroupedResourcesTreeDataProvider { method constructor (line 64) | constructor( function isAttachment (line 91) | function isAttachment(uri: URI) { FILE: packages/foam-vscode/src/features/panels/placeholders.ts function getPlaceholdersConfig (line 23) | function getPlaceholdersConfig(): GroupedResourcesConfig { function activate (line 29) | async function activate( class PlaceholderTreeView (line 81) | class PlaceholderTreeView extends GroupedResourcesTreeDataProvider { method constructor (line 88) | public constructor( method createValueTreeItem (line 113) | createValueTreeItem(uri: URI, parent: FolderTreeItem): UriTreeItem { method getUris (line 134) | getUris(): URI[] { FILE: packages/foam-vscode/src/features/panels/tags-explorer.ts constant TAG_SEPARATOR (line 24) | const TAG_SEPARATOR = '/'; function activate (line 25) | async function activate( class TagsProvider (line 106) | class TagsProvider extends FolderTreeProvider { method constructor (line 124) | constructor( method refresh (line 165) | refresh(): void { method getValues (line 172) | getValues(): string[] { method valueToPath (line 181) | valueToPath(value: string) { method countResourcesInSubtree (line 185) | private countResourcesInSubtree(node: Folder) { method createFolderTreeItem (line 195) | createFolderTreeItem( method createValueTreeItem (line 204) | createValueTreeItem( method getChildren (line 215) | async getChildren(element?: TagItem): Promise { type TagTreeItem (line 250) | type TagTreeItem = TagItem | ResourceTreeItem | ResourceRangeTreeItem; class TagItem (line 252) | class TagItem extends FolderTreeItem { method constructor (line 255) | constructor( FILE: packages/foam-vscode/src/features/panels/utils/base-tree-provider.ts method getTreeItem (line 26) | getTreeItem(element: T) { method resolveTreeItem (line 30) | async resolveTreeItem(item: T): Promise { method refresh (line 37) | refresh(): void { method dispose (line 41) | dispose(): void { FILE: packages/foam-vscode/src/features/panels/utils/folder-tree-provider.ts type Folder (line 8) | interface Folder { class FolderTreeItem (line 19) | class FolderTreeItem extends vscode.TreeItem { method constructor (line 23) | constructor( method refresh (line 41) | refresh(): void { method getParent (line 48) | getParent(element: I | FolderTreeItem): vscode.ProviderResult { method createFolderTreeItem (line 57) | createFolderTreeItem( method getChildren (line 65) | async getChildren(item?: I): Promise { method createTree (line 90) | createTree(values: T[], filterFn: (value: T) => boolean): Folder { method getTreeItemsHierarchy (line 123) | getTreeItemsHierarchy(path: string[]): vscode.TreeItem[] { method findTreeItemByPath (line 160) | findTreeItemByPath(path: string[]): Promise { method getFilterFn (line 175) | getFilterFn(): (value: T) => boolean { function walk (line 203) | function walk(node: Folder, fn: (value: T) => R): R[] { function sortFolderTreeItems (line 221) | function sortFolderTreeItems(a: vscode.TreeItem, b: vscode.TreeItem): nu... FILE: packages/foam-vscode/src/features/panels/utils/grouped-resources-tree-data-provider.spec.ts class TestProvider (line 17) | class TestProvider extends GroupedResourcesTreeDataProvider { method constructor (line 18) | constructor( method getUris (line 25) | getUris(): URI[] { method createValueTreeItem (line 28) | createValueTreeItem(value: URI) { FILE: packages/foam-vscode/src/features/panels/utils/grouped-resources-tree-data-provider.ts type GroupedResourcesConfig (line 13) | interface GroupedResourcesConfig { type GroupedResourceTreeItem (line 17) | type GroupedResourceTreeItem = UriTreeItem | FolderTreeItem; method constructor (line 54) | constructor( method valueToPath (line 84) | valueToPath(value: URI) { method getValues (line 96) | getValues(): URI[] { method createFolderTreeItem (line 101) | createFolderTreeItem( FILE: packages/foam-vscode/src/features/panels/utils/tree-view-utils.ts class BaseTreeItem (line 14) | class BaseTreeItem extends vscode.TreeItem { method resolveTreeItem (line 15) | resolveTreeItem(): Promise { method getChildren (line 19) | getChildren(): Promise { class UriTreeItem (line 24) | class UriTreeItem extends BaseTreeItem { method constructor (line 27) | constructor( class ResourceTreeItem (line 45) | class ResourceTreeItem extends UriTreeItem { method constructor (line 49) | constructor( method resolveTreeItem (line 70) | async resolveTreeItem(): Promise { class ResourceRangeTreeItem (line 81) | class ResourceRangeTreeItem extends BaseTreeItem { method constructor (line 83) | constructor( method resolveTreeItem (line 98) | async resolveTreeItem(): Promise { method createStandardItem (line 128) | static async createStandardItem( function createBacklinkItemsForResource (line 191) | function createBacklinkItemsForResource( function createConnectionItemsForResource (line 212) | function createConnectionItemsForResource( function expandNode (line 241) | async function expandNode( function expandAll (line 276) | async function expandAll( FILE: packages/foam-vscode/src/features/preview/block-anchor-ids.ts constant INLINE_ANCHOR_RE (line 44) | const INLINE_ANCHOR_RE = /\s\^([a-zA-Z0-9-]+)$/; constant FULL_LINE_ANCHOR_RE (line 46) | const FULL_LINE_ANCHOR_RE = /^\^([a-zA-Z0-9-]+)$/; constant TRAILING_OWN_LINE_ANCHOR_RE (line 48) | const TRAILING_OWN_LINE_ANCHOR_RE = /\n\^([a-zA-Z0-9-]+)$/; function insertAnchor (line 51) | function insertAnchor( function findMatchingOpen (line 66) | function findMatchingOpen( FILE: packages/foam-vscode/src/features/preview/escape-wikilink-pipes.ts constant PIPE_PLACEHOLDER (line 29) | const PIPE_PLACEHOLDER = '\uF8FF'; constant WIKILINK_WITH_PIPE_REGEX (line 38) | const WIKILINK_WITH_PIPE_REGEX = /!?\[\[([^\]]*?\|[^\]]*?)\]\]/g; function encodePipesInWikilinks (line 43) | function encodePipesInWikilinks(text: string): string { function decodePipesInWikilinks (line 52) | function decodePipesInWikilinks(text: string): string { FILE: packages/foam-vscode/src/features/preview/foam-query-renderer.ts function markdownItFoamQuery (line 10) | function markdownItFoamQuery( FILE: packages/foam-vscode/src/features/preview/index.ts function activate (line 15) | async function activate( FILE: packages/foam-vscode/src/features/preview/wikilink-embed-web-extension.ts constant WIKILINK_EMBED_REGEX (line 7) | const WIKILINK_EMBED_REGEX = FILE: packages/foam-vscode/src/features/preview/wikilink-embed.ts constant WIKILINK_EMBED_REGEX (line 22) | const WIKILINK_EMBED_REGEX = constant WIKILINK_EMBED_REGEX_GROUPS (line 27) | const WIKILINK_EMBED_REGEX_GROUPS = constant CONFIG_EMBED_NOTE_TYPE (line 29) | const CONFIG_EMBED_NOTE_TYPE = 'preview.embedNoteType'; function getNoteContent (line 129) | function getNoteContent( function withLinksRelativeToWorkspaceRoot (line 187) | function withLinksRelativeToWorkspaceRoot( function retrieveNoteConfig (line 220) | function retrieveNoteConfig(explicitModifier: string | undefined): { type EmbedNoteExtractor (line 243) | type EmbedNoteExtractor = ( function fullExtractor (line 249) | function fullExtractor( function contentExtractor (line 279) | function contentExtractor( function extractBlockContent (line 323) | function extractBlockContent( type EmbedNoteFormatter (line 354) | type EmbedNoteFormatter = (content: string, md: markdownit) => string; function cardFormatter (line 356) | function cardFormatter(content: string, md: markdownit): string { function inlineFormatter (line 360) | function inlineFormatter(content: string, md: markdownit): string { type ImageParameters (line 364) | interface ImageParameters { function parseImageParameters (line 372) | function parseImageParameters( function generateImageStyles (line 426) | function generateImageStyles(params: ImageParameters, md: markdownit): s... function addDefaultUnit (line 461) | function addDefaultUnit(value: string): string { function escapeHtml (line 469) | function escapeHtml(text: string): string { FILE: packages/foam-vscode/src/features/refactor.test.ts function createFoam (line 16) | function createFoam(...notes: Resource[]): Foam { FILE: packages/foam-vscode/src/features/refactor.ts constant MARKDOWN_LINK_NOTIFICATION_KEY (line 12) | const MARKDOWN_LINK_NOTIFICATION_KEY = function buildFutureWorkspace (line 20) | function buildFutureWorkspace( function toCorrectCase (line 44) | function toCorrectCase(lowerId: string, dirUri: URI): string { function computeRenameEditsForPairs (line 60) | function computeRenameEditsForPairs( function computeWikilinkRenameEdits (line 109) | function computeWikilinkRenameEdits( function computeDirectoryWikilinkRenameEdits (line 121) | function computeDirectoryWikilinkRenameEdits( function activate (line 137) | async function activate( FILE: packages/foam-vscode/src/features/tag-completion.ts constant HASH_REGEX (line 9) | const HASH_REGEX = constant MAX_LINES_FOR_FRONT_MATTER (line 11) | const MAX_LINES_FOR_FRONT_MATTER = 50; function activate (line 13) | async function activate( class TagCompletionProvider (line 27) | class TagCompletionProvider method constructor (line 30) | constructor(private foamTags: FoamTags) {} method provideCompletionItems (line 32) | provideCompletionItems( method createTagsForFrontMatter (line 64) | private createTagsForFrontMatter( method createTagsForContent (line 117) | private createTagsForContent( method createCompletionTagItems (line 129) | private createCompletionTagItems(): vscode.CompletionItem[] { method tagMatchIndices (line 145) | private tagMatchIndices(content: string, match: RegExp): number[] { FILE: packages/foam-vscode/src/features/tag-rename-provider.ts function activate (line 22) | async function activate( class TagRenameProvider (line 41) | class TagRenameProvider implements vscode.RenameProvider { method constructor (line 42) | constructor(private foam: Foam) {} method prepareRename (line 57) | prepareRename( method provideRenameEdits (line 117) | provideRenameEdits( FILE: packages/foam-vscode/src/features/wikilink-diagnostics.ts constant AMBIGUOUS_IDENTIFIER_CODE (line 21) | const AMBIGUOUS_IDENTIFIER_CODE = 'ambiguous-identifier'; constant UNKNOWN_SECTION_CODE (line 22) | const UNKNOWN_SECTION_CODE = 'unknown-section'; constant UNKNOWN_BLOCK_CODE (line 23) | const UNKNOWN_BLOCK_CODE = 'unknown-block'; constant DUPLICATE_BLOCK_ID_CODE (line 24) | const DUPLICATE_BLOCK_ID_CODE = 'duplicate-block-id'; type FoamCommand (line 26) | interface FoamCommand { type FindIdentifierCommandArgs (line 31) | interface FindIdentifierCommandArgs { constant FIND_IDENTIFIER_COMMAND (line 38) | const FIND_IDENTIFIER_COMMAND: FoamCommand = { type ReplaceTextCommandArgs (line 58) | interface ReplaceTextCommandArgs { constant REPLACE_TEXT_COMMAND (line 63) | const REPLACE_TEXT_COMMAND: FoamCommand = { function activate (line 72) | async function activate( function updateDiagnostics (line 124) | function updateDiagnostics( class IdentifierResolver (line 253) | class IdentifierResolver implements vscode.CodeActionProvider { method constructor (line 258) | constructor(private defaultExtension: string) {} method provideCodeActions (line 260) | provideCodeActions( FILE: packages/foam-vscode/src/features/workspace-symbol-provider.ts function activate (line 6) | async function activate( class FoamWorkspaceSymbolProvider (line 25) | class FoamWorkspaceSymbolProvider method constructor (line 28) | constructor(private workspace: FoamWorkspace) {} method provideWorkspaceSymbols (line 34) | provideWorkspaceSymbols(query: string): vscode.SymbolInformation[] { method matchesQuery (line 67) | matchesQuery(query: string, candidate: string): boolean { FILE: packages/foam-vscode/src/services/cache.ts class VsCodeBasedParserCache (line 21) | class VsCodeBasedParserCache implements ParserCache { method constructor (line 27) | constructor(private context: ExtensionContext, size = 10000) { method clear (line 62) | clear(): void { method get (line 67) | get(uri: URI): ParserCacheEntry { method has (line 86) | has(uri: URI): boolean { method set (line 90) | set(uri: URI, entry: ParserCacheEntry): void { method del (line 95) | del(uri: URI): void { FILE: packages/foam-vscode/src/services/config.ts type ConfigurationMonitor (line 3) | interface ConfigurationMonitor extends Disposable { FILE: packages/foam-vscode/src/services/editor.ts type SelectionInfo (line 30) | interface SelectionInfo { function getNoteTooltip (line 40) | function getNoteTooltip(content: string): string { function formatMarkdownTooltip (line 45) | function formatMarkdownTooltip(content: string): MarkdownString { function isMdEditor (line 67) | function isMdEditor(editor: TextEditor): boolean { function isVirtualWorkspace (line 83) | function isVirtualWorkspace(): boolean { function getWorkspaceDefaultScheme (line 90) | function getWorkspaceDefaultScheme(): string { function findSelectionContent (line 97) | function findSelectionContent(): SelectionInfo | undefined { function focusNote (line 117) | async function focusNote( function createDocAndFocus (line 135) | async function createDocAndFocus( function replaceSelection (line 149) | async function replaceSelection( function getEditorEOL (line 162) | function getEditorEOL(): string { function getCurrentEditorDirectory (line 175) | function getCurrentEditorDirectory(): URI { function fileExists (line 185) | async function fileExists(uri: URI): Promise { function readFile (line 194) | async function readFile(uri: URI): Promise { function deleteFile (line 203) | function deleteFile(uri: URI) { function asAbsoluteWorkspaceUri (line 212) | function asAbsoluteWorkspaceUri(uriOrPath: URI | string): URI { function createMatcherAndDataStore (line 222) | async function createMatcherAndDataStore( FILE: packages/foam-vscode/src/services/errors.ts class UserCancelledOperation (line 1) | class UserCancelledOperation extends Error { method constructor (line 2) | constructor(message?: string) { FILE: packages/foam-vscode/src/services/js-template-loader.ts class JSTemplateError (line 11) | class JSTemplateError extends Error { method constructor (line 12) | constructor(message: string, public readonly templatePath: string) { class JSTemplateLoader (line 21) | class JSTemplateLoader { method loadFunction (line 34) | async loadFunction(template: URI): Promise { method createFunctionFromCode (line 66) | private createFunctionFromCode( method createVMSandbox (line 134) | private createVMSandbox() { method validateTemplateCode (line 148) | private validateTemplateCode(code: string, template: URI): void { method validateResult (line 184) | private validateResult(result: any, template: URI): void { FILE: packages/foam-vscode/src/services/js-template-sandbox.ts function createTemplateSandbox (line 11) | function createTemplateSandbox(context: TemplateContext) { constant BLOCKED_GLOBALS (line 46) | const BLOCKED_GLOBALS = [ FILE: packages/foam-vscode/src/services/logging.ts function getFoamLoggerLevel (line 5) | function getFoamLoggerLevel(): LogLevel { type VsCodeLogger (line 9) | interface VsCodeLogger extends ILogger, IDisposable { class VsCodeOutputLogger (line 13) | class VsCodeOutputLogger extends BaseLogger implements VsCodeLogger { method constructor (line 16) | constructor() { method log (line 21) | log(lvl: LogLevel, msg?: any, ...extra: any[]): void { method show (line 36) | show() { method dispose (line 39) | dispose(): void { FILE: packages/foam-vscode/src/services/note-creation-engine.test.ts function setupFoamEngine (line 21) | async function setupFoamEngine() { FILE: packages/foam-vscode/src/services/note-creation-engine.ts constant FILEPATH_UNALLOWED_CHARS (line 19) | const FILEPATH_UNALLOWED_CHARS = '<>?*"|'; function sanitizeFilepath (line 26) | function sanitizeFilepath(filepath: string): string { class NoteCreationEngine (line 36) | class NoteCreationEngine { method constructor (line 37) | constructor(private foam: Foam) {} method processTemplate (line 48) | async processTemplate( method executeJSTemplate (line 78) | private async executeJSTemplate( method executeMarkdownTemplate (line 115) | private async executeMarkdownTemplate( method generateDefaultFilepath (line 157) | private async generateDefaultFilepath(resolver: Resolver): Promise { method loadJavaScriptTemplate (line 43) | private async loadJavaScriptTemplate(template: URI): Promise