microsoft/Terminal

Per-profile wordCharacters

Open

#3,078 创建于 2019年10月5日

在 GitHub 查看
 (1 评论) (1 反应) (0 负责人)C++ (3,212 fork)batch import
Area-SettingsHelp WantedIssue-TaskProduct-Terminal

仓库指标

Star
 (35,764 star)
PR 合并指标
 (平均合并 27天 19小时) (30 天内合并 24 个 PR)

描述

Description of the new feature/enhancement

"wordDelimiters" is a global config option rather than a per-profile one, although there's nothing in this option that inherently has to make it a global one.

In gnome-terminal we had quite a lot of debates around which character should be included and which not. The biggest debate was around :. Folks working with URLs or timestamps want colons to be word characters. Folks working with e.g. grep or compiler outputs (such as filename:matching_content or filename:line_number want the colon to be a stop character.

I can easily imagine that some users would prefer to have different profiles with different double click behaviors, depending on the kind of task they're working on.

Could you guys consider moving it to a per-profile option? Although then it's a bit of maintenance burden when someone wants to update the set and has to do for all the profiles. Feel free to close this bug if it was a deliberate choice from you to make it global.

(On a side note, the same question could also be asked for "copyOnSelect" I guess...?? I'm not sure about that, my gut feelings tell me it's better to have an overall consistent experience here, just as you don't want to have different "keybindings" per profile, but again, these are just feelings.)

贡献者指南