Gherkin i18n plugin for Atom text editor - cucumber

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

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.

Sublime Text 3 cannot support nesC language Syntax Highlighting

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.

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.

qt creator editing missing some characters (blank) Linux

Im running a fedora 18 box and just installed Qt Creator 3.0,
as well as trying 2.8.1. Both versions, when I pull up my source
code, there are many characters missing in patterns. It looks like
15-25% of the code has sections "missing"
I think its a graphics problem maybe, but I can find no articles online
about this issue so far. Anyone know what this is or how to fix it?
Thanks
EDIT: Here's the image. Also using vim they look fine. Im compiling and running
from an xterm window due to qcreator's issue (unfortunately). if I 'file' the source
files, they are: C source, ASCII text

Vim as Visual Studio IDE

I have spent lot of time doing research on VIM. I am Windows guy since last 6 yrs and was using VS.
Now started working on Linux. I want to make VIM as close as possible to VS.
I want features like
Project Navigation
Files in Different Tabs
Search in Project
AutoCompletion
I have found plugins for the above requirements
Project Pligin
MiniExplore
Taglist
OmniComplete
I am not able to correctly set vimrc script.
When I try to open file from Project it gets open in different tabs.I want to get it open in different buffers.
Also when I want to close file in buffer , complete window gets closed.
Open taglist and project window makes all mess.
Has any one done settings with these plugin..
Could you guys please post your vimrc files??
It will save lot of time for newbies like me..
Vim is a very different tool than Visual Studio. Plugins may help you get certain bits of functionality you desire, but do not expect them to work exactly like VS, work well together, or even work at all.
If you are looking for a programming environment more like Visual Studio, there are many good graphical IDE's you can use such as NetBeans, Eclipse, Code::Blocks, KDevelop, Anjuta, etc. Some of these tools are, IMHO, better heavyweight IDE's than Visual Studio, and all are available on Linux for free.
You should either learn to use Vim the way it was built to be used, or find a different tool that suits you better. Shoehorning Vim into a surrogate for Visual Studio will probably cause you more pain than it's worth.
Yes it's different to VS, but that doesn't mean it can't be used in the same way. It's just not as easy to do it :)
Personally I go the other way and use ViEmu to get VS to behave like VIM. But I'm not in the same situation as the author of this question.
Why not have a dig through some uploaded vimrc files on dotfiles.org?
You can use the following script, Trinity.
http://www.vim.org/scripts/script.php?script_id=2347
It will require 3 more scripts, and Vim will look like an IDE.
The TagList at left, a file exporer (NERDTree) at right, and Source Explorer at bottom.
Also, you can find some very useful blog entries at
http://kevin-berridge.blogspot.com/search/label/vim
The author, Kevin, explains how to compile solutions form inside Vim. He also shows interfacing and jumping between them which is very useful too.
Furhermore, there is the script vim-visual-studio which can be found at
http://code.google.com/p/vim-visual-studio/
This script is using Python extension. I have Python 2.5 installed in Windows. I am using Gvim 7.2 which is compiled with Python 2.4. So, I have replaced the executables of Gvim as explained here:
http://www.gooli.org/blog/gvim-72-with-python-2526-support-windows-binaries/
So, Gvim became compatible with Python 2.5 and raised no problems. Also, a menu entry "Visual Studio" has appeared as expected. It connects to Visual Studio itself, and it works perfectly. It does not just compiles a file, it can compile a solution containing more than one project as in Visual Studio. You can even use the Vim's 'quickfix' feature. Hope this helps.
If you really want to have vim as the front end, try Eclim. It uses Eclipse as a backend daemon for code completion and project management, and vim as the interface.
If you only like vim because of the vi key bindings, but want it to be more IDE like, you could try the latest MonoDevelop that has it built in.
These plugins used to exist long before vim had tabs. I'd be quite surprised there isn't a way to tune these plugins to split windows instead of opening tabs.
Now I can't help you much as I don't use these specific plugins but other ones. You should look at their help (:h project, :h taglist, etc)
PS: in vim terminology (it will help you browse the help files), what you call "buffer" is actually called "window", while a "buffer" is just the text you are working on, it may be associated to a file, or not. For a given buffer, there may be no or several window displaying parts of the buffer.
you can give a try to eXvim
http://code.google.com/p/exvim/

Resources