w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
While Sending Html Mails from my web application Recieved Mails contains Symbols like &ldquo,&rdquo, ‘
Check with another constructor for htmlView: ContentType mimeType = new System.Net.Mime.ContentType("text/html"); var htmlView = AlternateView.CreateAlternateViewFromString(bodyMessage, mimeType);

Categories : Asp Net Mvc

IntelliJ-IDEA: Where are settings files saved for v11.x on Windows 7?
IntelliJ saves its config and indexes, which can amount to several gigs worth of data, to your home directory. It's been that way for approximately "a long time". In my experience, if you have default network mounts, your home dir will be set to one of those, so that's very likely your problem. Edit <idea dir>/bin/idea.properties to change the location where it saves stuff. There will be a handful of properties to change because it calls things out individually rather than having one, overall directory.

Categories : Intellij Idea

Import code style settings from Intellij IDEA into NetBeans IDE
EditorConfig is a coding style standard, it's an configuration file that you can add to your project. You can find plugins for netbeans too, personally I never used it in Netbeans but you can give it a try.

Categories : Java

Unable to find SBT plugin for IntelliJ Idea 12
The plugin is not in the default repository, but only in nightlies. Have you followed this (from the blog you link to): Add the following URL to the list of custom plugin repositories in Settings | Plugins | Browse Repositories | Manage Repositories: http://download.jetbrains.com/scala/sbt-nightly-leda.xml It worked for me, after I added this repository I found the plugin.

Categories : Scala

What is the shortcut to find next occurrence of a word in IntelliJ IDEA?
IntelliJ Keyboard Shortcuts On Ubuntu: Next occurrence of selected word: F3

Categories : Intellij Idea

How can we find orphan jars in intellij idea project
I'm sure you know how to use the IDEA Dependency Analysis tool to find library dependencies, and while that could get you some of the way it's of course not enough. The problem and fact is that there is no way of finding unused JARs by way of static analysis, since it is possible to refer to and create any class in any dependency by way of reflection/IoC/whatnot these days. So, the best you can "hope" for is a tool that can tell which JARs are not explicitly referenced by your code - curiously that is absent from IDEA as far as I know (but I would love to be corrected on that point!) Cheers,

Categories : Java

VFY: unable to find class referenced in signature in IntelliJ IDEA
Quote from adwhirl.com Important notice: We will retire AdWhirl on 30 September 2013. Ad network mediation can be managed with AdMob Mediation, a free and robust tool with features like network-level reporting, country-level allocation, and support for more ad formats. Sign up here and follow these steps to import your placements into AdMob. MADNET no longer supports AdWhirl mediation, please use AdMob mediation. The new version of library can be found - MADNET SDK 5187v. User guide - MADNET SDK Guide 5187v (you can comment this doc). Note the change in the life cycle (in guide) of ad-space. Remove from you manifest OpenUDID and MadProvider.

Categories : Android

Intellij IDEA, run Javascript code right in the editor
If the browser is not important, you could use the node.js plugin as a javascript repl / debugger. Keep in mind that it will not provide an HTML DOM so if your code makes jQuery calls, it will not run out of the box. Otherwise, if it's just plain javascript, it will run just fine.

Categories : Javascript

TestNG with IntelliJ IDEA: How to use the testng.xml file in IntelliJ IDEA 9
Follow this link - http://www.jetbrains.com/idea/webhelp/run-debug-configuration-testng.html#config There is an option just before the run icon that allows you to add the testng.xml file. In the run config dialog select the suite option. Then select the testng file. It worked for me. Hope it helps.

Categories : Java

Using SVN 1.4.6 with Intellij IDEA 12
IDEA doesn't support Subversion 1.8 working copies, you can checkout the project using IDEA built-in Subversion client to get the compatible working copy.

Categories : Java

Using Yeoman from Intellij (Idea 12)
I just came across this for a different project. I fixed it by opening the executing .js file (/usr/local/lib/node_modules/[project_name]/bin/[executing.js]) in vim and using the following command :set ff=unix

Categories : Intellij Idea

Javaee in intellij idea IDE
You can download JSTL 1.1 here and JSTL 1.2 here. and add to project. And add taglib lib to project from here;

Categories : Java

about Intellij IDEA with clearcase
From what I can see, CCRC isn't yet supported by IntelliJ IDEA: the plugin search returns no result the IDEABKL-5983 request for support is still open The ClearCase integration is for the full ClearCase only, not the web-based CCRC.

Categories : Intellij Idea

Can't run Tomcat from Intellij Idea
The problem is that the layout is as they call "non-standard" The problem has been marked as solved here: IntelliJ needs to copy tomcat conf dir to project directory Note that Tomcat installed using the package manager on some Linux systems has non-standard layout and permissions, and therefore will not work with IDEA.

Categories : Tomcat

