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 (e.g.)
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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
lUse Short cut command for Content Assist(Dialog appears)
Select
logIt will insert
console.log()on editor