ProjectManager
ProjectManager copied to clipboard
Project Name Missing
Hi,
So this has been a favorite plugin since forever. I do wish this is the default way Sublime would use projects ;-)
However I have only noticed since ST4, but the project name no longer is listed in the file created in the user folder. This means that WakaTime does not detect the correct project name and only shows Untitled project for all my projects and reports all projects under that Untitled Project name, highly unhelpful as you can image ;-)
So typically this project would look like this:
{
"folders":
[
{
"name": "Project Name"
"path": "Location/of/project/path"
}
]
}
But now it looks like this:
{
"folders":
[
{
"path": "Location/of/project/path"
}
]
}
Is this an issue on Project Manager side, Sublime Text 4 or WakaTime? I thought I would ask here first.
having the same problem. seems Project Manager
is looking into Sublime Text 3
folder but ST4 is using just Sublime Text
.
@selwynorren so you can edit Project Manager
settings to point to the right folder. then it'll catch up with all your projects.
Hi @godbout Thanks for the reply. I have updated my project locations inside the project manager's setting. When I read the description it says that setting the default $projects variable, will trace correctly and it does.
Never the less I deleted the project, re set it up again and still the project name does not show. The project location shows 100% correctly.
In Wakatime it still reflects as Unknown Project
So my project manager settings file now shows this code
{
"projects": {
"Laptop": "/home/xxxxxxxxx/.config/sublime-text/Packages/User/Projects"
}
}
However the project still shows this code:
{
"folders":
[
{
"path": "Location/of/project/path"
}
]
}
However if I manually change it to look like this...
{
"folders":
[
{
"name": "Project Name",
"path": "Location/of/project/path"
}
]
}
Then it shows up correct in my wakatime dashboard
@selwynorren sorry, i misread your post. i thought PM wouldn't load the project, didn't get that it was an issue with the project names. for me as soon as i pointed the settings to the correct folder, it worked:
{
"show_recent_projects_first": true,
"projects": "~/Dropbox/Preferences/Mackup/Library/Application Support/Sublime Text/Packages/User/Projects/",
}
no idea for the names sorry.
No Stress at all. The more I look at it, it rather seems an issue with Wakatime than with PM.
I see now that even if I append the name, it still shows and Unknown Project in Wakatime.
Thanks for your time in any case
no worries. good luck.