w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
Shortcut in Eclipse IDE
On the left of the code section, any unused variables will have a squiggly yellow underline and a small warning box in the errors/warning strip to the side. There is no keyboard shortcut, unfortunately.

Categories : Eclipse

Eclipse ALT shortcut of Windows on Mac
Unfortunately, this functionality does not exist in OS X. However, you may find it useful to access the menus (outside the create new... dialog) using ctrl + F2 (or ctrl + fn + F2 if the function buttons are used for volume etc). Eg. to access File > Open File ... you could do: ctrl + F2, F, arrow down, O, enter This is not as quick as in Windows, but it can be a workaround.

Categories : Eclipse

Undo shortcut not working in Eclipse
The key bindings are stored in the file [workspace].metadata.pluginsorg.eclipse.e4.workbenchworkbench.xmi. You can search for Ctrl+Z in this file. What does it look like? You could try to edit it by hand. Of course, it is advisable to backup the workspace before.

Categories : Eclipse

Changing Eclipse Exit Shortcut
I checked my Eclipse environment, I don't have this problem. Ctrl+ X is for cut. I can suggest to go where you did, and look inside the bindings column, if there is any ctrl+x and change it. Look also for other programs you are running, maybe they listen to shortcuts. Cheers

Categories : Eclipse

Eclipse shortcut "go to line + column"
Ctrl+L Jump to Line Number. To hide/show line numbers, press ctrl+F10 and select 'Show Line Numbers' There is no way to go to a particular column according to my knowledge. It you want more short-cuts, refer http://www.shortcutworld.com/en/win/Eclipse.html

Categories : Eclipse

Unable to start eclipse via shortcut
Add the line -XX:-UseCompressedOops to eclipse.ini and check out if it works. Obviously, you need to remove the last line -XX:+UseCompressedOops. If you still get the problems then try to run the application as administrator. Secondly, How much JVM you have: 32-bit or 64-bit JVM? And which version of eclipse did you downloaded: 32 bit or 64-bit eclipse? They both must be same bitwise for compatiblity.

Categories : Eclipse

Quick casting shortcut in eclipse
I actually have this code template set up for my Eclipse. Here's how you can configure it. Open the Preferences dialog by going to Windows > Preferences and then navigate to Java > Editor > Templates. Click on New... here to create a new Code Template as shown below. Now, within the Java file editor, select the Object you want to type cast and hit Ctrl + Space. Invoke the code template and you'll get something like [type] [new_name] = ([type]) new ArrayList<String>(); where the [] indicate that type can be specified using auto-complete. There's also a default cast template available which can be invoked by typing cast and then hitting Ctrl + Space. The difference is that it doesn't support selections but lets you specify the target object through auto-complete. I

Categories : Java

Eclipse shortcut to find function name
You can use CTRL+O which gives a list of methods in the popup. That gives Outline of current source It lists all the methods in the File. All shortcuts

Categories : Java

Is there a keyboard shortcut in Eclipse for "open declaration in layout"?
If you CTRL + Shift + r : you can open any resource. Using this with any text selected will pre-populate the open resource dialog with the text you selected. After that you should be able to find the file you want very quickly and double click it to open (or use down arrow and enter for openting without using a mouse). Hope this helps.

Categories : Android

Eclipse shortcut not working (Android string extracting)
You have to have the string highlighted first. Once it is highlighted, performing the shortcut Alt+Shift+A;S should bring up the prompt for extracting an Android String. You can also use Ctrl+1, and then choose the option from that menu.

Categories : Android

Eclipse. Keyboard shortcut to close search window
I simply use the Esc key to close the find window. You might be able to change the keybindning in Window > Preferences > General > Key. I had a quick fly-over but didn't find anything useful.

Categories : Eclipse

eclipse shortcut(keys) to create a package under a project src/main/java?
For mac: Command + Alt + N For windows: Ctrl + Alt + N This command would give you a list of options so that you could create project, class or package. However, this command does not create the package under src/main/java, and there's no command to do that for you unless you write your own Eclispe plugin. In fact, packages are not always under src/main/java (e.g., see here: http://www.playframework.com/documentation/1.0.1/ide#eclipse), so there's no reason for Eclispe development team to implement that feature.

Categories : Eclipse

