Skip to content

Commit

Permalink
fixup! Rename to completionlib
Browse files Browse the repository at this point in the history
  • Loading branch information
tamuratak committed Sep 10, 2023
1 parent bde236f commit 609307e
Show file tree
Hide file tree
Showing 8 changed files with 32 additions and 31 deletions.
2 changes: 1 addition & 1 deletion src/components/completionupdaterlib/citationupdater.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as vscode from 'vscode'
import {CiteSuggestion, Fields} from '../../providers/completionlib/citation'
import { CiteSuggestion, Fields } from '../../providers/completionlib/citation'
import type { Logger } from '../logger'
import type { Manager } from '../manager'
import { ReferenceKind } from '../../providers/completionlib/completionkind'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import * as vscode from 'vscode'
import { latexParser } from 'latex-utensils'
import { CmdEnvSuggestion } from '../../../providers/completionlib/command'
import { CommandNameDuplicationDetector, CommandSignatureDuplicationDetector, isTriggerSuggestNeeded } from '../../../providers/completionlib/commandlib/commandlib'
import { Completer } from '../../../providers/completion'
import { Manager } from '../../manager'
import type { Completer } from '../../../providers/completion'
import type { Manager } from '../../manager'
import { CommandKind } from '../../../providers/completionlib/completionkind'


Expand Down
4 changes: 2 additions & 2 deletions src/components/completionupdaterlib/environmentupdater.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import {latexParser} from 'latex-utensils'
import {CmdEnvSuggestion} from '../../providers/completionlib/command'
import { latexParser } from 'latex-utensils'
import { CmdEnvSuggestion } from '../../providers/completionlib/command'
import type { Manager } from '../manager'
import { EnvKind } from '../../providers/completionlib/completionkind'

Expand Down
4 changes: 2 additions & 2 deletions src/components/completionupdaterlib/glossaryupdater.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {latexParser} from 'latex-utensils'
import { latexParser } from 'latex-utensils'

import {GlossarySuggestion, GlossaryType} from '../../providers/completionlib/glossary'
import { GlossarySuggestion, GlossaryType } from '../../providers/completionlib/glossary'
import { toVscodePosition } from '../../utils/utensils'
import { Manager } from '../manager'
import { ReferenceKind } from '../../providers/completionlib/completionkind'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import * as vscode from 'vscode'
import {latexParser} from 'latex-utensils'
import {isNewCommand} from '../../utils/utils'

import { LabelDefinitionElement } from '../../providers/completionlib/labeldefinition'
import type { LabelDefinitionElement } from '../../providers/completionlib/labeldefinition'
import { toVscodeRange } from '../../utils/utensils'
import type { Manager } from '../manager'

Expand Down
17 changes: 9 additions & 8 deletions src/components/manager.ts
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
import * as vscode from 'vscode'
import * as path from 'path'
import * as utils from '../utils/utils'
import {InputFileRegExp} from '../utils/inputfilepath'

import { InputFileRegExp } from '../utils/inputfilepath'
import { isCacheLatest } from '../utils/utils'

import type {CmdEnvSuggestion} from '../providers/completionlib/command'
import type {CiteSuggestion} from '../providers/completionlib/citation'
import type {GlossarySuggestion} from '../providers/completionlib/glossary'
import type { CmdEnvSuggestion } from '../providers/completionlib/command'
import type { CiteSuggestion } from '../providers/completionlib/citation'
import type { GlossarySuggestion } from '../providers/completionlib/glossary'

import {PdfWatcher} from './managerlib/pdfwatcher'
import {BibWatcher} from './managerlib/bibwatcher'
import {FinderUtils} from './managerlib/finderutils'
import {PathUtils} from './managerlib/pathutils'
import { PdfWatcher } from './managerlib/pdfwatcher'
import { BibWatcher } from './managerlib/bibwatcher'
import { FinderUtils } from './managerlib/finderutils'
import { PathUtils } from './managerlib/pathutils'

import { LabelDefinitionElement } from '../providers/completionlib/labeldefinition'
import { existsPath, isLocalLatexDocument, isVirtualUri, readFileGracefully, readFilePath, statPath } from '../lib/lwfs/lwfs'
Expand Down
22 changes: 11 additions & 11 deletions src/components/mathpreview.ts
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
import * as vscode from 'vscode'

import {MathJaxPool} from './mathpreviewlib/mathjaxpool'
import { MathJaxPool } from './mathpreviewlib/mathjaxpool'
import * as utils from '../utils/svg'
import type {LabelDefinitionEntry} from '../providers/completionlib/labeldefinition'
import {getCurrentThemeLightness} from '../utils/theme'

import {CursorRenderer} from './mathpreviewlib/cursorrenderer'
import {type ITextDocumentLike, TextDocumentLike} from './mathpreviewlib/textdocumentlike'
import {NewCommandFinder} from './mathpreviewlib/newcommandfinder'
import {TexMathEnv, TeXMathEnvFinder} from './mathpreviewlib/texmathenvfinder'
import {HoverPreviewOnRefProvider} from './mathpreviewlib/hoverpreviewonref'
import {MathPreviewUtils} from './mathpreviewlib/mathpreviewutils'
import type { LabelDefinitionEntry } from '../providers/completionlib/labeldefinition'
import { getCurrentThemeLightness } from '../utils/theme'

import { CursorRenderer } from './mathpreviewlib/cursorrenderer'
import { type ITextDocumentLike, TextDocumentLike } from './mathpreviewlib/textdocumentlike'
import { NewCommandFinder } from './mathpreviewlib/newcommandfinder'
import { TexMathEnv, TeXMathEnvFinder } from './mathpreviewlib/texmathenvfinder'
import { HoverPreviewOnRefProvider } from './mathpreviewlib/hoverpreviewonref'
import { MathPreviewUtils } from './mathpreviewlib/mathpreviewutils'
import { Logger } from './logger'
import { Manager } from './manager'
import { UtensilsParser } from './utensilsparser'

export type {TexMathEnv} from './mathpreviewlib/texmathenvfinder'
export type { TexMathEnv } from './mathpreviewlib/texmathenvfinder'


export class MathPreview {
Expand Down
8 changes: 4 additions & 4 deletions src/components/mathpreviewlib/hoverpreviewonref.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import * as vscode from 'vscode'
import * as utils from '../../utils/svg'
import type {MathJaxPool} from './mathjaxpool'
import type {LabelDefinitionEntry} from '../../providers/completionlib/labeldefinition'
import type {TexMathEnv} from './texmathenvfinder'
import type {MathPreviewUtils} from './mathpreviewutils'
import type { MathJaxPool } from './mathjaxpool'
import type { LabelDefinitionEntry } from '../../providers/completionlib/labeldefinition'
import type { TexMathEnv } from './texmathenvfinder'
import type { MathPreviewUtils } from './mathpreviewutils'
import type { Logger } from '../logger'


Expand Down

0 comments on commit 609307e

Please sign in to comment.