Quantcast
Viewing all 5661 articles
Browse latest View live

Is it possible to put CSS file to a library?

Hi, We use IDEA 14. We have tens of HTML files in the project. All these files uses same JS and CSS files. So we decided to remove them from the HEAD section and generate HEAD section on the server (and minify the files). But then we lost the code completion in HTML. The editor doesn't offer CSS classes when typing. Is it possible to put our CSS files to a library to be known for code completion while editing HTML files? Or do you have an idea how to solve it?

Thanks.


Performance is getting worse?!

I keep hearing this from colleagues as well:

Recent IDEA versions have become more sluggish.

 

It is hard to pin down to something specific, but

* typing sometimes lags

* inspections take too long to finish (IDEA gives me the eye for much too long in the upper right corner)

* Indexing takes too long (for example switch between branches, wait for IDEA to reindex all changed versions)

 

Personally I feel version 10 had fantastic performance and after that it went slightly downhill with each release.

 

How do others feel about this?

 

Does it make sense to file several issues each with a single not-dramatically-but-annoyingly-slow use case?

I think what would be needed would be a focused effort to improve performance!

Importing multiple projects from SVN into Intellij IDEA as modules?

My employer primarily uses Eclipse for development, but I have chosen to try and use IntelliJ IDEA, as I have purchased my own license. I am still learning quite a bit about IntelliJ, but I am fairly familiar with many of the basic tasks.

 

One thing I can't seem to wrap my head around is how I'm going to be able to do development work on their main product, as I don't know how it will be laid out in my workspace (to borrow a term from Eclipse). The problem is as follows:

 

- Main project is a GWT web application that has its own top-level Eclipse project. It is a vanilla install of the webapp. This can be built, tested, and deployed on its own by using various ant targets.

- Multiple client-specific extensions exist that are themselves top-level Eclipse projects, but cannot be built by themselves. They must exist in their own project folder alongside the base product. An ant build.xml file exists in the expansion pack folder that assumes the existence of the base project, and makes various calls to the base project's ant tasks as needed.

 

Right now, if I want to do any development on the product using IntelliJ, I seem to only be able to import the base product from SVN. There is no option for "New module from version control", so I cannot also check out the expansion pack I need to work on.

 

Will it be possible to use IntelliJ for working on this project, or will I be stuck using Eclipse?

Creating new Groovy library

How can I create a new Groovy library?

 

In Project Structure > Global Libraries, the + button only allows creating a Java library or one From Maven...

 

Shouldn't I be able to create any type of library from there?

 

Also, why a Global Libraries in Project Structure instead of Preferences?  The current setup make no sense to me.

IDEA for Spark/Scala development

Hi everyne!

 

i plan to start development with Spark/Scala.

i installed all scala plugins and it all now perfectly works.

 

But i don't know how to start wotjing woth spark (how to import libraries or stuff like that...)

 

any advice are appresiated!

Scala plugin doesn't works

Spring MVC & Thymeleaf

I'm using IntelliJ (latest stable) on some Spring MVC project with Thymeleaf as template engine. Everything works fine until i changed my configuration from XML files to annotations. Configuration is same, nothing changed. Specifically resolving views not working anymore.

 

Configuration:

 

@EnableWebMvc
@Configurationpublicclass Config extends WebMvcConfigurationSupport {     @Autowired    public SpringTemplateEngine templateEngine;     @Bean    @Override    public ViewResolver mvcViewResolver() {        ThymeleafViewResolver viewResolver = new ThymeleafViewResolver();        viewResolver.setTemplateEngine(templateEngine);        return viewResolver;    }     @Bean    public ITemplateResolver templateResolver() {        ServletContextTemplateResolver templateResolver = new ServletContextTemplateResolver();        templateResolver.setPrefix("/WEB-INF/templates/");        templateResolver.setSuffix(".html");        templateResolver.setTemplateMode("HTML5");        templateResolver.setCharacterEncoding("UTF-8");        templateResolver.setCacheable(false);        return templateResolver;    }     @Bean    public SpringTemplateEngine templateEngine(ITemplateResolver templateResolver) {        SpringTemplateEngine templateEngine = new SpringTemplateEngine();        templateEngine.setTemplateResolver(templateResolver);        templateEngine.setMessageSource(messageSource());        templateEngine.addDialect(new LayoutDialect());        return templateEngine;    }}     

 

