English 中文(简体)
英特尔利J指挥线
原标题:command line IntelliJ on Mac OS X

I m trying to launch IntelliJ on command line in Mac OS X to use it s diff tool. Theoretically idea.sh diff file1 file2 should work. In practice there are some issues with the file which I think I worked around (removing some arguments to readlink etc).
However when it does start, it wants me to enter license information (even though an instance of Intellij is already running and the license is there). Which leads me to believe that there is some sort of separation of command line world vs non-command line world on Mac OS X? IS that true?
Also when I select 30 days eval it proceeds to give me the following exception:

java.lang.IllegalArgumentException: Argument 0 for @NotNull parameter of com/intellij/openapi/fileEditor/impl/FileEditorProviderManagerImpl.getProviders must not be null
    at com.intellij.openapi.fileEditor.impl.FileEditorProviderManagerImpl.getProviders(FileEditorProviderManagerImpl.java)
    at com.intellij.openapi.diff.impl.highlighting.EditorPlaceHolder.setContent(EditorPlaceHolder.java:73)
    at com.intellij.openapi.diff.impl.highlighting.DiffPanelState$1.run(DiffPanelState.java:38)
    at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:864)
...
最佳回答

http://www.un.org/Depts/DGACM/index_chinese.htm

另一个选择是建立指挥线发射器:创建指挥线发射器的工具。

如果你使用Tool Box,它为自动创建指挥发射器提供了途径。

问题回答

英特尔利耶大学可以安装一个指挥线发射器,在太平洋海岸警卫队的名录中添加这一装置,使其成为该系统上的任何其他指挥系统。 指挥是“理想”。

“IntelliJ突击队-line发射器”/

Try:

www.un.org/Depts/DGACM/index_spanish.htm 工具和软件; 建立指挥发射器

This will create a command line launcher. After that you can launch IntelliJ from your desired folder like with a command like this :

idea .

idea <path to the folder>

First step, you ll follow and click the menu, Tools > Create Commandline Launcher you ll run this command on what you want open project s directory.

idea .

If you have the toolbox installed, this is now controlled using the Toolbox App Settings.

First enable using the (global) toolbox app settings:

“entertext/>

Now, you can enable at the IDE level (here using Intellij):

“entergraph

理想的道路是完全合格的,因此我写了一幅小型助手的书。 Invoke喜欢:

$ idiff foo.txt bar.txt

<代码>idiff:

#!/bin/bash
idea= /Applications/IntelliJ IDEA 10.app/Contents/MacOS/idea 
left=`abspath $1`
right=`abspath $2`
"$idea" diff $left $right

也许有真正的<条码>。 某些地方的工具,但我有一个简单的手动:

$ cat `which abspath`
#!/bin/bash
ORIG_DIR=`pwd`
for fn in $* ; do 
  if [ -e $fn ]; then
    d=`dirname $fn`
    if [ -z $d ]; then 
      echo `pwd`/$fn
    else
      cd $d
      echo `pwd`"/"`basename $fn`
    fi
  else
    echo "Don t know how to process $fn" 1>&2
    exit 1
  fi
  cd $ORIG_DIR
done

2023年对英特尔利J新版本的测试: -

加入:

alias idea="/Applications/IntelliJ IDEA.app/Contents/MacOS/idea"

首先,你们必须制作打字稿,以开放国际民主和选举援助学会,在工具箱上的最新版本。

Toolbox App > Configuration > Settings > Generate shell script > export to a folder like /User/asilva/IDEs

然后,您可称之为<代码>/User/asilva/IDEs/idea 或

但是,如果你想说它没有绝对的道路,那么,它就必须在机场开关时,把它装上每当装上:

~/.zshrc

(...)

# idea + webstorm
export PATH="/Users/asilva/IDEs:$PATH"

www.un.org/chinese/sc/presidency.asp 指挥系统将在全球范围内提供

在PHPStorm一案中,你需要做同样的事——。 工具和软件; 创建导线发射器,但终端内应使用pstorm





相关问题
2 mysql instances in MAC

i recently switched to mac. first and foremost i installed xampp. then for django-python-mysql connectivity, i "somehow" ended up installing a seperate MySQL. now the seperate mysql installation is ...

Iterating over string/strlen with umlauted characters

This is a follow-up to my previous question . I succeeded in implementing the algorithm for checking umlauted characters. The next problem comes from iterating over all characters in a string. I do ...

Controlling OSX windows

I m trying to control windows of a foreign OSX applications from my application. I d like to 1. move the windows on the screen 2. resize the windows on the screen 3. change the currently active window ...

Switching J2SE versions on Mac OS (SnowLeopard)

My current JDK on Mac OS (10.6) is set to 1.6 and I d like to switch to 1.5. A listing of /System/Library/Frameworks/JavaVM.framework/Versions/ shows: lrwxr-xr-x 1 root wheel 10 Nov 3 18:34 ...

Scrolling inside Vim in Mac s Terminal

I ve been googling around trying to figure out if it s possible to use my mouse wheel to scroll while inside Vim in Mac s Terminal, with no luck. It seems as if only X11 or iTerm support this. Before ...

export to MP3 from quicktime API

A question for Apple,QT programmers. Would like to know if it s possible to export a Movie object to MP3 using the QuickTime API. Preferably the ConvertMovieToFile function. I ve looked at ...