richrace / Highlight Selected
Licence: mit
Highlights the current word selected when double clicking
Stars: ✭ 244
Programming Languages
javascript
184084 projects - #8 most used programming language
Projects that are alternatives of or similar to Highlight Selected
Prettier Atom
An atom package for the prettier formatter.
Stars: ✭ 750 (+207.38%)
Mutual labels: atom, atom-package
Markdown Themeable Pdf
ARCHIVED. NOT MAINTAINED. Themeable Markdown Converter (Print to PDF, HTML, JPEG or PNG)
Stars: ✭ 130 (-46.72%)
Mutual labels: atom, atom-package
Mighty React Snippets
Crafty React & Redux snippets for Atom Editor
Stars: ✭ 16 (-93.44%)
Mutual labels: atom, atom-package
save-workspace-atom-plugin
If you work with few projects same time this plugin give you the opportunity to change your workspace faster. Save your workspace, all your opened tabs, cursor position, etc. for each task you are working with.
Stars: ✭ 24 (-90.16%)
Mutual labels: atom, atom-package
Git Blame
Plugin for Atom Editor. Toggle git-blame annotations for the current file in the gutter.
Stars: ✭ 96 (-60.66%)
Mutual labels: atom, atom-package
Atom File Types
Specify additional file types for languages.
Stars: ✭ 54 (-77.87%)
Mutual labels: atom, atom-package
Atom Project Manager
Project manager for the Atom editor
Stars: ✭ 519 (+112.7%)
Mutual labels: atom, atom-package
Md Writer
✒️ Make Atom a better Markdown/AsciiDoc editor for writers and bloggers
Stars: ✭ 326 (+33.61%)
Mutual labels: atom, atom-package
Vuejs Snippets
Collection of Vuejs 2.0+ snippets
Stars: ✭ 17 (-93.03%)
Mutual labels: atom, atom-package
Markdown Preview Enhanced
One of the 'BEST' markdown preview extensions for Atom editor!
Stars: ✭ 3,478 (+1325.41%)
Mutual labels: atom, atom-package
Color Indent
Use colors to show in a non intrusive manner different indentation levels.
Stars: ✭ 11 (-95.49%)
Mutual labels: atom, atom-package
coeditor
Yet Another Pair Programming Package for Atom.
Stars: ✭ 27 (-88.93%)
Mutual labels: atom, atom-package
Go Signature Statusbar
Display the signature of the current Go function under the cursor in the status bar of Atom
Stars: ✭ 44 (-81.97%)
Mutual labels: atom, atom-package
Atom Terminal Tab
Simple terminal for the Atom text editor.
Stars: ✭ 134 (-45.08%)
Mutual labels: atom, atom-package
Highlight Selected
Highlight occurrences of a selection within the open editor.
Can be triggered by either double clicking a word, or selecting a word/text with your cursor.
Commands
Command Name | Command Code | Keymap | Description |
---|---|---|---|
Toggle | highlight-selected:toggle |
ctrl+cmd+h | Enables/Disabled this package |
Select all markers | highlight-selected:select-all |
Select all markers |
To set a Keymap for select all open your Keymap
file and add:
'atom-text-editor:not([mini])':
'cmd-*': 'highlight-selected:select-all'
Settings
Setting | Default | Description |
---|---|---|
Only Highlight Whole Words | true | This uses the "Allowed Characters To Select" option with Atom's "Non-word characters" to find word boundaries. |
Hide Highlight On Selected Word | false | When enabled to will not add a box around the selected words. |
Ignore Case | false | Case sensitivity |
Light Theme | false | Different CSS classes get applied (see styling). Should makes it easier to switch between Atom's themes |
Highlight Background | false | Adds a background colours via CSS class (see styling) |
Minimum Length | 2 | How many characters to select before searching for occurrences |
Timeout | 20 | Defers searching for matching strings for X ms |
Highlight In Panes | true | Highlight selection in another panes |
Show In Status Bar | true | Show how many matches there are |
Status Bar String | 'Highlighted: %c | The text to show in the status bar. %c = number of occurrences |
Allowed Characters To Select | '[email protected]%-' | Non Word Characters that are allowed to be selected. This is useful for languages like PHP where variables like $test need to be highlighted |
Show Results On Scroll Bar | false | Show highlight on the scroll bar. Requires Scroll Marker Package (if you enable this setting you will be prompted to install the package) |
Styling
If you want to change any of the styling of the region use the following as a guide:
atom-text-editor .highlights {
// Box
.highlight-selected .region {
border-color: #ddd;
border-radius: 3px;
border-width: 1px;
border-style: solid;
}
// Background (set in settings)
.highlight-selected.background .region {
background-color: rgba(155, 149, 0, 0.6);
}
// Light theme box (set in settings)
.highlight-selected.light-theme .region {
border-color: rgba(255, 128, 64, 0.4);
}
// Light theme background (set in settings)
.highlight-selected.light-theme.background .region {
background-color: rgba(255, 128, 64, 0.2);
}
}
// If you have the Scroll Marker package installed https://atom.io/packages/scroll-marker
// These are the colours that will be shown in the scroller
.highlight-selected-marker-layer.scroll-marker-layer {
.scroll-marker {
background-color: #ffff00;
}
}
.highlight-selected-selected-marker-layer.scroll-marker-layer {
.scroll-marker {
background-color: #f71010;
}
}
Contributing
Please look at the Contributing Guide
Donate
If you want to say thanks by buying me a coffee/beer, that would be awesome! You can do so via Monzo
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].