Sublime Text 3 cannot support nesC language Syntax Highlighting - sublimetext3

Sublime Text 3 editor has been installed in Window10 OS, i get a package named nesC.tmbundle (from https://github.com/cdwilson/nesC.tmbundle) that can support nesC syntax highlighting in Mac and Linux platform, but it cannot make the nesC language syntax highlighting in Window10.
there are two critical files in nesc.tmbundle package used to support syntax highlighting, one is info.plist and another is Syntaxes/nesC.tmLanguage, maybe the two files can not be parsed correctly in window10 platform. maybe i should do some adjustments for the two files, but i cannot understand them deeply, so ask for help from who can undetstand it. thanks in advance.

Related

Atom is not highlighting Haskell syntax?

I am using Haskell in Atom text editor version 1.23.1 on Mac. Other languages syntax is highlighted correctly but when I code in Haskell the text editor does not highlight the syntax correctly and shows it as plain text. I have tried searching for it and found that in Atom pressing ctrl-shift-L I can temporarily change the grammar. However, there is no option for Haskell as can be seen in the screenshot below.
The screenshot below shows what I am expecting.
Is there anything that I might have done wrong? Can anyone give me a clear and easy solution to this problem. Thank you
Haskell support unfortunately doesn't come packaged with atom. Use the language-haskell package.
The language-haskell package, according to the page 'Adds syntax highlighting and snippets to Haskell files in Atom.' It comes with support for .hs, .lhs, and .cabal files.
You can find help on installing atom packages here.
If you want to talk about adding Haskell support, or changing atom features, it seems that the atom forum would be the best place to do so.

Gherkin i18n plugin for Atom text editor

I want to use the Atom Text Editor to manage my feature files defined in Gherkin, I saw that there exist on the one hand the language-gherkin-plugin which works very well with syntax coloring in different colors. I'm more interested to use the second language-gherkin-i18n-plugin to define feature files in different languages. The problem is that the syntax coloring doesnt work as expected and shown in the preview on GitHub. Has anyone used the plugin in Atom and was able to run it as expected? Or can someone try it out and give feedback if it works?
My setup is Windows 10 64 Bit and Atom 1.2.3, the plugin will be installed through the package manager!
EDIT: I fixed the package together with the developer, the problem lied in the autodetection of the language with CRLF line ending files. Should work now.
BR

What is tmLanguage?

I saw this repository. sublimehq/Packages
I use sublime text 3, but I don't know tmLanguage file.
Also I googled definition of it, but I couldn't find it.
What is it?
tm stands for TextMate. It's a text editor for Mac OS X only and was revolutionary in its time since most of its features are pushed to extension packages instead of residing in the main program.
Sublime Text carried on the idea and made it cross platform. Sublime was designed to be compatible with TextMate extension packages.
Sublime text state's it on their website:
Syntax definitions use Textmate’s .tmLanguage extension for
compatibility reasons. As explained further above, they are simply XML
files in the Plist format.

Converting Emacs/vim highlighting to TextMate (for SublimeText)

I have syntax highlighting files for Pyret in vim (.vim) and emacs (.el) and would like to use them in Sublime Text (3).
According to this answer and other research, Sublime Text style themes are written in TextMate format.
There exists a tool to help convert from TextMate to Emacs, but I contacted the author and he isn't aware of any tools to help facilitate the opposite conversion.
A similar question was asked (re: vim) but not answered a year ago: .vim syntax highlighting to textmate or sublime text 2 -- that asker ended up building his own TextMate theme manually, but I'm not sure how to go about that.
I would like to know if there have been developed any tools to help convert a vim or emacs syntax style file to TextMate, and, if not, how I would go about converting the vim/el files into JSON/XML for importing into TextMate.
While I haven't been able to find any tools to help me out, I have found some help.
This explanation of how to build a vim style guide has proven invaluable in helping me understand the construction of the vim syntax file I am converting.
This a super-helpful guide is walking me through how to manually build a template in YAML and then convert it to SublimeText's tmLanguage via the PackageDev SublimeText package.
EDIT: My solution, with instructions, is available here.

Is there syntax highlighting for assembly in Sublime Text 2?

I'm unable to highlight my assembly.
No, but since Sublime Text 2 can read Textmate language definition files (.tmLanguage files), you could easily add support to Assembly by copying something like https://github.com/foxostro/x86-assembly-textmate-bundle to your "Packages" directory (C:\Users\hugo\AppData\Roaming\Sublime Text 2\Packages on my Win7).
There is now a much better answer to this:
In Sublime Text, just go to Preferences > Package Control > install packages. Once there search for "mips-syntax" and hit enter on the result.
Once it installs you should be able to select MIPS as the syntax highlighting for whatever file you're editing.
Edit: Of course, this does assume that your Sublime has Package Control. You can get package control to do this and more at: http://wbond.net/sublime_packages/package_control
I've found another one Assembly x86 syntax definition.
It seems that this guy had done a huge amount of work, and keeps the syntax updated. At least at the time of writing the last change was 9 days ago.
He has also this post on Sublime forum.
GNU Assembler (GAS) x86(-64) syntax:
I know there's a chosen answer, but for anyone else who comes here in the future, you have to specify which syntax/machine you want. Assembly comes in a lot of different flavors for a lot of different machines. Other answers have given Intel x86, NASM, SPARC, and MIPS. When I visited this page back in 2014, I was looking for a good GAS/AT&T syntax def for x86, which I never found.
So naturally, I made my own. It's really an x64 highlighter, but of course that includes x86 too.
It's also on Package Control. To find it, type "gasx" into the search field.
I also ported it over to Atom (available from Atom packages), Vim, and Gedit.
Like others, I noticed a distinct lack of SPARC syntax highlighting in Sublime Text 2, so I rolled my own. It's fully functional, and has its very own entry in Will Bond's Package Control. With Package Control installed, you can install my package in Sublime via Ctrl+Shift+P -> Package Control: Install Package -> SPARC Assembly Syntax.
Complete install instructions and usage tips are available on the Github project page.
Old question, but there is this one: https://packagecontrol.io/packages/NASM%20x86%20Assembly
I know the question was for Sublime 2, but if you want a nice highlighter
I'm using the MasmAssembly on Sublime 3 and found that its quite good. It highlights even ZMMs registers and the lastests SSE instructions.
You can install it using the package control plugin, nevetheless here is the repository:
https://packagecontrol.io/packages/MasmAssembly
AVR-ASM is also available!
See answer by Bitwise but search for AVR-ASM.
I had to install Package Control first:
Win/Linux: <Ctrl + Shift + P>
Mac: <Cmd + Shift + P>
...then type "Install Package Control" and press <Enter>

Resources