Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Project Name Missing #103

Open
selwynorren opened this issue Mar 13, 2022 · 6 comments
Open

Project Name Missing #103

selwynorren opened this issue Mar 13, 2022 · 6 comments

Comments

@selwynorren
Copy link

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.

@godbout
Copy link

godbout commented Mar 26, 2022

having the same problem. seems Project Manager is looking into Sublime Text 3 folder but ST4 is using just Sublime Text.

@godbout
Copy link

godbout commented Mar 26, 2022

@selwynorren so you can edit Project Manager settings to point to the right folder. then it'll catch up with all your projects.

@selwynorren
Copy link
Author

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

@godbout
Copy link

godbout commented Mar 26, 2022

@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.

@selwynorren
Copy link
Author

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

@godbout
Copy link

godbout commented Mar 26, 2022

no worries. good luck.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants