如何跳过自动生成的结束页面< / tag>在我的IDE中,没有将我的手从键盘上拿开(或使用箭头键)? [英] How do I skip past an automatically generated end </tag> in my IDE without lifting my hands off the keyboard (or using arrow keys)?

查看:202
本文介绍了如何跳过自动生成的结束页面< / tag>在我的IDE中,没有将我的手从键盘上拿开(或使用箭头键)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

 *的意思是这是光标所在的位置。 
**表示这是我们希望光标能够跳转到

现在假设您或我需要编写一些代码,可以说我们并不是真的认为这很难,甚至可能抄袭别人的代码。我们很耐心,但匆忙。好的,所以你写这个... ...

 < div class =subject show> 
#ok,>和是预先生成的,但我不需要跳过,下一行
< h2> title *< / h2> **

,我们立即遇到问题。是的,我的IDE自动为我的h2标签生成了结束标记,这真是太棒了,但是当我完成定义后,我该如何跳过括号?

< h2> Show Subject *< / h2> ** 

如果我的光标是单个星号的位置,我该如何自动跳到有两个星号的地方? 甚至会被称为?这实际上是我在这里的问题。我假设答案会非常简短。这里再举几个例子来说明这一点。



继续使用同一个html.erb文件...

 < table summary =主题明细视图> 
< tr>
< th>名称*< / th> **
< / tr>
< / table>
< / div>

所以在这里,我使用的IDE(RubyMine,Aptana)与其他大多数其他编辑器)表现非常出色,可以自动生成结束标签,我只需要稍后再做出更改。完成输入名称后,我遇到了下一个障碍。再次,我被困在*,但想跳到**没有太多的干扰。



现在我想我已经说明了我的观点。我喜欢这个社区,并且知道你们中的一些人知道如何解决这个问题。描述我们甚至在这里做什么,这本身就是一个挑战!我会称之为跳过自动生成的结束标记,但谷歌并不赞同这个查询。

解决方案

p>尝试按End键,这将跳到行尾。



来源:
http://en.wikipedia.org/wiki/Table_of_keyboard_shortcuts


OK, lets just do a case in point, but before that, a simple key.

"*" means "this is where the cursor is".
"**" means "this is where we'd like the cursor to be able to 'jump' to"

Now assume you or I need to write some code, lets say we're not really even thinking that hard and might even be copying down someone else's code. We're patient, but in a hurry. OK, so you're writing this...

<div class="subject show"> 
#ok, the ">" and "" were pregenerated, but I didn't need to skip, next line
<h2>title*</h2>**

and immediately we meet the issue. Yes, it is great that my IDE automatically generated the end tag for my h2 tag, but when I get finished defining it, how do I skip outside of the bracket?

<h2>Show Subject*</h2>**

If my cursor were where that single asterisk is, how might I auto-skip to the place where two asterisks are? What would that even be called? That is essentially my question here. I assume the answer will be very short and simple. Here a couple more examples to pound the point in.

Continuing on in the same html.erb file...

  <table summary="Subject detail view">
    <tr>
      <th>Name*</th>**
    </tr>
  </table>
</div>

So here, my IDE (RubyMine, Aptana which I also use does similar stuff, as do most other editors) performs beautifully, automatically generating end tags which I will only need to move beyond later on. I run into the next snag after finishing typing "Name". Again, I'm stuck at * but want to jump to ** without too much disruption.

By now I think I've made my point. I love this community and know some of you know how to get around this. It's a challenge itself just to describe what it is we're even doing here! I'd call it "jumping over the automatically generated end tag", but Google is not sympathetic to this query as of yet.

解决方案

Try pressing the End key, That will skip to the end of the line.

Sources: http://en.wikipedia.org/wiki/Table_of_keyboard_shortcuts

这篇关于如何跳过自动生成的结束页面&lt; / tag&gt;在我的IDE中,没有将我的手从键盘上拿开(或使用箭头键)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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