Skip to content

An Atom package - Selects text between <foo> and </foo> with `⌘->`.

License

Notifications You must be signed in to change notification settings

ikngtty/atom-select-text-between-tags

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

select-text-between-tags

When the cursor [I] is as below,

<span> This is[I] a content. </span>

you type ⌘->, and the selection [~~] is as below.

<span>[ This is a content. ]</span>

It analyzes hierarchical structure and finds immediate parent tags.
So,

<div>
  <span> This is a content in span. </span>
  This is[I] a content in div.
  <span> This is a content in span. </span>
</div>

results in

<div>[
  <span> This is a content in span. </span>
  This is a content in div.
  <span> This is a content in span. </span>
]</div>

Installation

apm install select-text-between-tags

About

An Atom package - Selects text between <foo> and </foo> with `⌘->`.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published