How to Uninstall RubyMine? - ruby

How do you uninstall RubyMine (from Mac OSX or other systems)?
It doesn't come with an uninstaller (from what I can tell). There are no options to uninstall in the application itself. There is no documentation (except a "Thank you for trying to uninstall..." on their site.
I can drag the App to the trash, but I assume there are Preferences, etc. to also uninstall. I hate to lose files.

You need to delete the following directories:
~/Library/Caches/RubyMine*
~/Library/Application\ Support/RubyMine*
~/Library/Preferences/RubyMine*
~/Library/Preferences/com.jetbrains.rubymine.plist*
~/Library/Logs/RubyMine*

Here is a one-liner that should delete all the files associated with RubyMine and print the files found and deleted to stdout.
find ~/Library -type d -iname '*rubymine*' -exec rm -rfv {} \;

You need to delete following files, more information for other platform click here
Configuration:
~/Library/Preferences/PRODUCTVERSION
Caches:
~/Library/Caches/PRODUCTVERSION
Plugins:
~/Library/Application Support/PRODUCTVERSION
Logs:
~/Library/Logs/PRODUCTVERSION
PRODUCT would be one of the following:
IntelliJIdea (IntelliJ IDEA Ultimate Edition)
IdeaIC (IntelliJ IDEA Community Edition)
RubyMine
WebIde (WebStrom and PhpStorm use this common directory)
PyCharm

You can just drag the application to the trash. If you really want to get the preference files, look in ~/Library/Application Support for a folder called "JetBrains" or "RubyMine", and look in ~/Library/Preferences for the preferences file; it probably starts with "com.jetbrains" or has "jetbrains" or "rubymine" in the filename.

Generally Mac OS applications are pretty well-behaved, and you can just get rid of the application bundle itself (preferences may actually be handy to keep around). If you'd like a general solution for getting rid of preference files automatically, try AppTrap.

Related

Mono.framework is missing on my mac ... but it's... there?

Please help me interwebs.
I'm having trouble getting my xamarin app to work. I've done a reinstall of Mac OS X and installed Xamarin using the installer, which adds mono and all the rest of it.
Now when I open up terminal and type which mono i get
/Library/Frameworks/Mono.framework/Versions/Current/Commands/mono
...which is what I expect.
But when I navigate to that place (again in terminal) there's nothing there.
From my root folder I go "cd System/Library/Frameworks " and then hit ls and I get a looooong list of installed frameworks but no Mono.framework.
If I go to Apple > About this Mac > System Report > Frameworks Mono IS listed. I can execute Mono commands on the command line. If I look in paths.d the specified path for mono is /Library/Frameworks/Mono.framework/Versions/Current/Commands/mono but I can't find that location so how is it even a thing?
My linux skills are not great, can anyone please help me understand what's going on here?
I think you are looking in the 'wrong' Library folder. There are a few different Library folders. There is one under the Disk Drive (root) directory, one under the User directory, one under the System directory. I think they are all hidden by default. So you need to set your folder/view options explicitly to show the Library folder since it might be hidden by default. The directory you are looking for is directly under you Disk Drive (root).

How to completely uninstall VS Code on mac?