Eclipse stopped recognizing my Kinesis keyboard shortcut buttons(copy, paste, etc)?
There are two ways to solve it: switch workspace, or "Restore Defaults" in the Preferences -> Keys menu You can also switched workspace , that's what i did first, and everything worked fine again( i guess bec. I didn't fiddle with keys & shortcuts). File->Switch Workspace Apparently, based on this SO link - really weird eclipse keyboard behavior/bug? - it may be a configuration issue that is workspace-dependent(maybe a custom keyboard shortcut I added-on ??!?). I'm still curious about a way to narrow down why, but it looks like a clash of the key-bindings. Here's another link, Switching workspaces

Categories : Eclipse

Can I make Visual Studio recognize more than just two shortcut key sequences for a keyboard shortcut binding?
As far as i know are only maximum 2 sequences allowed in Visual Studio 2012. You can check that when you open the Options in Visual Studio and open the Keyboard Settings. I have checked that by using Ctrl+A, Ctrl+C, but i´m not allowed to add more.

Categories : Visual Studio

How to show only (src) files not (target) files by Eclipse shortcut (cntrl + alt + R)?
In the project-settings on java build-path you'll find on source a checkbox like this: Disable it, for not getting files which are in the target folder to your view. So you will not find it by Eclipse shortcut (CTRL+Shift+R)

Categories : Java

Autoincrement PK in JDeveloper
Check out my groovy sample at http://tompeez.wordpress.com/2011/09/02/using-groovy-expression-to-set-a-primary-key-with-a-sequence-number/ Which shows you how to use a groovy expression to do your use case.

Categories : SQL

Little issue with JDeveloper & Vaadin
Instead of hitting run on your project - select a specific page in your application that you want to run in the application navigator, right click on it and choose run. Or just select a specific JSF/JSP/Servlet that you want to run when prompted.

Categories : Java

Testing web service in JDeveloper 12c
you have to give the firstname and lastname in the bar provided just above the Send request button in the following manner firstname=vladmir&lastname=tonic and then click send request button

Categories : Java

Jdeveloper 12c and Glassfish libs
When you are running your code in JDeveloper it uses WebLogic - are you sure your classes don't interfere with the default WebLogic classes for InitialContext for example? Another option is to try running your project from JDeveloper on a Glassfish server and see if it works there. https://blogs.oracle.com/shay/entry/glassfish_extension_for_oracle_jdeveloper

Categories : Java

Jdeveloper war deployment to tomcat
Download jaxws-rt-2.0-SNAPSHOT.jar and jaxws-2_0.jar Copy into $CATALINA_HOME/lib folder Add the following in web.xml under web-app <web-app> **<listener> <listener-class> com.sun.xml.ws.transport.http.servlet.WSServletContextListener </listener-class> </listener>** ............<!--your other servlet definations--> </web-app> create sun-jaxws.xml under your applications web-inf folder and configure endpoints.You can have a look at jdeveloper generated xml file to get all the information sample sun-jaxws.xml <?xml version="1.0" encoding="UTF-8"?> <endpoints xmlns="http://java.sun.com/xml/ns/jax-ws/ri/runtime"version="2.0"> <endpoint name="fromwsdl" interface="com.foo.yourserviceInterface" implementation="com.foo.

Categories : Misc

JDeveloper Deployment to WLS IPv6 issue
If your server has a IPv4 address, and you haven't changed the WLS settings, then you will have a IPv4 access already. It reports the address as IPv6 since most software will default to using IPv6 if available.

Categories : Oracle

