Sublime Forum

File path is displayed when the saving

#1

when the saving, file path is displayed as the follow.

what is the problem?
how can I fix it?

a plugin issue? or… bug?

0 Likes

#2

Looks like you have a plugin enabled that does a compile whenever it saves.

Those are Phantoms showing you errors in your code when it’s compiled, except that whatever is building the code is capturing the entire error message (including the file name) and not just the actual errors themselves.

This setting controls whether these display or not, and it defaults to being turned on, so turning it off might help (unless whatever is building your code doesn’t honor the setting as it should).

    // Shows build errors just under the line on which they occur.
    "show_errors_inline": true,

Alternatively, whatever plugin you’re using to build on save could potentially be configured to not do that (if you don’t need it to do that, of course).

1 Like

#3

Thx.
I’ve solved it

1 Like

#4

I’m convinced that a very nice feature is being ruined by this fourth file_regex parameter. People are getting the full path in the inline error message and just want it to go away and are disabling it. I did the same thing. Maybe the default text should be:

“An error occured here, define the fourth parameter in your file_regex to see what it is!”

Once I fixed it I found the feature to actually be useful and productive.

0 Likes