I need to do a clean installation of VS Code on my mac.
I opened the terminal and removed the .vscode/ from ~. I also deleted the Visual Studio Code.app/ from /. However, after deleting all that and downloading a fresh copy, I installed and open the editor and the editor remembered the last project I had. For me, that means that it is something else I need to delete but I can't find it. I went to the documentation but can't find anything about uninstalling the editor.
Does anyone know how to completely uninstall VSCode from mac?
What I have tried
Following these instructions and doing a new installation of VS Code, but it still keeps remembering the last project I opened.
https://developer.xamarin.com/guides/cross-platform/getting_started/installation/uninstalling_xamarin/#Using_the_Uninstall_Script
Here are all the places where VSCode stores stuff on Mac OS X, besides the Visual Studio Code.app itself, which is in your Applications folder:
rm -fr ~/Library/Preferences/com.microsoft.VSCode.helper.plist
rm -fr ~/Library/Preferences/com.microsoft.VSCode.plist
rm -fr ~/Library/Caches/com.microsoft.VSCode
rm -fr ~/Library/Caches/com.microsoft.VSCode.ShipIt/
rm -fr ~/Library/Application\ Support/Code/
rm -fr ~/Library/Saved\ Application\ State/com.microsoft.VSCode.savedState/
rm -fr ~/.vscode/
Update (Feb 2020): There are potentially also hidden extension directories in your home directories. To get rid of everything make sure you look for those too. They start with .vscode-.
Please run this command with care. Maybe you want to keep extension directories.
rm -rf ~/.vscode*
The solution to my problem was to cd to the following path... /Users/<user>/Library/Application\ Support and delete the folder called Code. That folder contains all the setting and is not overwrite with a new installation. Looking through the entire file structure, VSCode name folder different. Sometimes folders are called .vscode/, or code/, or Visual Studio Code.app.
This worked for me ( VS Code 1.30 with MacOS - High Sierra 10.13.6 )
Step 1:
Close VS Code
Step 2:
rm -rf $HOME/Library/Application\ Support/Code
Step 3:
rm -rf $HOME/.vscode
Step 4:
Remove VSCode from application
Step5:
Reinstall VS Code if needed
If using a 3rd-party application is OK, check out App Cleaner.
It basically does the same thing as the other answer, but via a GUI and you don't have to manually remove all files/dirs one-by-one. Just drag VS Code from the Applications folder into App Cleaner, then it will find all the related files for you, and then you just have to click on the Remove button.
UPDATE (VS Code 1.46)
Based on a recent comment, even after using AppCleaner, re-installing VS Code seems to still "remember" your previous extensions. This is caused by a ~/.vscode/extensions folder, which for some reason, AppCleaner can't "see" and is not listed in its UI. You will have to remove this folder manually.
~$ find ~/. -maxdepth 1 -name .vscode -type d
/Users/gino/./.vscode
~$ ll /Users/gino/./.vscode/extensions
total 0
drwxr-xr-x 15 gino staff 480B Jun 30 14:14 dbaeumer.vscode-eslint-2.1.5/
... (all other extensions) ...
~$ rm -Rf /Users/gino/./.vscode
The homebrew cask code for VSCode provides a nice list of all the folders that you have to delete manually after moving the app itself into the trash:
- ~/.vscode
- ~/Library/Application Support/Code
- ~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.microsoft.vscode.sfl*
- ~/Library/Caches/com.microsoft.VSCode.ShipIt
- ~/Library/Caches/com.microsoft.VSCode
- ~/Library/Preferences/ByHost/com.microsoft.VSCode.ShipIt.*.plist
- ~/Library/Preferences/com.microsoft.VSCode.helper.plist
- ~/Library/Preferences/com.microsoft.VSCode.plist
- ~/Library/Saved Application State/com.microsoft.VSCode.savedState
Here is my approach:
Open finder
Click on Home icon(which has your username as label)
Click on Library Folder. Note Library folder may be hidden, so you will need to click on Shift+CMD+. to open hidden files and folders.
Click Application Support folder
Find Code folder beneath Application Support and delete it(You delete Code Folder of course)
I lost my old mac and had to reinstall vscode on my new mac. I thought I had lost all of my extensions but when I logged on the vscode they all seem to be stored on my vscode account. I don't know if that will make a difference.
If these steps are not enough, like for me, please consider removing these file and directory:
/usr/local/Caskroom/visual-studio-code
/usr/local/Library/Taps/caskroom/homebrew-cask/Casks/visual-studio-code.rb
Run in a shell the following commands to check for others file or directories:
locate visual-studio-code
locate vscode
locate code
Bye.

How to uninstall Qt Creator on Mac Yosemite

I have tried this but when I do, the terminal ask me for password. I don't know what this password is? I don't have any password on my mac, i don't enter any password when I login and I can't get passed the first step below.
sudo QtSDK/SDKMaintenanceTool.app/Contents/MacOS/SDKMaintenanceTool
I am uninstalling Qt Creator 2.8.1 on Mac OS Yosemite 10.10 I just want to install the latest 5.3.2 version and get rid of the old one. I could probably choose a new folder but I don't want to do that and it doesn't let me install over the current folder.
I figured it out. Basically I was not able to locate the file because it never shows up in finder but here is how to get there.
From 'Go' menu on Finder, select 'Go to Folder'
Type ~/Library
This will take you to file system. I had two folders related to Qt (Qt and Qt 5.1). Both folders had MaintenanceTool file in it which I run and it asks if you want to uninstall and select yes. This will uninstall Qt Creator and all its components.
Update
Like aksiksi noted in comment below, it maybe installed in root folder for new versions. To go there type / in 'Go to Folder' dialog and look for Qt installation there.
Remove the main Qt directory. If you installed it somewhere else, delete that one instead
rm -rf ~/Qt
Then here are the directories with "Qt" in the name that I found on my system
rm -rf ~/Library/Application\ Support/Qt
rm -rf ~/Library/Caches/QtProject
rm -rf ~/.config/QtProject
Surprisingly there is no up to date instructions to uninstall Qt 5 even on Qt Wiki. Though you can do it easily (I just did it with Qt 5.15.1).
Launch MaintenanceTool.app from Finder, it should be in /Users/your_user_name/Qt by default. Click Next, then check on Uninstall only, that's all.
It removed ~/Qt folder but shamelessly left other folders untouched and you still needs to do #Boris's commands manually:
rm -rf ~/Library/Application\ Support/Qt
rm -rf ~/Library/Caches/QtProject
rm -rf ~/.config/QtProject
the problem is arising because you are using sudo command. Well you have to assign a password to the computer to use that. I also faced the same problem. It's very simple.Just go to
System Prefernces-> Users and Groups -> Change password
Hope this helps.

