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?
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?
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":
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.
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.
(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.
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'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.
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.
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.
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)