Emacs for VS 2005 beta 2 [英] Emacs for VS 2005 beta 2

查看:65
本文介绍了Emacs for VS 2005 beta 2的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我很想让VS代码编辑器恢复Emacs / Epsilon emu模式。

有没有办法做到这一点?显然,2005b2有一个选项

应用以下额外的键盘映射方案和

之一opts是Emacs。这究竟是做什么的?

解决方案

_R写道:

我会很高兴能够为VS代码编辑器获取Emacs / Epsilon emu模式。




我为CodeRush编写了一个插件来实现一些电动
$ b来自Emacs for C#的$ b编辑功能。如果您愿意,请查看:
http:// www.sturmnet.org/blog/cr-electric-editing/

Oliver Sturm

-

omnibus ex nihilo ducendis sufficit unum

插入空格以防止谷歌电子邮件销毁:

MSN oliver @ sturmnet.org Jabber sturm @ amessage.de

ICQ 27142619 http://www.sturmnet.org/blog


On Tue,2005年8月30日03:22:08 -0700,Oliver Sturm

< ol **** @ sturmnet.org>写道:

_ R写道:

我很想让VS代码编辑器恢复Emacs / Epsilon emu模式。



我为CodeRush编写了一个插件,它实现了Emacs for C#的一些电动编辑功能。如果您愿意,请查看:
http:// www.sturmnet.org/blog/cr-electric-editing/

Oliver Sturm




现在认真对待面向编辑的页面!我会花更多的时间仔细观察,特别是当我在VS2005上加速时(只需加载它

并且当我看到这个词时我的希望很高涨''Emacs'')。


你的页面打开了很多关于''最佳编辑'的问题。''

与某人聊天关于MS自己的代码编辑编辑器的不适合性,他们在传递Emacs密钥映射时表示

很糟糕。他们正在谈论这样一个事实:你不需要助记符

提示光标右键,光标左键等。这些将是第一个反射性地发展的

。所以Emacs'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''左手。


这对我来说并没有发生,因为我已经习惯了Emacs。

仍然,我不能想象一下比MS先前的
VS编辑更尴尬的代码编辑器,所以当他们淘汰Epsilon / Brief

仿真时我感到很惊讶。

我认为对我来说最重要的事情是获得一套基本的

反身键击功能,如^ k forkill to

line。当然,在MS的编辑器中尝试重新映射^ k很尴尬,所以我已经b / b
最终在MS映射中苦苦挣扎。


< blockquote> _R写道:

现在这是一个严肃的编辑导向页面!我会更加仔细地观察,特别是当我在VS2005上加速时(只是加载它
并且当我看到'Emacs'这个词时我的希望得到了提升)。


我喜欢这个话题:-)但是有两个不同的东西:最好的文本编辑器页面的任务

只是一般的事情,而电动

编辑项目专门针对VS--对我来说最重要的Emacs之一

功能,仍然缺少标准VS.它基于CodeRush,一个

工具,真的为VS中的代码编辑带来奇迹,而不是像

Emacs本身:-)看看这里,如果你'感兴趣:
http://www.devexpress.com /产品/ NET / Coderush /

你的页面打开了很多关于''最佳编辑'的问题。''
在一段时间内与某人聊天不适合MS自己的代码编辑编辑器,他们在传递Emacs密钥映射时很糟糕。他们正在谈论这样一个事实:你不需要助记符提示光标右键,光标左键等。这些将是第一个反思性地发展的。所以Emacs'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''


我认为没有什么最初是WordStar的。使用传统的vi on

传统的Unix系统键盘使用了类似的比喻,只需使用指针下的光标导航键即可。
$

我认为对我来说最重要的事情是获得一组基本的反复键击功能,如^ k表示杀死到
行的结尾。当然,在MS的编辑器中尝试重新映射^ k很尴尬,所以我最终在MS映射中苦苦挣扎。




好插件的想法,我猜:-)然后,这很容易做到这是一个宏或其他什么 - 只需执行Shift + End的击键,

删除。


无论如何,我的一般意见是,大多数人发现他们最习惯的方法是最舒适的。我有时会努力尝试打破我自己的使用模式,因为我相信'b
是发现新事物的方式。而对于代码编辑,对我来说真的很简单

:自动化,尽可能多。这就是旧的

Emacs C ++模式已经比大多数其他程序员的编辑更好了今天的b $ b。

Oliver Sturm

-

omnibus ex nihilo ducendis sufficit unum

插入空格以防止谷歌电子邮件销毁:

MSN oliver @ sturmnet.org Jabber sturm @ amessage.de

ICQ 27142619 http ://www.sturmnet.org/blog


