You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2022/04/07 04:02:00 UTC

[GitHub] [incubator-doris] jackwener commented on a diff in pull request #8875: [improvement](docs): add doc of fe dev in vscode

jackwener commented on code in PR #8875:
URL: https://github.com/apache/incubator-doris/pull/8875#discussion_r844628449


##########
docs/zh-CN/developer-guide/fe-vscode-dev.md:
##########
@@ -0,0 +1,80 @@
+---
+{
+  "title": "FE 开发环境搭建 - Visual Studio Code (VSCode)", 
+  "language": "zh-CN"
+}
+---
+
+<!-- 
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, 
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+# 使用 VSCode 搭建 FE 开发环境
+
+有些开发者是在 开发机/WSL/docker 上搭建 FE 开发环境,但是这样的开发环境不能支持本地开发,有些习惯于使用 VSCode 的开发者可以配置远程开发调试
+
+## 环境准备
+
+* JDK11+ (Java 插件需要 JDK11+) (笔者是在 `home` 目录下建立了一个 lib 目录,分别安装了 [JDK11](https://github.com/adoptium/temurin11-binaries/releases/) 和 JDK8 ,分别用于插件和编译)
+* VSCode
+  + Extension Pack for Java 插件
+  + Remote 插件
+
+## 下载代码编译
+
+1. 从 https://github.com/apache/incubator-doris.git 下载源码到本地
+
+2. 使用 VSCode 打开代码 `/fe` 目录
+
+## 配置 VSCode
+
+在 `.vscode` 目录下创建 `settings.json` 文件, 分别配置

Review Comment:
   > vscode 里不需要配置 远程 ip 端口嘛?
   
   不需要额外配置,在启动参数了加了就够了。vscode有默认配置的。



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org