Some desktop environment libraries, mainly for Windows Shell (Windows' built-in desktop environment).
A library for controlling input controls' IME (Input Method Editor) behavior on Windows.
Usage:
// cargo add ib-ime
// Manually set:
ib_ime::imm::set_ime_state(false);
ib_ime::imm::set_ime_conversion_mode(ib_ime::imm::ImeConversionMode::ALPHANUMERIC);
// Automatically turn off IME by default for a window (or an editor control):
ib_ime::hook::ImeHookConfig::default_off().hook_window(edit_hwnd);Winio integration example: examples/winio.rs
See also:
A library for operating file system files / Windows Shell items.
A library for handling of custom Windows Shell verbs (actions like open) and injecting them.
-
ib-open-workspace: Given a file path, open its parent folder (or Git root) and show the file in VS Code.For example:
ib-open-workspace --vscode README.md
Works on Windows and Linux.
If you don't want a binary, there is also a cmd + VBScript version.