Skip to main content

Tools

Eclipse

Applies to plain Eclipse and to the IDEs built on it, including STM32CubeIDE and NXP MCUXpresso.

Shortcuts

ActionWindows / LinuxmacOS
Block (column) selection modeAlt+Shift+AAlt+Cmd+A
Format sourceCtrl+Shift+FCmd+Shift+F
Organise importsCtrl+Shift+OCmd+Shift+O
Quick fixCtrl+1Cmd+1
Open typeCtrl+Shift+TCmd+Shift+T
Open resource (any file)Ctrl+Shift+RCmd+Shift+R
Jump to declarationF3F3
Find references in workspaceCtrl+Shift+GCmd+Shift+G
Back / forward in edit historyAlt+← / Alt+→Cmd+[ / Cmd+]
Toggle commentCtrl+/Cmd+/
Rename (refactor)Alt+Shift+RAlt+Cmd+R
Toggle breakpointCtrl+Shift+BCmd+Shift+B
Run / resume debugCtrl+F11 / F8Cmd+F11 / F8
Quick access (command palette)Ctrl+3Cmd+3

Block selection is a toggle: press Alt+Shift+A again to return to normal selection, otherwise ordinary click-drag keeps producing rectangular selections.

Formatter settings

Window ▸ Preferences ▸ C/C++ ▸ Code Style ▸ Formatter (or Java ▸ Code Style ▸ Formatter). Built-in profiles cannot be edited — use Edit… and Eclipse will prompt to save a copy under a new name. Export the profile as XML and commit it so everyone on the project formats identically.

Known issues

Run and Debug are slow

Uninstall the ANSI Escape in Console plug-in. It hooks every line written to the console and the overhead becomes obvious on chatty firmware logs.

Help ▸ About ▸ Installation Details ▸ Installed Software, select the plug-in, then Uninstall… and restart.

Other common causes, worth checking before blaming a plug-in:

  • Console output volume itself. Cap it under Preferences ▸ Run/Debug ▸ Console or turn off Limit console output only when you really need the full log.
  • Workspace indexer running in the background. The progress bar in the status bar shows whether the C/C++ indexer is still working.
  • Too small a heap for the IDE. Raise -Xmx in eclipse.ini (or stm32cubeide.ini) on large workspaces.

Build Analyzer is empty

See STM32CubeIDE — the linker has to emit a map file first.

EZyoutuber

Auto generator subtitle

Scoop

Scoop is a command-line installer for Windows.

Syncthing

syncthing.exe -no-console
syncthing.exe -home PATH

Postman

Auto Update Environment

Tests

var res = pm.response.json();
pm.environment.set('API_TOKEN', res.token);

Sparkol VideoScribe

videoscribe.co: A user-friendly animation tool.

VSCode

Switching Tabs After Debugging

Here are the steps to prevent Visual Studio Code from switching tabs after debugging using CMake Tools:

Open Visual Studio Code and go to File -> Preferences -> Settings. In the search bar, type "debug" to find debug-related settings. Locate the setting "Debug: Open Debug" which controls the tab-switching behavior after debugging. Set this option to "neverOpen" to prevent automatic tab switching after debugging completes. This configuration change should allow you to stay in the CMake Tools tab after debugging instead of being automatically switched to the Debug tab.

Plug-in

# Export all the extensions
code --list-extensions > vscode-extensions.txt

# Install all the extensions
Get-Content vscode-extensions.txt | ForEach-Object {code --install-extension $_}

Cortex-Debug

Marketing

https://www.salesforce.com/tw/ https://www.hubspot.com/