你如何使用凯特?提示/技巧/工作流程

发布于 2024-09-02 10:51:36 字数 375 浏览 8 评论 0原文

我们都看过一堆这样的吗?主要用于 IDE,但也用于 vim 和 emacs。

Kate(只是)一个文本编辑器(一个很棒的编辑器),但它有大量的选项和许多插件,所以很难完全了解它。 如何使用Kate文本编辑器?请分享您的工作流程并帮助我和其他人学习您使用的一些很酷的技巧。

我将开始使用内置终端快速打开文件,并将其用作 ghci 的增强型 haskell repl(因为 ghci 不允许您只输入各种 haskell 代码)。还可以使用拆分视图来快速比较文件(尤其是同一文件的不同版本)。此外,自动完成功能可能很简单(更多地用于节省打字时间然后记住功能),但它对此非常有效。另外,如果您突出显示某些内容并点击开始 [/{/( ,它会将其放在括号之间,而不是用括号替换它(为什么很多 IDE 没有此功能)。

We all seen a bunch of these? Mostly for IDE's but also for vim and emacs.

Kate is (only) a text editor (an awesome one) but it has a ton of options plus a number of plugins, so its hard to know all of it well.
How do use the Kate text editor? Please share your workflow and help me and others learn some of the cool tricks you use.

I'll start I use the built in terminal a lot opening files quickly, and using it as an enhanced haskell repl with ghci (since ghci doesn't allow you all to just put in all kinds of haskell code). Also use split views to quickly compare files (especially different versions of the same file). Also the auto-complete maybe simple(more use for saving typing time then remembering functions) but it works really well for that. Also if You highlight something and hit a start [/{/( it puts it in between brackets rather then replacing it with a bracket(why the hell do a lot of IDEs not have this feature).

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

狂之美人 2024-09-09 10:51:36

我始终保持文本编辑器、文件浏览器和 shell 窗格可见。所以我可以处理多个文件并从命令行快速使用我的 make/gcc

I keep my text editor, file browser and shell panes visible at all times. So I can work with multiple files and use my make/gcc from command line quickly

回梦 2024-09-09 10:51:36

对于这个问题,合适的答案实际上只是一个风格指南。

例如,如果我要使用 Kate,我会首先设置一个漂亮的深色配色方案,并将 Droid Mono 作为编辑器的主要字体。糟糕的是凯特没有预先制定的配色方案。 (这是一个相当简单的功能。)

我真的无法找到一个可以找到有关可用插件的信息的地方。很难以这种方式推荐任何东西。如果您可以获得您使用的版本控制系统的插件,那就太好了。 (我发现此功能在 NetBeans 等 IDE 中非常有用。)

我非常确定 Vi 输入模式对我们中的一些人可能很有用。 (即使我不明白为什么有人会使用 Kate 而不是 gVim。)

我正在阅读每日提示。它说您可以

  • 将语法突出显示的代码导出到 HTML
  • 使用“命令行”使用类似 sed 的替换表达式

。我能想到的技巧。

Well for this question a fitting answer is really just a stylistic guide.

For example, if I would use Kate I would start with setting up a nice dark color scheme and Droid Mono as the main font of the editor. So bad that there're no pre-made color schemes in Kate. (This is quite a no-brainer feature.)

I wasn't really able to find a place where you can find information about the available plugins. It's quite hard to recommend anything this way. If you could get plugins for the version control systems you use it would be nice. (I find this feature quite useful in IDEs like NetBeans.)

I'm quite sure that the Vi input mode could be useful to some of us. (Even if I don't understand why would anyone use Kate instead of gVim for example.)

I'm reading the tip of the day. It says that you can

  • export the syntax-highlighted code to HTML
  • use sed-like replace expressions using the "Command Line"

That was all the tips & tricks I was able to think of.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文