wakatime / eclipse-wakatime

Eclipse plugin for automatic time tracking and metrics generated from your programming activity.
https://wakatime.com/eclipse
BSD 3-Clause "New" or "Revised" License
174 stars 16 forks source link

api key issue #3

Closed jakeres closed 9 years ago

jakeres commented 9 years ago

hi i have an issue with step 3. (eclipse luna/windows 7 - 64bit) 3.You will see a prompt asking for your api key. Enter your api key, then click OK.

i can`t store anywhere the api. do you know how to add it manually? thanks.

alanhamlett commented 9 years ago

Hi @jakeres,

You can manually edit your api key from inside Eclipse with: File -> WakaTime -> API Key

More info: https://wakatime.com/faq#change-api-key

leodutra commented 9 years ago

Now, after fixing issue https://github.com/wakatime/eclipse-wakatime/issues/6 ("Eclipse Update Site not working"), Wakatime does install but never asks for API key on Eclipse and no data linked to Eclipse is shown on .wakatime.log (only Sublime heartbeat).

My Eclipse 3.6 with IBM RAD 8.5 does not show File -> WakaTime (tried all common and main perspectives).

Is it using .wakatime.db Sublime Text created? Can I add it manually?

Installed Wakatime is on version 2.0.4.

leodutra commented 9 years ago

Added api_key to .wakatime.cfg but seems that plugin is "dead" inside Eclipse. No error log, no heartbeat, not in Window -> General -> Startup and Shutdown.

alanhamlett commented 9 years ago

Yes, if there is no File -> WakaTime -> API Key menu then the plugin was not loaded into Eclipse. Where can I download IBM Rational Developer to test it on my end?

alanhamlett commented 9 years ago

You can also check that WakaTime is installed from the Available Update Sites preference section:

screen shot 2015-06-30 at 7 30 06 pm

leodutra commented 9 years ago

Made it through the simplest path. Reinstalled RAD and started from the pure set.

Platform: Ubuntu/Linux 14.04 LTS

Reinstalled RAD, removing any lasting folder, because I broke Equinox P2 update mechanism trying to fix it all manually.

After install:

  1. started RAD using sudo;
  2. changed Eclipse network mode to direct;
  3. tried to install Wakatime from Help -> Install New Software;
  4. got "Missing: Apache HttpComponents HttpClient OSGi bundle 4.1.3.v201209201135 eclipse" on Window -> Show View -> Error Log;
  5. Downloaded Apache HttpComponents HttpClient OSGi bundle 4.1.3 from Apache Httpcomponents archive;
  6. extract and move org.apache.httpcomponents.httpclient_4.1.3.jar to /opt/IBM/SDP85/p2/cic.p2.cache.location/plugins;
  7. restart RAD as sudo;
  8. install Wakatime;
  9. restart and enter API key.

How to install IBM Rational Application Developer:

  1. Create IBM ID;
  2. Install IBM Installation Manager;
  3. Log into IBM Passport Advantage;
  4. Download [IBM Rational Application Developer] for IBM Installation Manager (http://www-01.ibm.com/support/knowledgecenter/SSRTLW_8.5.5/com.ibm.rad.install.doc/topics/c_im_gui_scenarios.html?lang=en);
  5. After install, reopen Installation Manager and update RAD to 8.5.5.2 (the latest right now).

And that's why I "love" IBM.

willowcheng commented 7 years ago

Can we add File -> WakaTime -> API Key as alternative way for step 3?

  1. Enter your api key, then click OK.

As tried both Eclipse Mars and Neon, I didn't get any prompt after installing the plugin. Thinking it would be very useful if someone gets into similar trouble.

leodutra commented 7 years ago

@willowcheng

As tried both Eclipse Mars and Neon, I didn't get any prompt after installing the plugin.

Happens when plugin is incompatible or an error occurs. Check Eclipse error log.

LohitakshTrehan commented 7 years ago

Not asking for API on Webstorm also, everything is updated, also unistalled and installed again, but not helping

alanhamlett commented 7 years ago

These instructions should help:

How to debug WakaTime plugins