I have a dev *nix box. For most cases I can just ssh into the box and use emacs to develop. However, as I've started doing more Java work with very large codebases, I've realized IntelliJ IDEA is pretty invaluable.
Problem: I would like to use IntelliJ IDEA on OS X, but work with a project located on some other machine. Is there a way to configure IntelliJ IDEA to do this? (over ssh/mosh/or whatever)
Thanks.
I ended up just using IntelliJ locally and pointing it to a mounted server drive.
I assume that by "project" you actually mean the application that is running on a remote box? In IntelliJ IDEA, there's an option for remote server configuration. It is also possible to edit individual files at remote hosts if that's a requirement.
Related
I have 2 machines to work upon. One is my macbook pro which I prefer for development purpose and another is a remote machine where I do majority of my testing by building the code base and bootstrapping the application.
Is there a way by which I can configure intellij on my mac to point the code base in remote machine so that Intellij can easily identify the project structure and build artefacts there? By this way I am assuming that intellij will not build the code base locally, rather it will just index already build files and help me in modifying the code base.
IntelliJ IDEA has no support for that at the moment.
Try to install a plugin. Idea could not connect to the repo. I looked through other questions like this, tried to turn off an antivirus software and a firewall, checked IPv4 option in the vm config (it's set to true). Any other ideas, please?
Idea is installed on a Win 10, through a ToolBox.
The problem was in the path - installation root of Intellij contained Russian (non-ASCII) characters. I moved all the JetBrains tools to c:/ and this solved the issue. This can be done via the ToolBox functionality.
I am JavaScript developer, and currently working on project where Tomcat server is used.
I am familiar with IntelliJ idea but recently read about another JetBrains product specially for web-development - WebStorm. I've found some cool features in WebStorm(especially related to AngularJS autocompletion) but it seems that there is no Tomcat server support and I have to build server side of project into *.war-file and run it manually through terminal each time.
So is there any Tomcat/Java support in WebStorm?
(Or I should continue to use IntelliJ idea and forget about WebStorm and its cool functionality =) )
You can do one thing.
First start your apache tomcat server with startup.bat/startup.sh. (Suppose your project directory name is "AngularJSTest" in WebStorm.)
Right click on that > Refactor > Move .
Give the path to webapps directory of Apache tomcat.
So from now on whatever changes you make in the project from WebStorm, it will get reflected in the webapps directory. You can access it from the link http://localhost:8080/AngularJSTest/yourHtml.html.
I would like to run PHPUnit tests on the development server as opposed to my desktop.
Using PHPStorm Run debug configuration I have created new PHPUnit on Server configuration.
However when I try to run it, PHPStorm does not seem to be able to see the XML configuration file. The path to the XML configuration file is on the local desktop, so it makes sense that PHPStorm runner would not be able to find the file on the server. However PHPStorm does not allow me to supply the path on the server.
P.S. I was able to run tests manually on the server and on my local desktop. In this question I am trying to figure out how to run the tests on the server directly from PHPStorm.
P.P.S. Could this be a bug in PHPStorm? if yes, then I'll submit it.
So far this seems to be an issue in PHPStorm. I have filed the issue here: http://youtrack.jetbrains.net/issue/WI-9369
I am a newbie to IntelliJ IDEA. I was trying to deploy a web app in Tomcat.
It failed to deploy and i was not able to see any errors in the log console.
After much searching, I was able to find out the log files at
~/Library/Caches/IntelliJIdea10/tomcat/_p1/logs/ folder.
There were a bunch of log files here and one of the files contained the error. I then could solve the issue and proceed.
I was a user of eclipse and this error would have come directly in the log console in eclipse. However this is not the case in IntelliJ IDEA. Can somebody please explain what I am missing here?
Also, it would be nice if somebody could point out how the integration with Tomcat is done in IDEA (for better understanding). Note: I am using IntelliJ IDEA 10.5.2 Ultimate edition on Mac OS 10.6.8.
IntelliJ IDEA instructs Tomcat to use temporary directory as CATALINA_BASE where it places context configuration with the Artifact path from your project settings, it doesn't copy your web application into webapps directory.
In the Tomcat Run/Debug configuration there is Logs tab where you can specify custom logs to show in IDEA console, it should work out of the box, but probably you have customized logging in Tomcat configuration or in the application itself. Or maybe Tomcat 7 logging configuration is different and doesn't work with IDEA in which case you should submit a bug.
Here's some info for Windows users....if you check the boxes for 'Show console when stdout/stderr change', you may find that the Output tab does not show up even if stdout/stderr change.
For me, this was due to directory structure for the project containing spaces.
When I renamed the directory structure so that it did not contain spaces the Output tab showed up.
Found solution here: Cannot deploy project to tomcat inside intellij IDEA 14. Applications Context was incorrect.
Run/Debug Configurations -> Deployment tab -> Applications Context