# Version 166 of Hook software integration: introducing support for IntelliJ IDEA

**URL:** <https://discourse.hookproductivity.com/t/version-166-of-hook-software-integration-introducing-support-for-intellij-idea/2999>\
**Category:** Releases\
**Created:** [March 21, 2021, 4:32am UTC](https://discourse.hookproductivity.com/t/version-166-of-hook-software-integration-introducing-support-for-intellij-idea/2999 "2021-03-21T04:32:24Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![LucB](https://discourse.hookproductivity.com/user_avatar/discourse.hookproductivity.com/lucb/32/2228_2.png) [@LucB](https://discourse.hookproductivity.com/u/LucB)\
**Post date:** [March 21, 2021, 4:32am UTC](https://discourse.hookproductivity.com/t/version-166-of-hook-software-integration-introducing-support-for-intellij-idea/2999/1 "2021-03-21T04:32:24Z")

</div>

Version 166 of Hook software integration is now available. It introduces support for [IntelliJ IDEA](https://www.jetbrains.com/idea/).

### How to get the updated integration

Hook’s automatic software update (if enabled) automatically updates Hook’s integration scripts without you needing to relaunch Hook. Using Hook’s `Check for App Updates and Update Scripts` command also updates the scripts, without you needing to relaunch Hook.

### Discussed on Twitter

Please consider sharing this with your network [here on Twitter](https://twitter.com/HookProductvT/status/1373493877089308673) and other social media who might want link content in IntelliJ IDEA to the rest of their digital work.

---

<div class="post-metadata">

**Author:** ![hoooked](https://discourse.hookproductivity.com/letter_avatar_proxy/v4/letter/h/a88e4f/32.png) [@hoooked](https://discourse.hookproductivity.com/u/hoooked)\
**Post date:** [March 21, 2021, 11:11am UTC](https://discourse.hookproductivity.com/t/version-166-of-hook-software-integration-introducing-support-for-intellij-idea/2999/2 "2021-03-21T11:11:12Z")

</div>

How exactly does Intellij IDEA integration work? I have hook version 2.2.2 and if I invoke Hook in either a code window or click on a Java file inside the Intellij IDEA IDEA, there are no hookable objects found.

---

<div class="post-metadata">

**Author:** ![bchend](https://discourse.hookproductivity.com/letter_avatar_proxy/v4/letter/b/dbc845/32.png) [@bchend](https://discourse.hookproductivity.com/u/bchend)\
**Post date:** [March 22, 2021, 8:29pm UTC](https://discourse.hookproductivity.com/t/version-166-of-hook-software-integration-introducing-support-for-intellij-idea/2999/3 "2021-03-22T20:29:11Z")

</div>

It uses this shortcut: shift+cmd+c to copy the file path: .

Could you please  
(1)Open a java file in Intellij IDEA  
(2) type shift+cmd+c  
(3)paste in a text editor to see if the file path is copied.

If not, probably that shortcut is used by a different app.

If if works, could you please run the following code in /Applications/Utilities/Script Editor and see if there is any error message?

```
set the clipboard to ""
tell application id "com.jetbrains.intellij"
	activate
end tell

tell application "System Events" 
	keystroke "c" using {shift down, command down}
	delay 0.1
	repeat 10 times -- poll clipboard for ~2.5 seconds. Sometimes set x to the clipboard throws exception
		try
			set fp to the clipboard
			if fp is not equal to "" then
				exit repeat
			end if
		end try
		delay 0.1
	end repeat
	
end tell
get fp
```

```
```

---

<div class="post-metadata">

**Author:** ![hoooked](https://discourse.hookproductivity.com/letter_avatar_proxy/v4/letter/h/a88e4f/32.png) [@hoooked](https://discourse.hookproductivity.com/u/hoooked)\
**Post date:** [March 22, 2021, 9:05pm UTC](https://discourse.hookproductivity.com/t/version-166-of-hook-software-integration-introducing-support-for-intellij-idea/2999/4 "2021-03-22T21:05:05Z")

</div>

Hook uses shift+cmd+c? I don’t see that in the hook settings? How do I changes this to something else?

On my Mac shift+cmd+c brings up the Keyboard Maestro clipboard tool where I don’t see a way to change that hotkey either.

Thanks

---

<div class="post-metadata">

**Author:** ![bchend](https://discourse.hookproductivity.com/letter_avatar_proxy/v4/letter/b/dbc845/32.png) [@bchend](https://discourse.hookproductivity.com/u/bchend)\
**Post date:** [March 22, 2021, 9:11pm UTC](https://discourse.hookproductivity.com/t/version-166-of-hook-software-integration-introducing-support-for-intellij-idea/2999/5 "2021-03-22T21:11:59Z")

</div>

If you go to Hook preference window → Scripts-\>Intellij IDEA-\>Get Address, you will see it is used in the script at line 6.

You can change it to a different shortcut that will work on your machine.

---

<div class="post-metadata">

**Author:** ![LucB](https://discourse.hookproductivity.com/user_avatar/discourse.hookproductivity.com/lucb/32/2228_2.png) [@LucB](https://discourse.hookproductivity.com/u/LucB)\
**Post date:** [March 22, 2021, 9:48pm UTC](https://discourse.hookproductivity.com/t/version-166-of-hook-software-integration-introducing-support-for-intellij-idea/2999/6 "2021-03-22T21:48:58Z")

</div>

> [@hoooked](#):
>
> Hook uses shift+cmd+c? I don’t see that in the hook settings? How do I changes this to something else?

> **[Shortcuts Tab – Hookmark](https://hookproductivity.com/help/preferences/shortcuts/)**
>
> In Hookmark's Shortcuts preferences pane you can configure several global keyboard shortcuts. Those are shortcuts that work even if neither Hookmark's contextual window nor Hookmark's menu bar window are open, so long as you've launched Hookmark. The...
