Browse Source

Merge pull request #11030 from HolonProduction/lsp-port

Document `--lsp-port` command line argument
Matthew 1 tháng trước cách đây
mục cha
commit
dd722623c6

+ 4 - 0
tutorials/editor/command_line_tutorial.rst

@@ -68,6 +68,10 @@ given build type.
 +------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------+
 +------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------+
 | ``--debug-server <uri>``                 | |editor| Start the editor debug server (``<protocol>://<host/IP>[:<port>]``, e.g. ``tcp://127.0.0.1:6007``)                                                  |
 | ``--debug-server <uri>``                 | |editor| Start the editor debug server (``<protocol>://<host/IP>[:<port>]``, e.g. ``tcp://127.0.0.1:6007``)                                                  |
 +------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------+
 +------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------+
+| ``--dap-port <port>``                    | |editor| Use the specified port for the GDScript Debug Adapter Protocol. Recommended port range ``[1024, 49151]``.                                           |
++------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------+
+| ``--lsp-port <port>``                    | |editor| Use the specified port for the GDScript Language Server Protocol. Recommended port range ``[1024, 49151]``.                                         |
++------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------+
 | ``--quit``                               | |release| Quit after the first iteration.                                                                                                                    |
 | ``--quit``                               | |release| Quit after the first iteration.                                                                                                                    |
 +------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------+
 +------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------+
 | ``--quit-after``                         | |release| Quit after the given number of iterations. Set to 0 to disable.                                                                                    |
 | ``--quit-after``                         | |release| Quit after the given number of iterations. Set to 0 to disable.                                                                                    |