MCPcopy Create free account

hub / github.com/Cubxity/typstudio / functions

Functions56 in github.com/Cubxity/typstudio

↓ 12 callersMethodclone
()
src/lib/editor/grammar.ts:59
↓ 9 callersFunctionproject_path
Retrieves the project and resolves the path. Furthermore, this function will resolve the path relative to project's root and checks whether the path b
src-tauri/src/ipc/commands/mod.rs:46
↓ 6 callersMethodinsert
(&self, path: P, content: Option<String>)
src-tauri/src/project/world.rs:75
↓ 4 callersMethodsource
(&self, id: SourceId)
src-tauri/src/project/world.rs:113
↓ 3 callersMethodget_project
(&self, window: &Window<R>)
src-tauri/src/project/project.rs:63
↓ 3 callersMethodslot_update
(&mut self, path: &Path, content: Option<String>)
src-tauri/src/project/world.rs:34
↓ 2 callersFunctionautocomplete
( path: string, content: string, offset: number, explicit: boolean )
src/lib/ipc/typst.ts:52
↓ 2 callersMethodfrom
(value: Completion)
src-tauri/src/ipc/commands/typst.rs:46
↓ 2 callersMethodresolve
(&self, path: &Path)
src-tauri/src/project/world.rs:109
↓ 1 callersFunctionbuild_menu
()
src-tauri/src/main.rs:48
↓ 1 callersFunctioncompile
(path: string, content: string)
src/lib/ipc/typst.ts:46
↓ 1 callersFunctioncreateShell
()
src/lib/stores.ts:26
↓ 1 callersMethodhandle_fs_event
(&self, event: notify::Event)
src-tauri/src/project/project.rs:103
↓ 1 callersFunctionrender
(page: number, scale: number)
src/lib/ipc/typst.ts:49
↓ 1 callersMethodset_main
(&mut self, source: SourceId)
src-tauri/src/project/world.rs:52
↓ 1 callersMethodset_project
(&self, window: &Window<R>, project: Option<Arc<Project>>)
src-tauri/src/project/project.rs:67
↓ 1 callersMethodset_watcher
(&self, watcher: Box<dyn Watcher + Send + Sync>)
src-tauri/src/project/project.rs:58
↓ 1 callersMethodslot
Retrieves an existing path slot or inserts a new one. Inserting a new one will assign a source id and will load the file's content from the file syste
src-tauri/src/project/world.rs:59
↓ 1 callersFunctionwireTextMateGrammars
( // TmGrammar `Registry` this wiring should rely on to provide the grammars. registry: Registry, // `Ma
src/lib/editor/grammar.ts:7
Methodbook
(&self)
src-tauri/src/project/world.rs:117
Functionclipboard_paste
( window: tauri::Window<R>, project_manager: tauri::State<'_, Arc<ProjectManager<R>>>, )
src-tauri/src/ipc/commands/clipboard.rs:22
Methodconstructor
(private _ruleStack: StateStack)
src/lib/editor/grammar.ts:53
FunctioncreateFile
(path: string)
src/lib/ipc/fs.ts:26
FunctioncreateModal
(modal: Modal)
src/lib/stores.ts:40
Methodequals
(other: monaco.languages.IState)
src/lib/editor/grammar.ts:63
Methodfile
(&self, path: &Path)
src-tauri/src/project/world.rs:125
Methodfont
(&self, id: usize)
src-tauri/src/project/world.rs:121
Functionfs_create_file
( window: Window<R>, project_manager: State<'_, Arc<ProjectManager<R>>>, path: PathBuf, )
src-tauri/src/ipc/commands/fs.rs:51
Functionfs_list_dir
( window: Window<R>, project_manager: State<'_, Arc<ProjectManager<R>>>, path: PathBuf, )
src-tauri/src/ipc/commands/fs.rs:104
Functionfs_read_file_binary
( window: Window<R>, project_manager: State<'_, Arc<ProjectManager<R>>>, path: PathBuf, )
src-tauri/src/ipc/commands/fs.rs:31
Functionfs_read_file_text
( window: Window<R>, project_manager: State<'_, Arc<ProjectManager<R>>>, path: PathBuf, )
src-tauri/src/ipc/commands/fs.rs:41
Functionfs_write_file_binary
( window: Window<R>, project_manager: State<'_, Arc<ProjectManager<R>>>, path: PathBuf, conten
src-tauri/src/ipc/commands/fs.rs:73
Functionfs_write_file_text
( window: Window<R>, project_manager: State<'_, Arc<ProjectManager<R>>>, path: PathBuf, conten
src-tauri/src/ipc/commands/fs.rs:84
Functionhandle_menu_event
(e: WindowMenuEvent<R>)
src-tauri/src/menu.rs:7
Methodinit_watcher
( project_manager: Arc<ProjectManager<R>>, )
src-tauri/src/project/project.rs:30
Methodlibrary
(&self)
src-tauri/src/project/world.rs:101
FunctionlistDir
(path: string)
src/lib/ipc/fs.ts:31
FunctionloadGrammar
()
src/lib/editor/monaco.ts:26
Functionmain
()
src-tauri/build.rs:1
Functionmain
()
src-tauri/src/main.rs:19
Methodmain
(&self)
src-tauri/src/project/world.rs:105
Methodnew
(root: PathBuf)
src-tauri/src/project/world.rs:89
Methodnew
()
src-tauri/src/project/project.rs:131
Methodnew
()
src-tauri/src/engine/engine.rs:13
Functionpaste
()
src/lib/ipc/clipboard.ts:7
FunctionpopModal
()
src/lib/stores.ts:46
MethodprovideCompletionItems
( model: editor.ITextModel, position: Position, context: languages.CompletionContext, token: C
src/lib/editor/completion.ts:8
FunctionreadFileBinary
(path: string)
src/lib/ipc/fs.ts:20
FunctionreadFileText
(path: string)
src/lib/ipc/fs.ts:23
MethodruleStack
()
src/lib/editor/grammar.ts:55
FunctionselectFile
(path: string | undefined)
src/lib/stores.ts:34
Methodserialize
(&self, serializer: S)
src-tauri/src/ipc/commands/mod.rs:33
Functiontypst_autocomplete
( window: tauri::Window<R>, project_manager: tauri::State<'_, Arc<ProjectManager<R>>>, path: PathB
src-tauri/src/ipc/commands/typst.rs:185
Functiontypst_compile
( window: tauri::Window<R>, project_manager: tauri::State<'_, Arc<ProjectManager<R>>>, path: PathB
src-tauri/src/ipc/commands/typst.rs:63
Functiontypst_render
( window: tauri::Window<R>, project_manager: tauri::State<'_, Arc<ProjectManager<R>>>, page: usize
src-tauri/src/ipc/commands/typst.rs:150
FunctionwriteFileText
(path: string, content: string)
src/lib/ipc/fs.ts:28