The last argument of the method is not highlighted
还没有人认领这个 Issue。
评估
调研方向
在 Emacs 30.0.50 下使用提供的 Foo 示例复现 php-mode v1.24.3 中的高亮问题。跟踪处理方法参数的 PHP 语法或 font-lock 入口点,并将 DateTime 的高亮与返回类型进行比较。当最后一个参数类型与声明的其余部分保持一致的高亮,并且在有相关现有检查的情况下完成更新时,即视为完成。
由索引模型根据 Issue 内容生成。
描述
About
- The highlighting of the last argument of the method is something wrong
class Foo
{
// 'DateTime' is not highlighting
public function test(DateTime $a): array
{
return [$a];
}
}
Screenshot
versions
(php-mode-version)
"PHP Mode v1.24.3-non-vcs"
(emacs-version)
"GNU Emacs 30.0.50 (build 1, x86_64-apple-darwin22.4.0, NS appkit-2299.50 Version 13.3.1 (Build 22E261))
of 2023-04-26"
- 主要语言
- Emacs Lisp
- 星标
- 602
- 派生
- 117
- 平均合并
- 12 小时 54 分钟
- 30 天内合并 PR
- 3
环境准备
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
emacs-php/php-mode 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 45/100
-
难度 3/5 1-2 天 新手友好度 45/100
-
难度 3/5 1-2 天 新手友好度 35/100
-
难度 4/5 3-5 天 新手友好度 20/100
-
难度 3/5 1-2 天 新手友好度 45/100
查看 emacs-php/php-mode 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
-
难度 2/5 1-3 小时 新手友好度 78/100
objectionary/eolang.sty#167 ·
-
namespace operations
难度 1/5 1 小时以内 新手友好度 72/100
EclipseFdn/open-vsx.org#13545 ·
维护者通常 1 天内回复
-
agent-research-finding agent-research-recommend chore ready-for-agent
难度 2/5 1-3 小时 新手友好度 85/100
jordansmall/spindrift#4068 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
redhat-developer/intellij-quarkus#1626 ·