Sublime Forum

Strange behaviour

#1

Hey,
I use Sublime on Mac (at home) and on Linux (at work) and earlier this week I had a strange error with my framework (Laravel) on Mac , some core functions weren’t available like “function dd() not found” etc. I googled a lot, but couldn’t find such problems, but in the chrome dev toolbar I saw accidentally a strange special character where the error line was. After that I searched for a plugin that shows these hidden chars in my editor and found one.

So the problem was that Sublime somehow added special characters into the editor (no, not pasted the text I entered the program code by hand with keyboard) but not always just sometimes. Deleting these highlighted “empty” chars the problem solved.

How is it possible, that I had this behaviour never before, and on my Linux machine not at all! I haven’t installed any plugins since months on this mac Sublime… And to go further I use the same settings for both programs sharing the config folder through Dropbox as shown in the manual.

I think about reinstalling Sublime and adding the plugins back one-by-one, but the hard thing is the spec. chars appears not always just sometimes…

The version is 3.1.1 3176 Mac

thanks

0 Likes

#2

are you saving the files onto a samba share by any chance? I’ve seen reports before whereby such file systems aren’t handled correctly on a Mac leading to random characters being added when saving files

0 Likes

#3

no, not using samba server for save destination.
not sure what was it. using this plugin and deleting extra unvisible chars I c’ant repeat the error.

0 Likes