In result of this - navigation between views not working but shows error messages instead "no view resolvers found":

Image may be NSFW.
Clik here to view.
1.png

 

And also (the really annoying part) - variable validation and completion not working for views:

 

Image may be NSFW.
Clik here to view.
1.png

 

Spring context is defined as:

 

Image may be NSFW.
Clik here to view.
Bez názvu.png

 

There is no support for this case or i'm doing something wrong?

No 14.1.4 update, no release notes?

I've just been prompted to update to 14.1.4, but I'm not seeing an in-place update or link to the release notes? I keep IDEA configured to milestone releases, but I do have the previous milestone installed - do the in-place updates and release notes only get displayed for the unstable update branch? This is on CentOS 6, but I've experienced similar on my macbook.

 

These take you to the jetbrains.com product page:

 

Image may be NSFW.
Clik here to view.
ij_update.png

Image may be NSFW.
Clik here to view.
ij_update_settings.png


Linking Intellij to Eclipse project and configuring

I would like to know if there's a place where I can see step by step this configuration part?

 

My work uses eclipse and all the projects must be delivered in that format, so I can only link it to a separate folder and edit, since I can't create the intellij folders and files at the main project. I already can link and edit, but there's no way for me to launch the application at Intellij, it requires a lot of dependencies and configurations that I don't know how to make at it.

 

Can someone help me? It's an Web application using JSF, JPA, and these kinds of things. I think I got the dependencies right with the auto detection, but can't launch the server well (Tomcat).

 

Again, my main objective is to open, edit and test my Eclipse JSF project at Intellij, only changing the files at the main one, without the .iml, .idea and others things the intellij creates. Thank you.

Working with multiple git roots

Our project has about 4 separate git roots.

