Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Unable to see any SFDX commands from Command Palette

未关闭
#265 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
25/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
停滞
技术栈
java, node.js
领域
cli, devtools

调研方向

首先,在空工作区中使用 Command Palette,重新复现 Code Builder 中缺失的 SFDX 命令。检查 Java Home 设置、sf 和 java 的路径,以及报告的版本,并将它们与命令的可用性进行对照;当“Create Project with Manifest”等 SFDX 命令再次出现时,即表示完成。

由索引模型根据 Issue 内容生成。

描述

Good Day,

Starting this Morning (Pacific Time), our teams (located all across the US) are unable to access any SFDX commands from the command palette in Code Builder.

To Reproduce:

Open Code Builder
Close any forlder you may have open, to start from scratch
Open command palette and type "SFDX: Create Project with Manifest" (or just SFDX to see the available options)

We are expecting to see the available SFDX options, whereas nothing is found.

Java is installed properly, and it is in the $PATH
sf/Node is installed correctly in $HOME/.sf/bin/ and contained in the $PATH

Both commands above are available from the console.

codebuilder@ip-10-139-21-xx:~$ which java
/usr/bin/java

codebuilder@ip-10-139-21-xx:~$ which sf
/home/codebuilder/.sf/bin/sf

codebuilder@ip-10-139-21-xx:~$ java --version
openjdk 21.0.8 2025-07-15
OpenJDK Runtime Environment (build 21.0.8+9-Ubuntu-0ubuntu122.04.1)
OpenJDK 64-Bit Server VM (build 21.0.8+9-Ubuntu-0ubuntu122.04.1, mixed mode, sharing)

codebuilder@ip-10-139-21-xx:~$ sf version
@salesforce/cli/2.107.6 linux-x64 node-v22.19.0

codebuilder@ip-10-139-21-xx9:~$ echo $PATH
/usr/lib/code-server/lib/vscode/bin/remote-cli:/home/codebuilder/.asdf/shims:/home/codebuilder/.asdf/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/codebuilder/.npm-packages/bin:/home/codebuilder/.local/bin:/usr/local/lib/nodejs/bin:/home/codebuilder/.sf/bin:/home/codebuilder/.sfdx/bin

Code Builder Setting's Java : Home Path is correctly pointing to /usr/lib/jvm/java-21-openjdk-amd64

Thanks,
Julio.

主要语言
没有语言数据
星标
36
派生
2
PR 合并指标
30 天内没有已合并 PR

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

forcedotcom/code-builder-feedback 的其他 Issue

查看 forcedotcom/code-builder-feedback 的全部 Issue

相似的 Issue

更多 CLI Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。