Sublime Forum

Sublime-project custom build not working

#1

Hi —

It seems that project-specific build definitions are not working for me. For example, if I directly add the code from the example in (sublimetext.com/docs/3/projects.html) to my sublime-project file, I see no changes to the Build With… menu. If I simply execute Build I get an error message “No Build System”. I’ve tried different variations on the definition, and I always exit and re-enter ST before trying the changes out, but none of that has made any difference.

My ST build is 3083, running on Windows 10. I’ve seen several references to other people having this problem in the forums, but it isn’t clear to me if there is a known bug, or these are all user-error. The full text of my .sublime-project file are below in there’s some user error on my part…

So my first question is: is this a bug? And my secondary question is: is there a good starting place for learning how to debug Sublime itself, so I could try to answer question (1) for myself?

{
  "folders": 
  
    { "path": "." }
  ],
  "build_systems": 
  
    {
      "name": "List",
      "shell_cmd": "ls -l"
    }
  ]
}
0 Likes

#2

Well, this might be awkward, but … works for me.

Did you add this to the right project? As in, if you hit “Project > Edit project…”, is the build system present?
Any errors in the console, parsing maybe?

0 Likes

#3

Thank you, thank you, thank you…
Somewhere along the line I had started editing the directory, not the project, and that was the source of all problems.
Now I know to look in the project menu to see if “Edit Project” is enabled…

0 Likes