(At least that's what most developers work with. There are additional related projects like different clients, so that some developers work with 6 or more git roots.)

 

Currently IDEA support for this is too limited imho:

The point of view is still on individual git roots.

Only if all git roots are currently on the same branch (as determined by branch name), then you get the chance of operating on all git roots at the same time.

 

For me this does not really work. Often times I have a branch on only two or three git roots.

 

What would help me is a perspective on git that is centered on branches, i.e. see all branches, the select one branch and see all affected git roots.

Creating a new branch would allow me to select which git roots should get the branch.

 

How do others work with multiple git roots?

Would that help you, too?

Are there plans for native Clojure support in IDEA ?

Are the any plans of native Clojure support ?

 

Cursive plugin is kind of ok, but I would love to see proper and full Clojure support. Like many others I am switching from Java to Clojure and I am constantly yearning for all the wonderful IDEA Java features.

There are no good Clojure IDEs out there, and desperate need for one.

I get an error when I try to reload list of plugins from repo

Query

can not get the related  code after puting a "dot", e.g  after writing a 'Font. ' it doesnt shows any code matches.

AspectJ within Android Studio

Hello to everyone!

 

I'm experimenting with AspectJ plugin for Android development under Gradle build system. Well, I've sucessfully developed and deployed (but not yet published somewhere) gradle compile plugin for Android Studio to build aspects suppling modern popular plugins, such as Android Annotations, Dagger, Retrolambda, etc. At this point I've decided to integrate language highlighting and code assistment into the Studio.

And I found that Ultimate edition supports AspectJ by default, but not community edition (which Android Studio is based on). I've tried to port this plugin under the Studio.

Some success I've got. But not everything works well.

In details:

+ Studio launches and works stable

+ projects properly builds and launches

+ aspects correctly compiles and injects into classes dex

- File roots navBar doesn't work

- Run / Debug / Attach Debugger menu options doesn't work

 

Well, this negatives doesn't brake my work and I can even write aspectJ/Java code as usually, but it looks ugly and makes me feel sad.

Is there any chance or opportunity to make this plugin work for Android Studio? Or maybe some way to buy or obtain it? Image may be NSFW.
Clik here to view.

 

P.S. My gradle plugin: https://github.com/Archinamon/GradleAspectJ-Android
In attachments is how it looks now in editor with modified AspectJ Support plugin from IntelliJ Ultimate edition.

Error Starting Idea 14.1.4

Often when I startup Idea (at least since 14.1.2, I get an error..

 

Usually I click "ok" and try to startup again.. and it usually starts up.. but it is a bit annoying..

 

Image may be NSFW.
Clik here to view.
idea-error.png

 

Any ideas on this?


Cannot use keyboard shortcut to "Compare Next File" or "Compare Previous File" on Mac

I would like to use the keyboard to navigate between modified files using the diff/compare viewer in Intellij IDEA (141.1532). If I hover over the "Compare Next File" and "Compare Previous File" buttons in the diff viewer, I'm led to believe the keyboard shortcuts are CTRL + right arrow and CTRL + left arrow, respectively. However, pressing those key combinations does nothing.

 

I searched Preferences > Keymap for "Compare Next File" and "Compare Previous File" but couldn't find them.

 

I am running Mac OS X 10.10.3 (14D136).

 

Any ideas?

New java templates in the menu

I have several java templates that I use. They used to show up inside the java option, now the show up in the menu.

 

I don't know if this is feature, a bug or some option that I changed.

Syntax highlighting for FeatureSpec Scalatest

Hi,

 

 

While FunSpec gets a bit of syntax coloring for the function "it" there is nothing for highlited in featureSpec. For instance Scenario, Feature, Given When Then. I am wondering if something is not working, if the plugin never intented it, and most importantly, how can i define a syntax highlighting myself if it is possible and not too complicate to do so. I would like to give some color to those key function.

 

 

Please any help,

 

Maatari

HTML5 visual authoring ?

Hi,

 

I am pretty novice in HTML5 and also with IDEA.

 

We have a web application project (HTML5, CCS3, Node.js, java, OrientDB, Tomcat8 ....)

and I am ok with all the server side.

But I can not find any HTML5 visual editor (form editor for example) in IDEA ?

 

Thanks,

 

Bruno.

MalformedURLException: no protocol when "Check for Update" or getting list of plugins in menu.

Full stacktrace of exception in log file

 

2015-06-26 17:33:59,791 [ 391064]   INFO - dvertisement.PluginsAdvertiser - no protocol: URI [scheme=http, userInfo=null, host=plugins.jetbrains.com, port=-1, path=/plugins/list/, queryParams=[build=IU-141.1532], fragment=null]

java.net.MalformedURLException: no protocol: URI [scheme=http, userInfo=null, host=plugins.jetbrains.com, port=-1, path=/plugins/list/, queryParams=[build=IU-141.1532], fragment=null]     at java.net.URL.<init>(URL.java:586)     at java.net.URL.<init>(URL.java:483)     at java.net.URL.<init>(URL.java:432)     at com.intellij.util.net.HttpConfigurable.openConnection(HttpConfigurable.java:375)     at com.intellij.util.io.HttpRequests.openConnection(HttpRequests.java:255)     at com.intellij.util.io.HttpRequests.access$000(HttpRequests.java:52)     at com.intellij.util.io.HttpRequests$1RequestImpl.getConnection(HttpRequests.java:142)     at com.intellij.ide.plugins.RepositoryHelper$1.process(RepositoryHelper.java:129)     at com.intellij.ide.plugins.RepositoryHelper$1.process(RepositoryHelper.java:122)     at com.intellij.util.io.HttpRequests.process(HttpRequests.java:235)     at com.intellij.util.io.RequestBuilder.connect(RequestBuilder.java:121)     at com.intellij.ide.plugins.RepositoryHelper.loadPlugins(RepositoryHelper.java:122)     at com.intellij.ide.plugins.RepositoryHelper.loadPlugins(RepositoryHelper.java:87)     at com.intellij.ide.plugins.RepositoryHelper.loadPlugins(RepositoryHelper.java:76)     at com.intellij.openapi.updateSettings.impl.pluginsAdvertisement.PluginsAdvertiser$4$1.run(PluginsAdvertiser.java:249)     at com.intellij.openapi.application.impl.ApplicationImpl$8.run(ApplicationImpl.java:400)     at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)     at java.util.concurrent.FutureTask.run(FutureTask.java:266)     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)     at java.lang.Thread.run(Thread.java:745)     at org.jetbrains.ide.PooledThreadExecutor$1$1.run(PooledThreadExecutor.java:56)
Viewing all 5661 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>