For-each loop in JDeveloper doesn't map the response at all
I'm not sure if I've made any syntactical error or if any namespace is missing. Right both times, I think. First, the syntax errors. If the XML introduced with the words "The xsl code is" is in fact the entire stylesheet, then your first syntactic error is that your stylesheet is not namespace-well-formed: you have not declared any of the namespace prefixs ns2, ns3, xsl. Your second syntactic error is at the XSLT level: the namespace prefix tns is also not declared. Your third syntactic error is that the outermost element does not include any xsl:version attribute. When I supply dummy namespace declarations for the unbound prefixes (and http://www.w3.org/1999/XSL/Transform for the prefix xsl) and supply an xsl:version="1.0" attribute on the outermost element, then the stylesheet

Categories : Xslt

Local SQLite connection on JDeveloper
Download https://code.google.com/p/sqlite-jdbc/. Then in your JDeveloper go to Tools>ManageLibraries and create a new library. Check the 'DeployedByDefault' checkbox there and add the JAR in the library (>addEntry). Then go to your Project, go to ProjectProperties and then to Libraries and Classpath and click on Add Library to add your new library to your project. Rebuild your project or restart JDeveloper in the worst case and you should be fine.

Categories : Sqlite

Where can I change allocated memory of JDeveloper?
Where can I change allocated memory of JDeveloper? For JDeveloper 11.1.2.x, you can configure VM options in the JDeveloper configuration file at jdeveloper/jdev/bin/jdev.conf. For example, to set the maximum heap size to 2GB, add the following line to this file: AddVMOption -Xmx2048M Note that this only affects the IDE - to set memory limits for the internal Weblogic Server, you can set the USER_MEM_ARGS environment variable before launching the IDE, like $ export USER_MEM_ARGS="-Xms256m -Xmx1024m" Also Maximum and optimum memory for this IDE The more, the better. There is no limit besides those imposed by the operating system or the Java virtual machine you are using (32 bit vs. 64 bit). My Machine has a 4GB RAM, I use SOA,BPEL frameworks in that. I really suggest t

Categories : Misc

How to activate Completion Insight in JDeveloper IDE
Javadoc-Documentation (Press Alt and Mouse Over on a class or method in java source code) find more here: http://docs.oracle.com/cd/E16162_01/user.1112/e17455/working_jdev.htm and http://multikoop.blogspot.se/2010/01/jdeveloper-11g-know-ides-coding.html and http://sureshkrishna.com/blog/?p=521

Categories : Java

Deploy .war developed in jdeveloper on glassfish4.0
There are different options, outlined for example in this question: Best way to deploy on Glassfish V3. Your easiest option is to use the Glassfish Admin GUI on http://localhost:4848. If you want something that is integrated in JDeveloper you can try GlassFish Extension for Oracle JDeveloper or read this article and this question.

Categories : Web Services

JDeveloper Error : (CMD property not found in autorun.inf)
That link you posted has a more or less working answer. I had the same problem and found that at the same time as this question. I'll post the answer here, along with what I had to do to get it working. The answer: 1. Extract "jdev_suite_121200_win64.exe" file into C:jdev_suite_121200_win64 2. In cmd go to C:jdev_suite_121200_win64Disk1 3. Execute follow command: C:PROGRA~1Javajdk1.6.0_31injava.exe (..your JDK..) -jar install/modules/ora-launcher.jar DISKCNT=1 JRE_COMPONENT=oracle.jdk,oracle.jre This answer, for whatever reason, actually failed every time I tried to install using the Java 7 jdk java.exe, and was incredibly frustrating. However, once I ran it with my Java 6.0_38 jdk java.exe, everything ran fine. The installer will tell you that the check for Java failed because it

Categories : Java

how to upload images from server in jdeveloper forms?
Info on image uploading is here: http://tompeez.wordpress.com/2011/12/16/jdev11-1-2-1-0-handling-imagesfiles-in-adf-part-3/ There is no built-in functionality in ADF to allow you to edit images. You'll need to integrate a third party solution for this.

Categories : Oracle

Oracle security ADF Faces Error 401--Unauthorized JDeveloper 12C
Youp! I get it now running on Jdeveloper 12c. The probleme was that i have some corrupted files in my application which always force default Authentictor to ignore that an user authentication is successful. I just create a brand new application, migrate the jsf pages and also a new ADF Secure configuration.

Categories : Java

connecting mysql database with oracle mobile adf using JDeveloper 11
I'm assuming your MySQL DB is on a server. You'll need to build a layer of web services that expose the data from that DB and then you'll call those services from ADF Mobile to get data. Here is one approach: https://blogs.oracle.com/shay/entry/developing_with_oracle_adf_mobile

Categories : Mysql

Error upon runnnig JDeveloper 10.1.3.4: java.lang.NoClassDefFoundError
I fixed the problem by adding a lib directory inside JDeveloper installation. For example: C:/JDeveloper10133/lib Then I added the missing jar file (xmlparserv2.jar) inside the lib directory such as: C:/JDeveloper101.3.3/lib/xmlparserv2.jar

Categories : Java

Invalid resource selected while importing WSDL created in Jdeveloper
When you want to publish a JCA DatabaseAdapter as a business service in OSB console you have to click in the button like (a box with arrow) in the JCA file. Or if you want to do it in Eclipse you have to follow this guide (the correct step is http://guidoschmutz.files.wordpress.com/2010/08/060_generatebusinessservice_thumb1.png?w=366&h=461) http://guidoschmutz.wordpress.com/2010/08/08/oracle-service-bus-11g-and-db-adapter-a-different-more-integrated-approach/

Categories : Misc

eclipse:clean eclipse:eclipse - maven command usage
I am not sure the reason behind your problem " when i tried to access any of the generated class in my src directory, i get compiler error stating that the class is not defined. " But I can tell you the meaning of command you are using As far as I know in maven we can define more than one goal at a time to execute so eclipse:clean \Deletes the .project, .classpath, .wtpmodules files and .settings folder used by Eclipse. eclipse:eclipse \build the project into eclipse project like structure.

Categories : Eclipse

Can you add an ESC Key shortcut?
I don't think there is a direct solution to this, You can use this workaround, Set the ShortcutKeyDisplayString in code menuStripItem.ShortcutKeyDisplayString = "ESC"; Within the KeyDown event of the form check if ESC is pressed and Close() the form.

Categories : C#

Shortcut for if else
Maybe using the vectorized version ifelse > df$new <- ifelse(any(df[,"a"]=="F"), "A", "B") > df a b new 1 A 1 B 2 B 2 B 3 C 3 B 4 D 4 B 5 E 5 B

Categories : R

How to run a shortcut
This one works for me private void mainForm_Load(object sender, EventArgs e) { Process proc = new Process(); proc.StartInfo.FileName = @"c:d.lnk"; proc.Start(); }

Categories : C#

Ext.getStore() shortcut?
In my applications I usually add injection. There is one "config class" that holds the stores (declared with Ext.getStore("...");) and it injects the stores into the components/controllers that need it. That way, if you need to rename something or change a store, in a controller for example, you just need to alter the config class and nothing more. Edit So you would have one "config" class that could look like this beans: [ { className : "MyApp.store.myStore", ref: "myStore" }, { value: "some string value", ref: "myValue" }], mapping: [ { className: "MyApp.controller.MyController", references: [ "myStore", "myValue" ] }, { className: "MyApp.controller.someOther

Categories : Javascript

Two shortcut with Two Icons for the same App
Of course you can have two or more launcher activities in your application. Just set an intent filter with launch attributes. <activity android:name=".SecondActivity" android:icon="@drawable/ic_second_launcher"> <intent-filter> <action android:name="android.intent.action.MAIN"/> <category android:name="android.intent.category.LAUNCHER"/> </intent-filter> </activity> If you want to start a service from the AppDrawer, just call an empty Activty which starts the Service in onCreate

Categories : Android

WPF shortcut in whole window
It sounds like your event is being handled before it bubbles up that far. Next I am wondering if you could move your input binding up to your window rather than a user control. My final option would be to remove your input bindings and create a global check in code. Since you're already working with input bindings, I have added the code option below: //In App.xaml.cs protected override void OnStartup(StartupEventArgs e) { base.OnStartup(e); EventManager.RegisterClassHandler(typeof(UIElement), UIElement.KeyDownEvent, new RoutedEventHandler(GlobalClick)); } private void GlobalClick(object sender, RoutedEventArgs e) { var args = (KeyEventArgs) e; if (args.KeyboardDevice.IsKeyDown(Key.M) && args.KeyboardDevice.IsKey

Categories : Wpf

wix shortcut xsl file
Something like this should work: <xsl:template match="wix:File[@Id='APP.exe' and contains(../@Directory,'Debug')]"> <xsl:copy-of select="."/> <wix:Shortcut Id="startmenuAPP" Advertise="yes" Directory="ProgramMenuFolder" Name="APP (Debug)" Icon="APP_GUI.ico" WorkingDirectory="BIN" /> Use a similar template for each shortcut you want. I haven't tested it and might have switched which shortcut you want for Debug.

Categories : Xslt



© Copyright 2017 w3hello.com Publishing Limited. All rights reserved.