Sublime Forum

How to view code in Safari

#1

Please help me view my code in Safari browser.

I did the following :
tools
build system

new build system or chose system already installed

on new page wrote:

{
“cmd”: “open”, “-a”, “safari”, “$file”]
}

then go to sublime text 2 // preferences //browse packages

save to package user

THIS HAS NOT WORKED :frowning:

I am getting error “Error trying to parse build system: Unexpected character, expected a comma or closing bracket in ~/Library/Application Support/Sublime Text 2/Packages/User/chrome.sublime-build:2:49”

Please help! and show me how to view my code in Safari broken down in detail so I can understand

Moki

0 Likes

#2

In your (hopefully cited) code you are not using proper international double-quotes but the localized “” for the “safari” part.

0 Likes