jade templating syntax support for eclipse? - eclipse

I have just starting using the nodejs templating engine jade. Unfortunately my IDE eclipse doesn't seem to have support for this syntax and is not highlighting correctly.
Is it possible to add support for .jade files to eclipse?

As current lead of Nodeclipse effort www.nodeclipse.org I announce that Nodeclipse v0.12 has added Minimalist Jade Editor, see http://www.nodeclipse.org/history. Added just before release as I got sick of .jade to be opened outside of Eclipse.
#134 - Minimalist Jade Editor
idea is to define HTML tags and JavaScript keywords as words for highlight in Word.java
and then use it together with EditBox
Nodeclipse scope is growing, now it has Gradle for Android and JavaScript in general that I want to work on for next iteration. Also looking for developers and company willing to support the project. Raise an issue on GitHub/Nodeclipse to continue.

check if this helps
Jade-syntax-highlight

Follow the pattern used for adding HAML support to an Eclipse install, and find a lexer and colorizer for Jade.

Related

Add ttcn3 syntax highlighting to eclipse

I don't work with ttcn3 full-time, what I need is just basic syntax highlighting and commenting on Ctrl+/ added to eclipse.
After some googling I discovered Eclipse Titan, but it seems to be a full-blown IDE for ttcn3 with compiler and stuff, and I need just a plugin to eclipse.
I would like to find something like "Set syntax: ttcn3" from SublimeText, is it possible in eclipse?
if you go to this link:
https://projects.eclipse.org/projects/tools.titan/downloads
you will find that you can download the Titan plugins for Eclipse (today they look like this):
Eclipse plug-ins 6.2.0
You may want to install them in your current Eclipse and find out if that is what you are after.
Gustavo.
After installing the plugin
1.change the nature of your ttcn project for "TITAN Nature" this way:
Project popup>Properties>Project Natures>Add...>TITAN Nature.
(if this is not enough:)
2.Select Window>Preferences>TITAN Preferences>On-the-fly checker>Enable parsing of TTCN-3, ASN.1 and runtime configuration files
(You can also set perspective TITAN Editing/Titan Executing/TITAN Log Viewer)

Netbeans Code Completion

Is there any netbeans trick that would do like Sublime text that if you just type div.header-class then it will then just automatically formulate `
<div class=header-class"></div>
How to do that trick? or is it possible?
I think this is probably through a plugin known as Emmet.
NetBeans has a plugin for it too. The plugin page indicates that it's for older versions, but the comments are reporting success with version 8.1. Incidentally, it doesn't show up in the plugin manager from NetBeans on Windows for me, but the GitHub page looks active though.
The Emmet download page points to this repo.
In Netbeans you have Code templates:
Code templates are prewritten snippets of code provided by NetBeans IDE. You can paste a snippet into your code by using code completion or the template's abbreviation followed by the Tab key.
Following the tutorial linked you can define your own code template to meet your requirements.

Liclipse - Javascript

In the pydev liclipse editor how do add javascript folders so that it doesn't show errors in javascript files, such as $ is undefined (doesn't know jquery is also loaded when file is run).
I have tagged it with eclipse but this is a fork built around pydev "liclipse" so i don't see "javascript" as a project type.
TIA
Well, the LiClipse validator currently integrates JSHint internally (with Rhino), and there's no option to disable it...
Still, you can add a comment to the top of the file so that it knows that some symbols are expected to be undefined.
I.e.: if you add:
/*global $:false,alert:false*/
to the top of your file, the $ and alert symbols won't be triggered as not-defined.
I don't know anything about liclipse, so can't be certain my answer is correct. But I'd guess you will need to install some Javascript tooling in order to properly handle javascript code and projects. The options for Eclipse are not great, but there are JSDT and VJet.

How to configure nodeclipse for auto completion?

I have just installed this eclipse plugin. But I found it can neither show a list of functions when typing '.', nor use templates like 'if...else...'.
Read http://www.nodeclipse.org/ carefully
Features Creating default structure for New Node
Project and New Node Source File Generating Express project
with Wizard JavaScript Syntax highlighting Bracket
matching and marking selection occurences with background color
Content Assistant within one file Go to definition with
Ctrl+click when JSDoc is
used Refactoring within one file
(Alt+Shift+R) JSON files highlight and
validation NPM support Debugging - Breakpoint,
Trace, Variables, Expressions, etc... via Eclipse debugger plugin for
V8 Setting project properties for JSHint-Eclipse
automatically; JSHint
settings template
Passing arguments to Node application and Node.js,
specifying environment variables values to use Running
CoffeeScript *.coffee files Running *.js files with
PhantomJS, MongoDB Shell or Java 8 Nashorn jjs util
Bundled together with Markdown Editor, GitHub Flavored Markdown,
StartExplorer (for system explorer and shell), RegEx, Icon Editor,
MongoDB, RestClient Tool and other plugins (20+ in total, check
update site and Nodeclispe Plugin
List) Support for Eclipse Juno, Kepler, Luna M3
As of 0.7 completion work as standard JSDT functionality, that is
for objects defined in the same class,
for objects annotated with with JSDoc
If you want more, do it yourself with help from the other people.
I suggest you that you install tern.java which uses the powerful JavaScript inference engine tern.js. You have a node.js module which provides node.js completion. As Nodeclipse editor is based on JSDT, you can use it with tern.

Netbeans 7.x syntax highlighting for .sass files?

Does anyone know of a plugin or method to add syntax highlighting to .sass files in Netbeans 7.x?
This plugin I've found http://plugins.netbeans.org/plugin/34929/scss-support adds syntax highlighting for .scss, but I need some solution for .sass files.
Thanks
Native support for SASS and LESS has recently been added to the Netbeans codebase - until the next major version (probably 7.4?) is released, you can get it using the current "development version".
Found this plugin which does what I need:
http://code.google.com/p/postcomment/downloads/detail?name=org-netbeans-modules-haml.nbm&can=2.
One drawback is that it doesn't allow to customize the syntax colors, but I found a way to do that by editing the following plugin file (you have to unzip the .nbm and .jar files to do that, and then rearchive them using zip without any compression):
org-netbeans-modules-haml.nbm/netbeans/modules/org-netbeans-modules-haml.jar/org/netbeans/modules/haml/sass.nbs
Hope this helps someone else as well