IntelliJ IDEA 12 versus sbt 0.13
I believe that SBT jar is located inside your configuration directory. Usually it is something like ~/.IntelliJIdea12, so simple search in this directory gave ~/.IntelliJIdea12/system/sbt/sbt-launch.jar. Try replacing it. BTW, there is currently a new official SBT plugin being developed by JetBrains. It really is great and simplified SBT usage inside IDEA a lot (esp. dependency management), but it does not have embedded console yet (it will, soon). You can try it out even in 12.X IDEA.

Categories : Scala

IntelliJ IDEA and specifying GIT refspecs
Git Push from IDEA pushes only the current branch, and I don't think it will change in future. However, you may specify the target branch in the text field below the commits to be pushed. There is a couple of problems with usability like IDEA-98693, but hopefully they will be fixed in the next version.

Categories : GIT

How debug signed app with intellij idea?
I found solution: Create signed APK Load APK to device Install APK Run App Without uninstall app run project in debug mode from IDE Profit!

Categories : Android

IntelliJ IDEA logcat navigation
I guess that's not possible in IntelliJ but you can apply existing filter or create new filters and switch between them easily. This should give you a start

Categories : Java

Intellij IDEA - Generate (Alt + Insert)
IntelliJ doesn't have a facility to allow getters/setters to be generated at the bottom of the class. You would have to place your cursor at the bottom of the class file (or wherever you wanted it) before generating getters and setters.

Categories : Intellij Idea

How to get the features of Web Essentials in Intellij IDEA
There is Quirks mode inspection that you can enable in Settings | Inspections, it will cover the bottom 2 features. Unfortunately, the first 2 features are not implemented yet: http://youtrack.jetbrains.com/issue/WEB-4698 http://youtrack.jetbrains.com/issue/WEB-6359

Categories : CSS

IntelliJ IDEA validates toward wrong XSD
If you open up the jar file that the schemaLocation should point to the xsd according to this screen shot: Then you'll see that IntelliJ has a bunch of xsd files for different versions of Spring: This means that you really have all the schemas you need. If your bean definitions file has problems then your schemaLocation must point to the wrong version in the Spring jar file: Check the Settings | Schemas and DTDs and verify that you haven't accidentally manually set it to point to the wrong xsd file: If it is wrong then you'll have to remove that line using the minus sign. This will cause IntelliJ to go back to it's default values: After that you should be seeing the same thing as in the first screen shot.

Categories : Java

Can not execute Xpath with Intellij Idea
Firstly, the param-value element is in a namespace, but your XPath expression is looking for it in no namespace. Typically you want an expression such as //j:param-value where the prefix j is bound to the namespace http://java.sun.com/xml/ns/j2ee - you'll have to check the IntelliJ documentation to see how to do that. Secondly, your param-value elements do not have a child element called email. If you want the value of the associated param-name element to be "email", that would be //j:context-param[j:param-name='email']/j:param-value

Categories : Java

IntelliJ IDEA - multiple carets?
I think "Column Selection Mode" could help you. You can enable it in the context menu in the editor. Then you can select multiple lines and type same text at once. Here is tutorial how it works.

Categories : Intellij Idea

Intellij idea quick defenition
You can edit the idea.properties found in the bin folder of IntelliJ application and add this line: auto.show.quick.doc=true The This will give you the JavaDoc when hovering over a variable:

Categories : Intellij Idea

Intellij Idea lib folder export
Problem is by default android modulle looks for the reference libraries under the lib folder of the particular module itself. I resolved this by changing Native libs directory from the module lib to the root lib. It works fine now. Attached the screenshot for reference

Categories : Java

