-
Notifications
You must be signed in to change notification settings - Fork 0
Usage
This page covers advanced usage topics for Black IDE, including portable mode, macOS press-and-hold settings, terminal access, and GitHub login integration.
Black IDE allows you to connect certain extensions (like Git integration helpers) to GitHub. Since Black IDE does not include Microsoft's proprietary authentication service:
- Create a Personal Access Token (Classic) on GitHub by visiting your GitHub Developer Settings.
- Assign the scopes necessary for your extensions (e.g.,
reposcope is required for advanced Git details or push/pull features). - Copy the token.
- When prompted by Black IDE or an extension to sign in to GitHub, paste this token as the password/token input.
Note for Linux users: If you see an error about Writing login information to the keychain failed, make sure you have gnome-keyring installed on your system.
Black IDE supports Portable Mode, which stores all configuration, extensions, and user data inside a folder next to the application binary. This is useful for running Black IDE from a USB drive or keeping multiple versions separate.
-
Windows / Linux: Create a folder named
datain the folder where the Black IDE binary/files are extracted. -
macOS: Create a folder named
black-ide-portable-datain the same directory as theBlack IDE.appbundle.
By default, macOS displays an accent menu when you press and hold a key instead of repeating the character. To enable character repeating in Black IDE, execute the following command in your terminal:
# Stable
defaults write com.blackide ApplePressAndHoldEnabled -bool false
# Insiders
defaults write com.blackide.insiders ApplePressAndHoldEnabled -bool falseThe domain is Black IDE's darwinBundleIdentifier, set during the build in
scripts/prepare/prepare_vscode.sh.
After running the command, restart Black IDE for the changes to take effect.
You can open files, directories, or launch the editor directly from your terminal using the black-ide command-line tool.
- Launch Black IDE.
- Open the Command Palette (
Cmd + Shift + PorCtrl + Shift + P). - Search for and execute the command:
Shell Command: Install 'black-ide' command in PATH.
Once installed, you can use the command:
# Open the current directory
black-ide .
# Open a specific file
black-ide index.jsYou can also create an alias in your shell configuration (~/.zshrc or ~/.bashrc) if you prefer a shorter command:
alias black="black-ide"