elementary / elementary/code

Symbols outline should be enabled for project with a TAGS file

未关闭
#1,643 7 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Vala
星标
521
派生
118
平均合并
1 天 8 小时
30 天内合并 PR
14

描述

### Problem

I currently maintain a bunch of CoffeeScript codebases, all of them with Ctags-compatible files. To my surprise, looks like Code [only enables the Symbols Outline for a select number of languages](https://github.com/elementary/code/blob/03e1d8b2650bae7f80b2baf7d32947d4afec55ea/src/Services/Document.vala#L1232).

### Proposal

Check for a TAGS/tags file in the current project directory, and if it exists then attach the Symbols Outline.

### Prior Art (Optional)

_No response_

贡献指南

打开贡献指南

调研方向

从 src/Services/Document.vala 大约第 1232 行开始,这里会选择 Symbols Outline 的语言支持。检查如何检查当前项目目录以查找 TAGS 或 tags 文件,然后验证包含其中一个文件的项目会为 CoffeeScript 提供 Symbols Outline;当任一文件存在时大纲都会被附加,即表示完成。

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

评估

技术栈
coffeescript
领域
tooling
Issue 类型
功能
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 发到你的邮箱

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