I''d love to get Emacs/Epsilon emu mode back for the VS code editor.
Is there any way to do this? Apparently 2005b2 has an option for
"Apply the following additional keyboard mapping scheme'' and one of
the opts is Emacs. What does that do exactly?

解决方案

_R wrote:

I''d love to get Emacs/Epsilon emu mode back for the VS code editor.



I have written a plugin for CodeRush that implements some of the electric
editing functionality from Emacs for C#. Have a look if you like:
http://www.sturmnet.org/blog/cr-electric-editing/
Oliver Sturm
--
omnibus ex nihilo ducendis sufficit unum
Spaces inserted to prevent google email destruction:
MSN oliver @ sturmnet.org Jabber sturm @ amessage.de
ICQ 27142619 http://www.sturmnet.org/blog


On Tue, 30 Aug 2005 03:22:08 -0700, "Oliver Sturm"
<ol****@sturmnet.org> wrote:

_R wrote:

I''d love to get Emacs/Epsilon emu mode back for the VS code editor.



I have written a plugin for CodeRush that implements some of the electric
editing functionality from Emacs for C#. Have a look if you like:
http://www.sturmnet.org/blog/cr-electric-editing/
Oliver Sturm



Now that''s a serious editor-oriented page! I''ll be taking a much
closer look, especially as I get up to speed on VS2005 (just loaded it
and got my hopes up when I saw the word ''Emacs'').

Your page opens up a lot of questions about ''Best Editor.'' In
chatting with someone a while back about the unsuitability of MS''s own
editor for code editing, they said in passing "Emacs'' key mapping
sucks." They were talking about the fact that you don''t need mnemonic
prompts for cursor-right, cursor-left, etc. Those will be the first
to develop reflexively. So Emacs'' ^f for ''Forward'' is essentially a
step back from the old WordStar commands that were ''compass-mapped''
and directly under the left hand.

This hadn''t occurred to me because I''m so accustomed to Emacs already.
Still, I can''t imagine a more awkward code editor than MS''s previous
VS editors, so I was astonished when they eliminated Epsilon/Brief
emulations.

I think the most important things to me are getting a base set of
reflexive keystrokes back and functioning, like ^k for "kill to end of
line." Awkward to try to remap ^k in MS''s editor of course, so I''ve
ended up struggling with the MS mapping.


_R wrote:

Now that''s a serious editor-oriented page! I''ll be taking a much
closer look, especially as I get up to speed on VS2005 (just loaded it
and got my hopes up when I saw the word ''Emacs'').
I like the topic :-) But there are two different things there: the quest
for the best text editor page is just a general thing, while the electric
editing project is specifically for VS - one of the most Emacs important
features for me, still missing from standard VS. It''s based on CodeRush, a
tool that really does wonders for code editing in VS, without being like
Emacs by itself :-) Look here if you''re interested:
http://www.devexpress.com/Products/NET/Coderush/
Your page opens up a lot of questions about ''Best Editor.'' In
chatting with someone a while back about the unsuitability of MS''s own
editor for code editing, they said in passing "Emacs'' key mapping
sucks." They were talking about the fact that you don''t need mnemonic
prompts for cursor-right, cursor-left, etc. Those will be the first
to develop reflexively. So Emacs'' ^f for ''Forward'' is essentially a
step back from the old WordStar commands that were ''compass-mapped''
and directly under the left hand.
Nothing originally WordStar about that, I think. Using traditional vi on
traditional Unix system keyboards worked with a similar metaphor, just by
using the keys for cursor navigation that were under the fingers anyway.
I think the most important things to me are getting a base set of
reflexive keystrokes back and functioning, like ^k for "kill to end of
line." Awkward to try to remap ^k in MS''s editor of course, so I''ve
ended up struggling with the MS mapping.



Good idea for the plugin, I guess :-) But then, it would be easy to do
this as a macro or whatever - simply execute the keystrokes for Shift+End,
Delete.

Anyway, my general opinion is that most people find the approaches most
comfortable that they are most accustomed to. I sometimes make the effort
to try and break out of my own usage patterns, because I believe that''s
the way to discover new things. And for code editing, it''s really simple
for me: automation, as much as possible. That''s something that the old
Emacs C++ mode was already better at than most other programmers'' editors
are today.
Oliver Sturm
--
omnibus ex nihilo ducendis sufficit unum
Spaces inserted to prevent google email destruction:
MSN oliver @ sturmnet.org Jabber sturm @ amessage.de
ICQ 27142619 http://www.sturmnet.org/blog


这篇关于Emacs for VS 2005 beta 2的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