Apache Zeppelin 0.6.2 for SQL Server now with correct Syntax Highlighting
The new release add syntax highlighting to SQL Server support 19 Dec 2016
After a little bit of work I’ve managed to have syntax highlight for T-SQL in Apache Zeppelin 0.6.2 working correctly.
The tricky part is that the Ace Editor already supports T-SQL specific syntax highlighting from v 1.2.0, but Apache Zeppelin is still using version v 1.1.9.
Moving the v 1.2.0 doesn’t work since it creates some compatibility issues so the only way to go was to manually patch and tweak Apache Zeppelin to use the highlighting file for T-SQL available in version 1.2.0.
Said and done, now T-SQL is beautifully highlighted:
SQL Server 2016 and vNext aren’t supported yet but I’ll work on this in future for sure.
docker pull yorek/zeppelin-sqlserver:v0.6.2
Then go for
docker stop zeppelin docker rm zeppelin docker run -p 8080:8080 — name zeppelin -d yorek/zeppelin-sqlserver:0.6.2