How to enable basic HTML/JSP syntax highlighting in Netbeans 8.2 - netbeans-8

I installed the basic SE version of Netbeans 8.2 with the understanding that I could always manually add plugins as needed to cover any gaps between SE and the other versions.
Any idea which plugin I might add to get basic HTML/JSP syntax highlighting? Not looking for any fancy WYSIWYG stuff, just plain code highlighting.
I wasn't keen to install the full-blown EE edition since I don't need Glassfish, Tomcat, EJB, etc.

Go to Tools -> options -> Fonts & Colors -> Syntax choose language (in this case JSP) then choose category and set color what you want Options

Related

Codenarc plugin rules are not running in guidewire studio

I am currently working on Guidewire Studio built on top of IntelliJ. I have installed the codenarc plugin into the studio but it seems like the rules of codenarc is not running for my codes. After analyzing the codes it does not give me any violation which i know, is there. Can someone please tell me what am i missing here.
You probably can't, but there's a workaround.
Guidewire provides their customers with GosuCodeNarc which is basically CodeNarc extended with several gosu rules' implementations, possibly some glue code as well. If you are missing any rules they provide documentation on creating any new ones.
This isn't shipped as a plugin, but rather a set of jars with instruction how to run them as gradle task (intended to be run on CD/CI).
EDIT
There is a way if you are on v9 or v10!
The inspection plugin to studio was intensively developed and is most likely meant to replace GosuCodeNarc entirely. Most importantly it provides all the inspections within the GW Studio.
The only requirement is to be on GW Studio v1.14 or higher and to turn inspections of choice within the inspections settings (use quick search to find this one).
Starting from v9.0.5 there's also a gradle task meant for command line use, so feel free to give it a try with
gwb inspect
More on it in
gwb help --task :inspect
gwb inspect will not work on Windows because of Intellij issue IDEA-152045

Why isn't the javax.smartcardio package in the Java SE 7/8 API? [duplicate]

I'm studying the javax.smartcardio classes. I'm using eclipse 3.6 and I have JDK 6 SE. I can use the statement import javax.smartcardio.* or any of its individual classes, as long as I change preferences to warn or ignore forbidden references.
I don't see any mention of javax.smartcardio in the standard documentation at Java SE 6
and no javadoc help pops up in eclipse. I have found docs here.
Is there a way of linking Eclipse to the javadocs for smartcardio?
I found a WebLog about it (Konstantin Flitschew WebLog (german)). It's in german but it worked for me, so I give a short translation here:
create a java project or open an existing project
right-click the project and open the properties dialog
select build path -> libraries tab and unfold the "JRE System Library" tree
select the entry "Access Rules" and push the "edit" button on the right
you can apply a rule with the "add" button: set the drop down to "accessible" and enter the value “javax/smartcardio/**”
With this setting I was able to access the classes of javax.smartcardio.
I've asked Sun back in the day multiple times to include the javax.smartcardio in the documentation, but they have refused all the times. Now it seems that 64 bit Java version 6/7 for Windows do not have javax.smartcardio, and that the access rules rule out using it directly. This is pretty strange as javax.smartcardio seems to be an accepted JSR.
Sun and Oracle don't really communicate well regarding security API's. They are relatively well designed, but the support is lacking, and they do introduce features out of the blue.
[EDIT]
Although the javax.smartcardio package is an accepted JSR, the umbrella JSR's for Java 6 and 7 SE don't include it. See java_se-fr-spec.zip for more information (see below). So javacardx.smartcardio it is not part of the Java SE standard API. Nowadays you may have trouble accessing the API even if it is present. And you cannot add your own as it may be present for a particular edition. You can use Eclipse access rules to enable javax.smartcardio and remove access violations from your "Problem view".
Java 8 from Oracle does include an javax.smartcardio implementation. You may still have to configure access to it.
JSR 268, the Java Smart-Card I/O API, will not be included because the
JSR 270 Expert Group concluded that it would not be of sufficiently
wide interest in the Java SE 6 time frame.
Oracle's JDK does not contain the javadoc for javax.smartcardio at all. Use OpenJDK instead.
Install OpenJDK from https://adoptopenjdk.net/, then add it in Eclipse using Window -> Preferences -> Java -> Installed JREs (in Windows the path you need looks like C:\Program Files\AdoptOpenJDK\jdk-8.0.242.08-hotspot). The result:
I was in the same situation as you were but then I found this http://intelligenzija.net/?q=node/1
Basically you need to set Access rules for these classes in the IDE so you can use them.

IDE integration with custom language implemented with Antlr4

We wrote a custom language using Antlr4 and I was wondering what tools (open source will be perfect) are available to create an IDE for this language implemented by antlr4. I'd like to make an IDE that supports syntax highlighting, syntax/error checker, autocompletion and project template.
However, I have looked at Xtext, Spoofax, SyntaxEditor, unfortunately they only support Antlr3. Visual Studio Pro works but not every end user of our language is able to purchase Visual Studio Pro. The express version does not support SDK so it won't work.
I have not found anything positive yet, does anybody has already done one similar based on a Antlr4 grammar ???
Thanks a lot

Syntax Checking for CoffeeScript

I searched google and i didn't found an IDE that would allow Syntax Checking specifically.
Is there a way to check syntax in VS or other tool?
Even though not free, Webstorm comes with good support for Coffeescript out of the box.
By far the IDE I prefer most developing Coffe/Javascript at the moment.
+1 on vim-coffee-script and syntastic.
Have you checked CoffeeScript's wiki? There are few plugins that add syntax checking:
CoffeeScript plugin for sublime
CoffeeScript for Netbeans
You might be interested in using a command line tool like CoffeeLint, which offers optional validation rules. You can add it to your development process writing your own script to watch for changes in files or using tools like Grunt.
See gVim, and install this plugin for syntax checkong, and this one for syntax coloring.
This is a lightweight, scalable, and cheap option.
If you're OK with using Vim, just add the vim-coffee-script and syntastic plugins
If you're into Emacs, there's an Emacs major mode for CoffeeScript.
Here is the blog post announcing its release.

Can anyone provide any tips regarding a development environment for SilverStripe?

I'm pretty new to developing with SilverStripe. At the moment I'm using Firefox / Kate for development on the new platform.
I was wondering what other people use? Has anyone used Eclipse with any success? Are there any other IDEs / environments / approaches that work well with SilverStripe?
Try using Netbeans for PHP-development, works great for me.
I'm using Aptana, an Eclipse based IDE.
I'd recommend searching on here for PHP IDEs for a better answer.
I use Zend Studio 5.5 which is no longer distributed since they replaced their custom app with a Eclipse variant. I would go with Aptana Studio if you think about going with an Eclipse variant.
Just make sure that you can syntax highlight .ss files like .php and you are fine with any that let you see your whole project as you will jump to/from /mysite and /themes folders quite often.
The Silverstripe documentation recommends the PHP Development Tools PDT for Eclipse amongst others: http://doc.silverstripe.org/tools