I do a lot of javascript stuff with eclipse, so "console.log()" is my friend.
is there a way to tell eclipse to insert "console.log()" on a shortcut like cmd + shift + c (eg)
This is not a custom shortcut. How about this:
Preference -> JavaScript -> Editor -> Templates -> New
Name: log
Pattern: console.log()
Click [OK]
Open js file
Type l
Use Short cut command for Content Assist(Dialog appears)
Select log
It will insert console.log()
on editor
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.