netbeans-plugins

C program compiles but does not execute

自作多情 提交于 2019-12-13 18:26:53
问题 I installed NetBeans for C successfully, but I don't know what is wrong because whenever I write any code it says "build successful" but it does not execute. Nothing happens when I hit the run button, Netbeans just compiles the code but nothing is displayed on screen. The Following is the simple code: int main(void) { int a=0; printf("input any number"); scanf("%d",&a); return (EXIT_SUCCESS); } And here is its compilation: ""/C/MinGW/msys/1.0/bin/make.exe" -f nbproject/Makefile-Debug.mk QMAKE

java.lang.IllegalStateException: WELD-000340: A request must be associated with the context in order to load the known conversations

与世无争的帅哥 提交于 2019-12-13 04:43:35
问题 I'm getting the following exception on accessing an XHTML page on WildFly 8.1.0 final. 00:46:41,859 SEVERE [javax.enterprise.resource.webcontainer.jsf.application] (default task-26) Error Rendering View[/Test.xhtml]: java.lang.IllegalStateException: WELD-000340: A request must be associated with the context in order to load the known conversations at org.jboss.weld.context.AbstractConversationContext.checkIsAssociated(AbstractConversationContext.java:416) [weld-core-impl-2.1.2.Final.jar:2014

How to do HTML comments in NetBeans

爱⌒轻易说出口 提交于 2019-12-12 08:49:55
问题 In NetBeans, for javascript and php files/code, you can easily comment lines of code by just selecting them and then clicking on the comment button as shown in this picture. Is possible to perform the same action for HTML code? If yes, how? 回答1: To comment out html code (and javascript/php code), select the section of code you want to comment out and use the Ctrl + Shift + C ( Cmd + Shift + C for Mac) keyboard shortcut. For html code this adds the <!-- --> tags around your code. To uncomment,

PHPUnit 8 installed on Windows through PHAR shows No tests are executed

巧了我就是萌 提交于 2019-12-11 08:26:50
问题 I installed PHPUnit through PHAR ( https://phpunit.de/getting-started/phpunit-8.html ) and added phpunit to my system variables in Windows 10. Now I'm trying to run a test case with phpunit on the CLI, but PHPUnit shows No tests executed! . The point is that I have 5 test methods. The class I'm trying to test is this: class Calculator { /** * @assert (0, 0) == 0 * @assert (0, 1) == 1 * @assert (1, 0) == 1 * @assert (1, 1) == 2 * @assert (1, 2) == 4 */ public function add($a, $b) { return $a +

Ada with Netbeans

安稳与你 提交于 2019-12-10 20:04:56
问题 I downloaded the Netbeans plugin for programming with Ada. However, I dunno how to link the Eclipse to the Ada platform library. What should link to the IDE ? lib,etc,bin ? I dunno what what to do. Any help is appreciated. 回答1: After installing the Ada plugin modules in NetBeans, use File > New Project to create a new Ada project. In the New Ada Application dialog, click Manage to select your installed Ada compiler. 回答2: I don't know about Netbeans or Eclipse, but this might be applicable?

How can I stage specific lines of file to git in NetBeans?

别说谁变了你拦得住时间么 提交于 2019-12-10 14:16:35
问题 I'm quite new to using NetBeans and today I faced a problem. I have used to stage only part of files to make better commits. I have used vim and fugitive plug-in, where I can just move specific lines from unstaged to staged. I can do a workaround by calling git add -p , but it would be nice to do it straight from NetBeans IDE. Is there a mysterious way to do it simple by clicking somewhere and stage specific line(s)? 回答1: Using git add -p is not a workaround but the way to do it. If you need

Auto deploy on save Netbeans entreprise project using maven

久未见 提交于 2019-12-07 02:02:28
问题 I have a NetBeans mavenized project Contaning: web project ( war ) ejb project ( jar ) parent project maven project After every change I must clean an build the maven project and Run the Parent project How canI configure my projects to auto deploy on save ? the configuration file( nb-configuration.xml ) is as follows : <?xml version="1.0" encoding="UTF-8"?> <project-shared-configuration> <!-- This file contains additional configuration written by modules in the NetBeans IDE. The configuration

Java Me platform issues in NetBeans

泄露秘密 提交于 2019-12-05 20:40:00
I have installed Netbeans 8.0 that comes with pre installed Java ME plugin. Now when I tried to create a new Java ME project it said No Java ME Platform found. Please add at least one Also, the field "Java ME platform" was blank. So I clicked on Manage platforms and added Java ME CDLC Emulator Platform and gave the path to JAVA ME SDK. It discovered the platform and added the devices. After doing this, the field "Java ME platform" is still blank and I'm not able to select the Java Me platform. Please help! Had the same problem during installation on a new PC. I'm developing for J2ME, CLDC 1.1,

How to do HTML comments in NetBeans

本小妞迷上赌 提交于 2019-12-04 07:48:21
In NetBeans, for javascript and php files/code, you can easily comment lines of code by just selecting them and then clicking on the comment button as shown in this picture. Is possible to perform the same action for HTML code? If yes, how? Jonathan Spooner To comment out html code (and javascript/php code), select the section of code you want to comment out and use the Ctrl + Shift + C ( Cmd + Shift + C for Mac) keyboard shortcut. For html code this adds the <!-- --> tags around your code. To uncomment, select the commented code and use the same keyboard shortcut. This will remove the comment

UML Plugin for Netbeans 7.0?

こ雲淡風輕ζ 提交于 2019-12-03 02:01:58
问题 how can i install/add UML plugin to Netbeans 7.0, i can find several ways to install plugin but only for the earlier versions from 6.9 http://forums.netbeans.org/topic28035.html its not working for me. 回答1: Here is how to install on 7.1 (should also work for 7.0) Add a new configuration to update centers: Tools -> Plugins -> Settings -> Add As the URL copy the following into the textbox: http://dlc.sun.com.edgesuite.net/netbeans/updates/6.9/uc/m1/dev/catalog.xml Now on the tab Available