Sublime C++ Mac

Interactively debugging C in Sublime Text 3. I had a bit of an journey yesterday getting gdb, (an interactive debugger for gcc) compiling and working in Sublime Text 3 (via the SublimeGDB package), so I thought I should document the issues I ran into & what finally worked, for others and perhaps my future self. Aug 25, 2021 If you are a Mac user, you can use a Sublime Text editor. Note: Sublime text editor is available for Linux, Windows, and Mac. If you purchase the pro version, you need a single license to run it on any of the systems you own. Even, you can use the free version which is more than sufficient in your learning phase.

Browse

Run shell commands like git, rvm, rspec, ls, etc. with Bash, Zsh and others inside your Sublime Text 3.

Fresh, Local Comfort Food And The Finest Beer At Sublime Alehouse

Installs

Sublime C++ Mac
  • Total21K
  • Win8K
  • Mac6K
  • Linux6K
Oct 2Oct 1Sep 30Sep 29Sep 28Sep 27Sep 26Sep 25Sep 24Sep 23Sep 22Sep 21Sep 20Sep 19Sep 18Sep 17Sep 16Sep 15Sep 14Sep 13Sep 12Sep 11Sep 10Sep 9Sep 8Sep 7Sep 6Sep 5Sep 4Sep 3Sep 2Sep 1Aug 31Aug 30Aug 29Aug 28Aug 27Aug 26Aug 25Aug 24Aug 23Aug 22Aug 21Aug 20Aug 19Aug 18
Windows1133230043231131152100321011012102013313311224
Mac0004312102010000211110200212113003001041001230
Linux0201322011210112140101003030202102001302231010

Readme

Source
raw.​githubusercontent.​com

Run shell commands like git, rvm, rspec, ls, etc. with Bash, Zsh and others inside your Sublime Text 3.

  • Custom Shortcuts
  • Common Problems
  • Some Cool Demos

Command Palette

Shell Exec: Open shell_exec_open

Default Shortcuts

  • Linux: ctrl + shift + c
  • Mac: shift + super + c
  • Windows: ctrl + shift + c

Settings

User/Preferences.sublime-settings:

Custom Shortcuts

shell_exec_open: Open Shell Exec box to input some command.

shell_exec_run: Runs a predefined command.

User/Default (Linux).sublime-keymap:

Cached

Command Format Syntax

Available variables:* ${input}: Input from Shell Exec box.* ${region}: Selected text.* ${row}: Selected row number or the cursor position at file.* ${file_name}: ShellExec.py* ${file}: /home/user/.config/sublime-text-3/Packages/shell-exec/ShellExec.py* ${packages}: /home/user/.config/sublime-text-3/Packages* ${file_base_name}: ShellExec* ${platform}: Linux* ${file_extension}: py* ${file_path}: /home/user/.config/sublime-text-3/Packages/shell-exec* ${folder}: /home/user/.config/sublime-text-3/Packages/shell-exec

Common Problems

RVM Command, ~/.bashrc, ~/.bash_profile, ~/.zshrc…

You can load RVM and profile files with login mode:

Or… You can load a custom sh file:

my-config-loader-file.sh: Loading ~/.bashrc simulating interactive shell:

my-config-loader-file.sh: Loading RVM command:

Debugging

Just enable the debug to see panel outputs:User/Preferences.sublime-settings:

Some Cool Demos

Git

RSpec

Sublime C++ MacCached

Sublime C++ Autocomplete

Unix