MarksCode
MarksCode

Reputation: 8604

Smalltalk syntax highlighting in Sublime?

I'm trying to get sublime to highlight smalltalk .st files but am running into some trouble.

A quick search found this package, but after adding the repository like it says in the README, I don't see the package that its supposed to add when doing Package Control: install package.

I also tried looking into this one but am completely lost when it says This syntax file can be converted to .tmLanguage using PackageDev 'Convert to PList'. Place the converted file in Packages/Smalltalk/Smalltalk.tmLanguage and reopen any .st file.

Can anybody help me out please? I'm running ST3 on MacOSX.

Upvotes: 4

Views: 684

Answers (2)

tukan
tukan

Reputation: 17345

For Smalltalk/X you can download a highlighting package at - sublime highlighting for smalltalk/X called Smalltalk.sublime-package.

You can copy it to the path provided by @MartinW above.

Upvotes: 0

MartinW
MartinW

Reputation: 5041

The installtion instructions using Package Control did not work for me either, but you can take the language file, Smalltalk.tmLanguage, from Smalltalk syntax for Sublime Text 3 and use the manual installation instructions you cited:

Place the file in Packages/Smalltalk/Smalltalk.tmLanguage

As you asked about macOS, on macOS this means:

/Users/<your user name>/Library/Application Support/Sublime Text 3/Packages/Smalltalk/Smalltalk.tmLanguage

The Library folder might be hidden by default. Use the Terminal or Finder's Go ▶︎ Go To Folder… to access it.

Upvotes: 3

Related Questions