netbeans

PHP error in Netbeans IDE

Hi there! I am currently using a PHP 5 along with Netbeans IDE to create a login page. However Netbeans seems to not understand the codes that I have added into the console box. The error originates from the "echo "....." line. The codes are as follows: $query = mysql_query($sql) or die(mysql_error()); echo "Thank You for registeri...

How to turn off file and folder refactoring in netbeans 6.9

i want to turn off annoying file refactoring as I have a php project and it is useless If i click a folder and press f2 to rename that folder, it won't let me do it without going through the refactoring dialogue, which is buggy so that makes it worse. Any ideas? ...

Netbeans "unable to resolve identifier using"

Hi, i've configured netbeans 6.9.1 with cygwin (i'm under windows 7) but i have had same problem with nebeans 6.8, i upgraded hoping in a resolution but nothing.., i've checked all c++ include paths, i have an issue that show tons of red lines.. like in this example, it seems to not recognize the command "using" or "bool" have someone ...

NetBeans code templates, with comments

I have following code template in NB 6.9.1: function ${functionName}($$${param}) { ${selection}${cursor} } // end: ${functionName} () NB formats this to: function testFuncName($param) { } // end: testFuncName () NB keeps to push comment from last line two linebreaks lower than ending bracket, but i want to have it exactly in...

Netbeans Diff Sidebar - Navigate through changes?

I'm using Subversion for version control. Is is possible to navigate through the diff changes (default blue), added lines (default green) and deleted lines (default red) via shortcut? So just as you can navigate through document bookmarks, is it possible to navigate/scroll through all changes found by Subversion? ...

How to stop with debugger on NoMethodError in NetBeans when running Ruby?

Netbeans 6.9 JRuby 1.5.0 rails 2.3.4 Error example: NoMethodError in Report#week Showing app/views/report/_list_record.html.erb where line #26 raised: You have a nil object when you didn't expect it! The error occurred while evaluating nil.sorting .... I can set up breakpoints, the debugger works fine. But when I have a NoSuch...

Netbeans Change Implement code

When Netbeans automatically implements abstract methods it generates a code something like this: new Example() { public void doSomething() { throw new UnsupportedOperationException("Not supported yet."); } }; Is it possible to remove that error throwing part from the template so next time when I use this feature it won...

how do i create/import a clojure project from github in netbeans ?

how do i create a project (a clojure project) in netbeans on windows given that i have the original project on git hub (http://github.com/babo/ai-contest-planet-wars-clj). i want this project in netbeans so i can make use of the enclojure plugin thx ...

How do you force a local file sync within NetBeans?

I currently have a NetBeans php project setup to sync from my user directory to a different local directory /var/www/myproject . This works great when I'm developing locally (adding, deleting and changing files). The problem occurs when I do an update from source control and pull down changes from another developer. NetBeans does not ...

How to build a jar in NetBeans 6.9?

When I press "build project" it NetBeans builds, as far as I could find, separate class files. How can I set it to build them into a jar file? Even better it'd be if I can build several applications (all separately runnable from command line) from one project. I code Scala 2.8. ...

upload BLOB file into MYSQL server: netbeans JAVAFX

im noob trying to store an avatar together with some details about a "user" into a mysql database then display them using netbeans JavaFX. i am able to display user details one at at time but i am unable to store and display an avatar together with the details. thanks in advance. ...

Running Eclipse Scala Plugin with previous version of Scala

The scala plugin seems to automatically download version 2.8 of Scala. I'l like to try out the Gridgain 3.0-beta, which currently only works with Scala 2.7.7. Since Gridgain 3.0-beta already provides scala-compiler-2.7.7.jar and scala-library-2.7.7.jar, is it possible to get the Eclipse Scala Plugin to compile to Scala 2.7.7? I tried ...

Is it possbible to add syntax highlighting to the netbeans jVi plugin?

I use jVi for Netbeans 6.9.1 and it works very well. Since Netbeans does not fully support scss syntax highlighting yet and that it does in vim, I thought it would be useful to add the syntax file in jVi for it to work. But is that even feasible? If I drop the syntax file under ~/.vim/syntax vim will parse *.scss files correctly, but how...

How do you add a method that accepts a transaction and adds it to the list of transactions that is a array that adjusts the balance of a account

Here is the code I have so far for the Account class public class Account { Transcation transcation[]; private int account; public Account(){ transcation = new Transcation[5]; } private void setAccount(int account){ this.account = account; } public int getAccount(){ return account; } public performTranscation(...

Editor for writing SASS/SCSS?

I know there is an extensive list of working editors on the site itself, but I was wondering from you developers, what is the best tool for writing SASS, and more specifically and importantly, the new syntax (SCSS). There are a few things I would like: Syntax highlighting Beautiful CSS outline, so it is easy to keep track of big files...

Run Netbeans maven project from command-line?

I've got a Maven project that runs perfectly inside Netbeans. How can I execute the application from the command-line (without Netbeans)? ...

Netbeans cannot connect to internet (java.net.ConnectException: Network is unreachable)

Hello, (I'm not sure if this question belongs here or on superuser.com, but it's about IDE so...) So I installed Netbeans with installation bundle from netbeans.org and it can't connect to internet. It can't reload plugin catalog or upload files to FTP. While updating plugin catalog it gives me the error: Unable to connect to the NetBe...

Cobertura showing 0% coverage

Hi folks, I'm using Cobertura 1.9.3 with NetBeans 6.8, Ant 1.7.1 and JDK 1.6.0_21 running with -WAR, and EJB, JUnit 4 tests. When I change the line "pathelement location="${build.classes.dir}" /" to "pathelement location="${build.test.classes.dir}" /", there is some coverage (albeit in the wrong classes, it shouldn't be in the testclas...

Using Apache SystemUtils Java

Hey. I am trying to use the Apache Java library SystemUtils to determine the operating system being used. Here is a link: http://commons.apache.org/lang/api-2.4/org/apache/commons/lang/SystemUtils.html I am using netbeans to create my application. I can not figure out how to use the library. I have tried importing it but it does not ...

NetBeans. Disable error checking underline

How to disable error checking in NetBeans 6.9.1? It is very annoying to have red line in the source code. This is similar to NetBeans - Turn off - wavy red underlines - How?, but I want to disable underlines at all, not only when typing. (It incorrectly parses php sources and emit syntax errors) ...