Sublime Forum

HTML/JS/PHP mix, strange autocomplete, graphical glitches

#1

Hello,

I am running Sublime Text 3 for Windows, with SublimeLinter and the htmltidy, jshint and php linters.

I have a .php file with HTML and embedded PHP, but also PHP inside JS blocks. The result looks like this:

As you can see, the PHP code is not properly recognized (lots of errors in the JS block, and in the status bar you see that the PHP code in line 27 also causes an error).

Additionally, I noticed the following:
I open an HTML tag, like “<in” and I get an autocomplete window:

But if I press tab, I get a double “<” as seen here:

I am using the HTML5 and HTML Snippets packages.

Also, if certain windows (such as ConEmu in half-transparent Quake-mode) move over Sublime Text’s window, I get graphical glitches (they disappear upon resizing the window):

Can you help me with those problems?

Thanks,
CherryDT

(PS: I am a beginner.)

0 Likes