Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Cubxity/typstudio
/ functions
Functions
56 in github.com/Cubxity/typstudio
⨍
Functions
56
◇
Types & classes
38
↓ 12 callers
Method
clone
()
src/lib/editor/grammar.ts:59
↓ 9 callers
Function
project_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 callers
Method
insert
(&self, path: P, content: Option<String>)
src-tauri/src/project/world.rs:75
↓ 4 callers
Method
source
(&self, id: SourceId)
src-tauri/src/project/world.rs:113
↓ 3 callers
Method
get_project
(&self, window: &Window<R>)
src-tauri/src/project/project.rs:63
↓ 3 callers
Method
slot_update
(&mut self, path: &Path, content: Option<String>)
src-tauri/src/project/world.rs:34
↓ 2 callers
Function
autocomplete
( path: string, content: string, offset: number, explicit: boolean )
src/lib/ipc/typst.ts:52
↓ 2 callers
Method
from
(value: Completion)
src-tauri/src/ipc/commands/typst.rs:46
↓ 2 callers
Method
resolve
(&self, path: &Path)
src-tauri/src/project/world.rs:109
↓ 1 callers
Function
build_menu
()
src-tauri/src/main.rs:48
↓ 1 callers
Function
compile
(path: string, content: string)
src/lib/ipc/typst.ts:46
↓ 1 callers
Function
createShell
()
src/lib/stores.ts:26
↓ 1 callers
Method
handle_fs_event
(&self, event: notify::Event)
src-tauri/src/project/project.rs:103
↓ 1 callers
Function
render
(page: number, scale: number)
src/lib/ipc/typst.ts:49
↓ 1 callers
Method
set_main
(&mut self, source: SourceId)
src-tauri/src/project/world.rs:52
↓ 1 callers
Method
set_project
(&self, window: &Window<R>, project: Option<Arc<Project>>)
src-tauri/src/project/project.rs:67
↓ 1 callers
Method
set_watcher
(&self, watcher: Box<dyn Watcher + Send + Sync>)
src-tauri/src/project/project.rs:58
↓ 1 callers
Method
slot
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 callers
Function
wireTextMateGrammars
( // TmGrammar `Registry` this wiring should rely on to provide the grammars. registry: Registry, // `Ma
src/lib/editor/grammar.ts:7
Method
book
(&self)
src-tauri/src/project/world.rs:117
Function
clipboard_paste
( window: tauri::Window<R>, project_manager: tauri::State<'_, Arc<ProjectManager<R>>>, )
src-tauri/src/ipc/commands/clipboard.rs:22
Method
constructor
(private _ruleStack: StateStack)
src/lib/editor/grammar.ts:53
Function
createFile
(path: string)
src/lib/ipc/fs.ts:26
Function
createModal
(modal: Modal)
src/lib/stores.ts:40
Method
equals
(other: monaco.languages.IState)
src/lib/editor/grammar.ts:63
Method
file
(&self, path: &Path)
src-tauri/src/project/world.rs:125
Method
font
(&self, id: usize)
src-tauri/src/project/world.rs:121
Function
fs_create_file
( window: Window<R>, project_manager: State<'_, Arc<ProjectManager<R>>>, path: PathBuf, )
src-tauri/src/ipc/commands/fs.rs:51
Function
fs_list_dir
( window: Window<R>, project_manager: State<'_, Arc<ProjectManager<R>>>, path: PathBuf, )
src-tauri/src/ipc/commands/fs.rs:104
Function
fs_read_file_binary
( window: Window<R>, project_manager: State<'_, Arc<ProjectManager<R>>>, path: PathBuf, )
src-tauri/src/ipc/commands/fs.rs:31
Function
fs_read_file_text
( window: Window<R>, project_manager: State<'_, Arc<ProjectManager<R>>>, path: PathBuf, )
src-tauri/src/ipc/commands/fs.rs:41
Function
fs_write_file_binary
( window: Window<R>, project_manager: State<'_, Arc<ProjectManager<R>>>, path: PathBuf, conten
src-tauri/src/ipc/commands/fs.rs:73
Function
fs_write_file_text
( window: Window<R>, project_manager: State<'_, Arc<ProjectManager<R>>>, path: PathBuf, conten
src-tauri/src/ipc/commands/fs.rs:84
Function
handle_menu_event
(e: WindowMenuEvent<R>)
src-tauri/src/menu.rs:7
Method
init_watcher
( project_manager: Arc<ProjectManager<R>>, )
src-tauri/src/project/project.rs:30
Method
library
(&self)
src-tauri/src/project/world.rs:101
Function
listDir
(path: string)
src/lib/ipc/fs.ts:31
Function
loadGrammar
()
src/lib/editor/monaco.ts:26
Function
main
()
src-tauri/build.rs:1
Function
main
()
src-tauri/src/main.rs:19
Method
main
(&self)
src-tauri/src/project/world.rs:105
Method
new
(root: PathBuf)
src-tauri/src/project/world.rs:89
Method
new
()
src-tauri/src/project/project.rs:131
Method
new
()
src-tauri/src/engine/engine.rs:13
Function
paste
()
src/lib/ipc/clipboard.ts:7
Function
popModal
()
src/lib/stores.ts:46
Method
provideCompletionItems
( model: editor.ITextModel, position: Position, context: languages.CompletionContext, token: C
src/lib/editor/completion.ts:8
Function
readFileBinary
(path: string)
src/lib/ipc/fs.ts:20
Function
readFileText
(path: string)
src/lib/ipc/fs.ts:23
Method
ruleStack
()
src/lib/editor/grammar.ts:55
Function
selectFile
(path: string | undefined)
src/lib/stores.ts:34
Method
serialize
(&self, serializer: S)
src-tauri/src/ipc/commands/mod.rs:33
Function
typst_autocomplete
( window: tauri::Window<R>, project_manager: tauri::State<'_, Arc<ProjectManager<R>>>, path: PathB
src-tauri/src/ipc/commands/typst.rs:185
Function
typst_compile
( window: tauri::Window<R>, project_manager: tauri::State<'_, Arc<ProjectManager<R>>>, path: PathB
src-tauri/src/ipc/commands/typst.rs:63
Function
typst_render
( window: tauri::Window<R>, project_manager: tauri::State<'_, Arc<ProjectManager<R>>>, page: usize
src-tauri/src/ipc/commands/typst.rs:150
Function
writeFileText
(path: string, content: string)
src/lib/ipc/fs.ts:28