Sbt's gen-idea always creates two IntelliJ projects
Yes this is normal, this is the default behavior. You can change it by excluding some folders (see the doc available here : https://github.com/mpeltonen/sbt-idea at Exclude some folders) So what is the difference between .idea and .idea_modules? .idea_module generates an IDEA module while .idea generates an IDEA project. In short a project can be multi-module or single-module and also contains IntelliJ libraries. In longer version from the doc (http://confluence.jetbrains.com/display/IDEADEV/Structure+of+IntelliJ+IDEA+Project) Project In IntelliJ IDEA, a project encapsulates all your source code, libraries, build instructions into a single organizational unit. Everything you do in IntelliJ IDEA, is done within the context of a project. A project defines some collections refe

Categories : Scala

Where to add compiler options like -ea in IntelliJ IDEA?
The -ea option to enable assertions is passed to the JVM not to the compiler. Add it as a VM option for your runtime configuration. From comments: specific location at Menu "Run" --> Edit Configurations... --> Configuration -->VM Options

Categories : Java

How can I clone a whole project in IntelliJ Idea?
Using your operating system File Explorer tool, just copy and paste the entire project directory somewhere new. All of the configuration should use relative paths by default. If your IDEA project is .ipr based, then delete the new .iws file before opening the project. If your IDEA project is .idea directory based, then delete the workspace.xml file before opening the project.

Categories : Intellij Idea

Configuring SVN branches in IntelliJ IDEA 12
Yes, you just need to configure multiple branch locations. In the Configure Subversion Branches dialog set values as follows: Trunk location: /svn.local/some/path/PROJECT/trunk Branch locations: /svn.local/some/path/PROJECT/branches /svn.local/some/path/PROJECT/branches/dev Now when you select a branch (for example, in the Update Project dialog) you should have the following options: trunk (trunk) branches... dev... Select branches.. and this should give you this list: test prod dev Now you can select either of your test or prod branches, which is what you want. Of course, dev really shouldn't be in this list, but since you've got branches nested in a subfolder of the branches folder, intellij thinks dev is also a branch here. However, selecting dev... from the previous step

Categories : Svn

IntelliJ IDEA does not create artifacts from pom.xml
Go to the Maven-Projects-View and click "package" for your aggregator project. IntelliJ will then run Maven which creates all artifacts in the target folder. If you run "install", these artifacts will be copied to the local repository. Maybe you didn't do that under Linux yet, so your repository is empty - under Windows, I suppose that IntelliJ was smart enough to refer to those artifacts while importing the project. I personally do not know of any feature in IntelliJ that would automatically package/install all projects on reimport - I'd consider this rather annyoing.

Categories : Maven

Intellij IDEA SQL autocomplete quotes
Try to run the your code. If still there is a error some thing wrong with your code. else hit Alt+Enter and disable Inspection will solve that syntax problem. this is not a actual error. No need to put single quotation for table name.. that will be the issue.

Categories : Java

Java Vaadin IntelliJ Idea
Try including the JAR via Project Structure settings ( tab Libraries ). If that doesn't help you try checking this step by step guide how to set up Vaadin with IDEA: 1) Download the Vaadin JAR 2) If not already done, install a Tomcat server 3) Start IntelliJ and create new project from scratch ( all steps below are performed with IntelliJ 9 ) 4) Type of project is Java Module and as desired technology you select Web Application. This will create the web folder, including the WEB-INF dir and a web.xml file 5) Create a web/WEB-INF/lib folder and place the Vaadin JAR into that folder 6) Goto Project Structure | Modules and let your module depend on the Vaadin JAR. Mark it as export 7) Create a HelloWorld class and adjust your web.xml file, as described in the

Categories : Java

How to use a different code style for a module in IntelliJ IDEA?
It's not possible right now, vote for this feature request. Note that it's planned for IDEA 13 that will be released in Q4 2013.

Categories : Intellij Idea

Show only trailing whitespace in IntelliJ Idea
IDEA has no this feature, but you can enable an option to strip trailing whitespace on all lines automatically and forget about this problem.

Categories : Eclipse

IntelliJ Idea 12, Incompatibile SDK Tools package
The workaround I found after days of struggling is far from perfect and I'm willing to accept a different answer should one appear. Hopefully anyone struggling with the same problem will find this useful. I found no way of importing the old project to work in IntelliJ Idea 12 I had to disable the mac warning for downloaded applications for the android-sdk-macosx folder. (Using this guide.) I had to manually copy/paste code and resources from the old project. This only worked if I selected the 4.2.2 as the platform, selecting 4.0.3 led to the same ""android-validator: [PanPlan] Incompatible version of Android SDK Tools package. Min version is 19. Please, update it though SDK manager" error.

Categories : Android

Can not makePersistent on GAE/J project with JDO2 on IntelliJ IDEA
This means that it either hasnt been enhanced, or that the enhanced version of the file is not in the CLASSPATH (or is hidden by an unenhanced version), or the Meta-Data/annotations for the class are not found." is not persistable. This means that it either hasnt been enhanced, or that the enhanced version of the file is not in the CLASSPATH (or is hidden by an unenhanced version), or the Meta-Data for the class is not found. The message is pretty clear IMHO. You have to enhance your classes and have the enhanced version in the CLASSPATH at runtime.

Categories : Java

Three maven related problems for Intellij IDEA
2) Ctrl-Alt-M (extract managed dependency) does the job for you. 3) You have to go to Settings->File Types and add '.iml;.idea;.iws;.ipr;' to ignored files and folders (at the bottom)

Categories : Maven

Tool for Hibernate queries in IntelliJ IDEA
Good news for you. :) IntelliJ Idea provides Hibernate Console [1] out-of-the-box. [1] http://www.jetbrains.com/idea/webhelp/using-hibernate-console.html

Categories : Database

Debugging a grails application with intellij IDEA 12.1.4
This could be being caused by forked tomcat execution settings in your BuildConfig.groovy file. I think what happens is that Intellij gets confused about which Java process to attach to when Grails spins up. You could try disabling execution forking by replacing the grails.project.fork settings with: grails.project.fork = [ test: false, run: false, war: false, console: false ]

Categories : Debugging

Error in intelliJ IDEA Hello World program
Your package is main.java, you pass the argument com.intellij.rt.execution.application.AppMain java.start, and you exception says that that can not found java.start. And this is correct. Try to compile it using only console. Leave the IDE for the beginning, invest you time to understand the compiler not how the IDE works.

Categories : Java



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