wakatime / sublime-wakatime

Sublime Text 2 & 3 plugin for automatic time tracking and metrics generated from your programming activity.
https://wakatime.com/sublime-text
BSD 3-Clause "New" or "Revised" License
525 stars 47 forks source link

Unknown Project #22

Closed ivanionut closed 10 years ago

ivanionut commented 10 years ago

Hello, I installed the plugin but my file website.sublime-project was as follows:

{
    "folders":
    [
        {
            "follow_symlinks": true,
            "path": "/Users/Username/Documents/WORKS/website_1"
        },
        {
            "follow_symlinks": true,
            "path": "/Users/Username/Documents/WORKS/website_2"
        },
        {
            "follow_symlinks": true,
            "path": "/Users/Username/Documents/WORKS/website_3"
        }
    ]
}

But wakatime is seen as "Unknown Project" Unknown Project

I have edited the file website.sublime-project like this, but the name of the project always remains "Unknown Project".

{
    "folders":
    [
        {
            "name": "website 1",
            "follow_symlinks": true,
            "path": "/Users/Username/Documents/WORKS/website_1"
        },
        {
            "name": "website 2",
            "follow_symlinks": true,
            "path": "/Users/Username/Documents/WORKS/website_2"
        },
        {
            "name": "website 3",
            "follow_symlinks": true,
            "path": "/Users/Username/Documents/WORKS/website_3"
        }
    ]
}

How can I solve this problem?

Thank you, Ivan

ivanionut commented 10 years ago

Another question: With ST3 & OS X 10.9.2:

I can not seem to open the options of the plugin by typing wakatime in Sublime Package Control. Look here: wakatime

ivanionut commented 10 years ago

For the project name we are able to solve it in this manner: https://wakatime.com/help/faq/general#set-project-name

alanhamlett commented 10 years ago

For your second issue, Sublime Package Control is only for plugin management (installing, updating, removing) but it doesn't provide a way to edit plugin options.

To edit your WakaTime options, go to Preferences -> WakaTime -> Settings - User which will open your WakaTime.sublime-settings file.

For your first issue, it seems you found a workaround and I'll also build support for recognizing Sublime native projects in a future WakaTime release.

alanhamlett commented 10 years ago

Now in v2.0.5 the plugin detects the project name from a *.sublime-project file, but the revision control project has first priority.