Thursday, December 19, 2019

Eclipse CDT: How to exclude certain folders for not showing error markers

If you want to avoid certain syntax and semantic errors not be reported on a particular folder in your Eclipse CDT project.

Here you go!

Eclipse CDT Code Analysis Plugins

org.eclipse.cdt.codan.core
org.eclipse.cdt.codan.core.cxx
org.eclipse.cdt.codan.ui
org.eclipse.cdt.codan.ui.cfgview
org.eclipse.cdt.codan.ui.cxx

Monday, December 16, 2019

Uninstall Python from macOS

Remove the Python 3.8 applications directory
$ sudo rm -rf "/Applications/Python 3.8”

Remove the third-party Python 3.8 framework
$ sudo rm -rf /Library/Frameworks/Python.framework/Versions/3.8

Remove the symbolic links, in /usr/local/bin, that point to this Python version. See them using
$ ls -l /usr/local/bin | grep '../Library/Frameworks/Python.framework/Versions/3.8’

and then run the following command to remove all the links:
$ cd /usr/local/bin/
$ ls -l /usr/local/bin | grep '../Library/Frameworks/Python.framework/Versions/3.8’ | awk '{print $9}' | tr -d @ | xargs rm

Edit your shell profile file(s) to remove /Library/Frameworks/Python.framework/Versions/3.8 to your PATH environment file. Depending on which shell you use, any of the following files may have been modified: ~/.bash_login, ~/.bash_profile, ~/.cshrc, ~/.profile, ~/.tcshrc, and/or ~/.zprofile.

$vim ~/.bash_profile

Resources: