Sublime Forum

Sublime-package error line

#1

Hi, with ST2 error reporting was fine, there was an exact place of occurence, but what does line X in .sublime-package mean, since it’s a .zip? Can I get find out which file and line it means? Thank you

0 Likes

#2

The plugins can be run directly from the *sublime-package" files. The error messages I have seen do tell you what file and line to check. This is from an issue on github, but the error states:

File “advanced_new_file.commands.git.git_command_base in C:\Users\mario\Documents\SublimeText3\Data\Installed Packages\AdvancedNewFile.sublime-package”, line 34, in find_git

In the AdvancedNewFile package, I need to investigate “advanced_new_file/commands/git/git_command_base” at line 34. If you are simply looking for a better way to investigate the packaged files, take a look at github.com/skuroda/PackageResourceViewer

0 Likes

#3

Oh, you’re right, I totally missed that, thank you! (and for the link)

0 Likes