Skip to content

Commit

Permalink
add docs for new :ProjectRun support
Browse files Browse the repository at this point in the history
refs #354
  • Loading branch information
ervandew committed Dec 14, 2014
1 parent 9350eff commit 750270b
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 7 deletions.
41 changes: 35 additions & 6 deletions doc/content/vim/core/project.rst
Expand Up @@ -176,12 +176,6 @@ Vim's command line completion to complete the project name.

Refreshes all projects.

.. _\:ProjectBuild:

- **:ProjectBuild** [<project>]

Builds the current or supplied project.

.. _\:ProjectInfo:

- **:ProjectInfo** [<project>]
Expand Down Expand Up @@ -285,6 +279,41 @@ Vim's command line completion to complete the project name.
:ProjectBuild, but only if the quickfix list currently represents a
problems list.

.. _\:ProjectBuild:

- **:ProjectBuild** [<project>]

Builds the current or supplied project.

.. _\:ProjectRun:

- **:ProjectRun** [<launch_config_name>]

Runs an eclipse launch configuration. When no launch configuration name is
supplied, the first available launch configuration will be used.

Before you can run this command, you must first start vim with the
``--servername`` argument (eclimd currently sends the process stdout and
stderr to vim using vim's remote invocation support):

::

$ vim --servername run ...

When your launch configuration is executed, a temporary buffer will be opened
in vim to display any output. When you close this window the launch
configuration process will be terminated. You can also terminate the process
from within the temporary output buffer by running the ``:Terminate`` command
(only available from that window). Also note that if you close vim, any
running launch configurations will be terminated.

.. _\:ProjectRunList:

- **:ProjectRunList**

Print a list of available eclipse launch configurations for the current
project.

.. _\:ProjectCD:

- **:ProjectCD**
Expand Down
2 changes: 1 addition & 1 deletion doc/content/vim/java/debug.rst
Expand Up @@ -30,7 +30,7 @@ Before starting a debug session from vim you first need to do a couple things:
$ java -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=1044 \
-classpath ./bin org.eclim.test.debug.Main

2. Start vim with the --servername argument (eclimd currently sends debugger
2. Start vim with the ``--servername`` argument (eclimd currently sends debugger
updates to vim using vim's remote invocation support):

::
Expand Down

0 comments on commit 750270b

Please sign in to comment.