You can uninstall Code Sight whenever you wish.
-
Start the IDE, then go to plug-in installation for the platform you are using.
On Windows® or Linux® systems, the menu choice is File → Settings | Preferences → Plugins; on Mac® systems, the menu choice is IntelliJ IDEA → Preferences → Plugins.
-
In the Preferences dialog, go to the Installed tab.
Figure 1. Code Sight among installed plug-ins
-
Click to highlight the entry for Code Sight (Security).
In the page for Black Duck Code Sight, the location to the right, where the Install or Restart IDE buttons appeared, now there is a drop-down menu.
Figure 2. The Uninstall button
- Click the arrow open the drop-down menu, and choose Uninstall.
-
The IDE prompts you to confirm your choice.
Figure 3. Confirming uninstall -
Click Yes, then as you did when you installed the Code Sight
plug-in, when prompted click Restart to restart the IDE so the
change will take effect.
Figure 4. Confirming restart
To clean up the Code Sight configuration files (IntelliJ)
Code Sight saves information in a folder with a number of configuration files. After you uninstall the plug-in, you might want to remove this. There is also a file that saves the current state of the plug-in.
- Open a command window or terminal.
-
Remove the Black Duck desktop/ folder. The default location of this
directory/folder depends on the operating system you are using. See the following table:
Platform Location of Desktop directory/folder Linux or Mac /Users/<username>/.blackduck/desktop/ Windows C:\Users\<Username>\AppData\Roaming\BlackDuck\desktop\ Some sites install the desktop/ folder in a custom location. If it is not in the default location, consult your system administrator.
-
Remove the code_sight_state.xml files.
Code Sight generates a code_sight_state.xml file for each source-code project that you scan. Each of these files is saved in a directory/folder named .idea/, which is created inside the project folder for each project (code base) that you analyze by using Code Sight within IntelliJ.
-
Remove the code_sight_plugin_state.xml files.
There is one of these for each JetBrains IDE that you have installed. The default location depends on the operating system that you use. See the following table:
Platform Location of Desktop directory/folder Linux ~/.config/JetBrains/<product><version>/config/options Mac ~/Library/Application Support/JetBrains/<product><version>/config/options Windows %APPDATA%\JetBrains\<product><version>\config\options\