I'd like to make/edit batch files in NetBeans IDE. Is there any standard feature or plugin for that?
Want at least code highlighting, but Code Completion would be realy great.
I dont think netbeans has a batch plugin but Notepad++ has code highlighting for batch.
Related
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.
I'm using Laravel on Netbeans but any time that I use auto format (alt shift f) it messes up my code formatting. I know that I can edit each setting individually in Netbeans but that could take hours and never be complete. Is there an easy way for Netbeans to adapt to my files, or is there a settings file somewhere that I can import into Netbeans?
The only one I could find is this:
http://forumsarchive.laravel.io/viewtopic.php?id=13032
But it doesnt work. It messes up my blade templates and my routes file gets formatted differently.
Thanks!
For Laravel on PHPStorm I'm using php-cs-fixer plugin. For me, It's perfect toool for formatting.
Here you can find this plugin for Netbeans.
Also, you can install php-cs-fixer on your machine and run it from console. Git repository of php-cs-fixer.
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
I am trying to run the following scala code:
println("world שלום").
but in eclipse, this is what I see in scala interpreter console:
println("world שלום")
world ????
Is it possible to fix that?
You should tell where you see this. Is it the console? Also what platform are you running eclipse on.
You could try to add -Dfile.encoding=UTF-8 to your eclipse.ini file.
This works for me with Eclipse Indigo on Linux. It looks like you have some platform specific encoding issue ... but it's impossible to tell without more detail.
Answer here
http://decoding.wordpress.com/2010/03/18/eclipse-how-to-change-the-console-output-encoding/
relevant for all eclipse languages...
Taking the comment i got below into consideration, the short version of the link I gave says the following:
In eclipse, in the toolbar, in the 'run' button combo options, select 'run configurations'
There, go to the 'common tab' and change your encoding to UTF-8.
I'm switching over from Eclipse to NetBeans for the first time, and have two quick questions I can't seem to find the answers for.
Is the "attachable" debugger from the Debug menu item the Java Debugger (jdb)? Or is it a NetBeans variant?
In Eclipse there is an INI file where I can specify arguments and do things let dictate how much RAM Eclipse will consume when launched. Is there a similar file for NetBeans, or menu/dialog within NetBeans?
Thanks!
Re 1: I'm pretty sure it's the java debugger from currently selected Java Platform.
Re 2: Look for netbeans.conf file in NB installation directory.