How to get Mac OSX Finder to preview programming text files that don't have .txt or .text extension?

Programming obviously involves lots of text file usage. You often want to see what you did somewhere else in some other program, without loading up that whole program into your current IDE of choice.
If I copy a text file from say fred.cpp to fred.cpp.text, I can view the contents of the file from the Finder's preview. But I don't want to have copy or rename all my development files.
In a 2003 (!) post on MacOSHints, there is an instruction to do this
find . -name *.xml -exec SetFile -t TEXT {} ;
(in that case, for *.xml files), but this didn't work for me due to issues with the exec command. But in any case, surely there's a better way to do it from the GUI?
Either way though: a command-line or a GUI solution would be great, thanks!
Update: I didn't manage to get qlcolorcode to work properly on the latest MacOS (10.15+) so I switched to this one.
https://github.com/sbarex/SourceCodeSyntaxHighlight
which can be installed with
brew install --cask --no-quarantine syntax-highlight
Original answer below
2 years late but you can use
https://github.com/anthonygelibert/QLColorCode
install via brew cask
brew cask install qlcolorcode
or
brew install --cask qlcolorcode
(if you have a newer brew.)
for more nice usages of the quicklook, check this repo
https://github.com/sindresorhus/quick-look-plugins
There is the Textmate QuickLook plugin which only works with Textmate running.
Pro: Syntax Highlighting
Contra: Only with (non-free) Textmate running
Alternatively: QLStephen
QLStephen is an Apple OSX QuickLook plugin that lets you view plain text files without a file extension.
But it works for all plain text files (even with extension).
Pro: Stable and free
Contra: No syntax highlighting

How can I uninstall NetBeans on a mac?

I currently have NetBeans 6.5 installed on my mac running leopard.
I searched Google on how to uninstall it and the NetBeans website says to right click on it, select "Show Package Contents" and the uninstaller should be there, but it isn't.
How can I completely uninstall NetBeans in this situation?
Thanks!
Compiled List
Here is a list of the nooks and crannies where you need to find and delete files and folders. I compiled this list from the multiple sources listed on this page.
My list here was true for me in Mountain Lion 10.8.5 with NetBeans 8.0.2. Of course things may change in the future or past.
Some may not be necessary for some upgrades between versions of NetBeans. But if you want a truly fresh install, here you go.
You could write a shell script to do this deleting. But I just do it by hand as this Spring-cleaning is not a regular occurrence.
I suggest making a back-up copy of each of your projects before doing an upgrade of NetBeans.
Home folder
Some hidden folders may appear directly in your home folder. The . as first letter hides the file/folder by default. To permanently show such files/folders in the Finder, read this or this.
~/.netbeans-derby
In later versions of Mac OS X, the Library folder is hidden from your home folder. Also not displayed on the Go menu. To expose, hold down the Option key while choosing Go. A Library menu item appears, about in the middle of the menu.
~/Library/Application Support/NetBeans/
~/Library/Caches/NetBeans/7.4
Root folder
/Applications/NetBeans
/private/var/db/receipts/org.netbeans.*
Note that NetBeans leaves some hidden configuration directories in your home directory. You might want to delete those too:
.asadminpass and .asadmintruststore - directories that contain stuff for Glassfish (Java EE application server)
.netbeans and .netbeans-registration - NetBeans configuration directories
.nbprofiler - something from the NetBeans profiler
In a terminal window, you can list all files and directories (including hidden ones) with ls -la, and you can delete them with for example rm -rf .netbeans (BE CAREFUL with that last command, it deletes stuff so that you can't get it back).
The instructions on this page say that dragging the Netbeans application out of the Applications folder and into the Trash is sufficient.
Barry Brown's answer is correct; I would add how this is handled by NetBeans. If you look under the NetBeans installation directory, then under bin, you will see a shell script named "netbeans," which locates your JDK installation when NetBeans is started.
There are third party "Uninstaller" utilities for Mac, but dragging an application from "Applictions" to the trash bin is typically how application removal is done.
I think you can uninstall it the same way it is done on Ubuntu as explained in this sample post.
I'm not a Mac user myself, so I may be wrong but it's worth posting this here in case there are Linux users in the house.
Very helpful but if like me you get stuck with a blank 7.1 project because none of the settings ever import it could be that like me you are upgrading a mac osx from 7.0rc1 or 7.0rc2.
To fix this or just re-update your settings.
Open Telnet session.
cd /Users/{user}/. netbeans
ls
I had this...
my-MBP:.netbeans {my}$ ls
6.9 7.0rc2 7.1
my-MBP:.netbeans {my}$
I then removed the duff 7.1 settings and manually moved in the 7.0 settings with
rm -R 7.1
cp -rf 7.0rc2 7.1
When opening up NetBeans next time it will take 2-10 minutes to fully rescan & reindex all but works perfectly after this.
HTH
Simon.

Resources